Compiling samba-3.5.11 failed in RHEL3 i386

jinyunshuai jinyunshuai at 126.com
Sat Oct 8 03:14:26 MDT 2011


Hi ,
 

The Samba-3.5.11  build failed on several Linux platforms: RHEL3 i386, RHEL3 x86_64, SUSE8 i386, SUSE9 x86_64. They all have the same error message:

 

Linking bin/nmbd
Compiling web/cgi.c
Compiling web/diagnose.c
Compiling web/startstop.c
Compiling web/statuspage.c
Compiling web/swat.c
web/swat.c: In function `get_xsrf_token':
web/swat.c:171: `__ERROR__XX__NEVER_USE_STRCAT___' undeclared (first use in this function)
web/swat.c:171: (Each undeclared identifier is reported only once
web/swat.c:171: for each function it appears in.)
web/swat.c:171: syntax error before ';' token
The following command failed:
gcc -I../lib/zlib -I/usr/kerberos/include -O -I. -I/home/kingson/samba-3.5.11/source3 -I/home/kingson/samba-3.5.11/source3/iniparser/src -Iinclude -I./include  -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H  -I/usr/kerberos/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt -DLDAP_DEPRECATED  -I/home/kingson/samba-3.5.11/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3  -fPIC -c web/swat.c -o web/swat.o
make: *** [web/swat.o] Error 1


 

the gcc version is 3.2.3  onRHEL3 i386.  on this platform samba-3.5.9 can build successfully. 

is it an intentional change in samba-3.5.11 ?   need I update gcc?

 

 

thinks

kingson

 

 

 


More information about the samba-technical mailing list