[Samba] Samba 4.0 compilation problem

Jelmer Vernooij jelmer at samba.org
Wed Apr 12 14:40:30 GMT 2006

On Mon, 2006-04-10 at 08:53 -0700, jasmine mary wrote:
> I am compiling the Samba4.0 which provides built in AD support. I compiled
> it successfully by using the command configure.When i was issuing the make
> proto all, i am getting the following error.
> # make proto all
> Compiling heimdal/lib/asn1/main.c with host compiler
> In file included from heimdal_build/roken.h:7,
>                  from heimdal/lib/asn1/gen_locl.h:51,
>                  from heimdal/lib/asn1/main.c:34:
> heimdal/lib/roken/roken.h:556: conflicting types for `gai_strerror'
> /usr/include/netdb.h:307: previous declaration of `gai_strerror'
> *** Error code 1
> make: Fatal error: Command failed for target `heimdal/lib/asn1/main.ho'

Can you please attach the generated config.log file?

> # echo $PATH
> /usr/local/bin/:/usr/local/doc/:/usr/ccs/bin/:/usr/share/lib/:/usr/sbin:/usr/bin
> Path is set to gcc and make commands.
> GCC version is 2.95.2. Solaris version is 8.
I'm not sure whether GCC 2.95 will be able to compile Samba 4 because of
missing features. 


Jelmer Vernooij <jelmer at samba.org>     http://samba.org/~jelmer/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20060412/e683cdc9/attachment.bin

More information about the samba mailing list