[Samba] Samba 4.0 compilation problem

Jelmer Vernooij jelmer at samba.org
Tue Apr 18 22:54:55 GMT 2006


On Fri, 2006-04-14 at 13:38 -0700, jasmine mary wrote:
> Thank u Jelmer ..It started to compile once i updated with the new release of
> GCC(3.4.2). But still it is giving errors. Please help me out of this.


> Compiling heimdal/lib/vers/print_version.c with host compiler
> In file included from heimdal_build/roken.h:7,
>                  from heimdal/lib/vers/print_version.c:38:
> ./heimdal/lib/roken/roken.h:556: error: conflicting types for 'gai_strerror'
> /usr/include/netdb.h:307: error: previous declaration of 'gai_strerror' was
> here
> ./heimdal/lib/roken/roken.h:556: error: conflicting types for 'gai_strerror'
> /usr/include/netdb.h:307: error: previous declaration of 'gai_strerror' was
> here
> 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: error: conflicting types for 'gai_strerror'
> /usr/include/netdb.h:307: error: previous declaration of 'gai_strerror' was
> here
> ./heimdal/lib/roken/roken.h:556: error: conflicting types for 'gai_strerror'
> /usr/include/netdb.h:307: error: previous declaration of 'gai_strerror' was
> here
Can you send me your config.log file? It'll be hard to figure out why
this is being caused without it.

> Building heimdal/lib/asn1/lex.l with lex
> "lex.l":line 295: Error: Too many positions
> Try using %p num
> Generating dependencies for heimdal/lib/asn1/lex.c
> gcc: heimdal/lib/asn1/lex.c: No such file or directory
> gcc: no input files
Which version of Samba4 are you running? If this is TP2, please upgrade
to a recent version from SVN, in which this bug has been fixed.

Are you sure you want to run Samba4 and not Samba3 instead? Samba 4 is
far from being ready for production use. 

Cheers,

Jelemr
-------------- 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/20060419/dae520cf/attachment.bin


More information about the samba mailing list