can't build latest master
Christian Ambach
ambi at samba.org
Thu Jun 20 06:47:45 MDT 2013
On 06/20/2013 02:13 PM, steve wrote:
>>>> [ 628/3837] Compiling lib/util/genrand.c
>>>> In file included from ../source4/../lib/crypto/crypto.h:22:0,
>>>> from ../lib/util/genrand.c:24:
>>>> ../source4/../lib/crypto/md5.h:31:3: error: expected ‘;’, identifier or
>>>> ‘(’ before ‘struct’
>>>> Waf: Leaving directory `/home/steve/samba-master/bin'
>>>> Build failed: -> task failed (err #1):
>>>> {task: cc genrand.c -> genrand_1.o}
>>>> make: *** [all] Error 1
>>>
>>> What's your platform?
>>
>> And has configure been re-run?
>>
>
> Hi
> No. This is:
> git clean -xdf
> git pull
> ./configure --enable-debug && make
>
I can reproduce this locally on my F17 when renaming
/usr/include/openssl/md5.h to something else.
Culprit is the a define made in that case
#define MD5_CTX struct MD5Context
This attached patch makes it work again on my system (but might cause
breakage on others?)
Comments?
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: md5fix.patch
Type: text/x-patch
Size: 1144 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130620/b0176fc9/attachment.bin>
More information about the samba-technical
mailing list