Hi all 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' # 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. Please anyone guide me and help me. Jasmine -- View this message in context: http://www.nabble.com/Samba-4.0-compilation-problem-t1425848.html#a3844689 Sent from the Samba - General forum at Nabble.com.
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. Cheers, Jelmer -- Jelmer Vernooij <jelmer@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
As u said i tried to compile using gcc version 3.4.2, it is not getting download properly.When i am gunzipping this GCC package i am getting some "invalid compressed data--length error". Again i am downloading.FYI it takes more time to download.because the package size is very big. At the end of the configure script execution, i got message like GNU >= 3.81 is the dependency one. So I installed that GNU 3.81 package. I dont knwo what is the difference between GNU make and GCC make. But i did. After that i got the error mesasge like "make: Fatal error in reader: Makefile, line 12157: Unexpected end of line seen". I couldnt attach the config.log file, as i dont see the upload option in this forum.The exit status of the configure is 0. Please advise me. I think installing the kerberos library is not required by SAMBA4. Am i right? i can directly follow the HOWTO doc for installing and configuring the samba with out prior installation of any libraries(kreberos and LDAP) like samba3. Please help me out of this. Jasmine -- View this message in context: http://www.nabble.com/Samba-4.0-compilation-problem-t1425848.html#a3907288 Sent from the Samba - General forum at Nabble.com.
Maybe Matching Threads
- Compile problem: "lib/ldb/ldb_map/ldb_map.h", line 64: syntax error before or at: 0x20
- [releng_8 tinderbox] failure on i386/i386
- Samba building is broken when some libraries are specified to be built-in to binaries !
- Debian Wheezy member server from backports to self compile
- Debian Wheezy member server from backports to self compile