[Samba] Fwd: Sol9 make failure of samba 3.2.2 with gcc 3.4.6 -- libtalloc.so.1

William Wilson william.wilson at nau.edu
Thu Sep 18 22:27:48 GMT 2008


I'm trying out samba 3.2.4. Have the latest version of openldap  
installed from source.  When I gmake the prog I get:

Compiling lib/md5.c
In file included from lib/md5.c:23:
/nau/local/include/md5.h:27: error: parse error before "UINT4"
/nau/local/include/md5.h:27: warning: no semicolon at end of struct or  
union
/nau/local/include/md5.h:28: warning: data definition has no type or  
storage class
/nau/local/include/md5.h:30: error: parse error before '}' token
/nau/local/include/md5.h:30: warning: data definition has no type or  
storage class
/nau/local/include/md5.h:32: error: parse error before "PROTO_LIST"
/nau/local/include/md5.h:33: error: parse error before "PROTO_LIST"
/nau/local/include/md5.h:35: error: parse error before "PROTO_LIST"
/nau/local/include/md5.h:37: error: parse error before "PROTO_LIST"
The following command failed:
gcc -I. -I/nau/src/Net/samba-3.2.4/source  -I/nau/local/include -O - 
D_SAMBA_BUILD_=3 -I/nau/src/Net/samba-3.2.4/source/popt -I/nau/src/Net/ 
samba-3.2.4/source/iniparser/src -Iinclude -I./include  -I. -I. -I./ 
lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc  
-DHAVE_CONFIG_H  -I/nau/local/include -I/nau/share/include -I/nau/ 
local/include -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 - 
Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/ 
tdb/include -I./libaddns -I./librpc -I./popt -I/usr/local/include - 
DLDAP_DEPRECATED -DSUNOS5   -I/include -I/nau/src/Net/samba-3.2.4/ 
source/lib -D_SAMBA_BUILD_=3 -fPIC -c lib/md5.c -o lib/md5.o
gmake: *** [lib/md5.o] Error 1


My configure looks like:

setenv LDFLAGS "-L/nau/share/lib/ldap/lib"
setenv CPPFLAGS "-I/nau/share/include -I/nau/local/include"

./configure --prefix=/nau/samba --without-LD --with-ldap=/nau/share -- 
with-stati
c-libs=libtalloc,libtdb,idmap_ad --with-pam --with-krb5=/nau/local -- 
with-ads --
with-libiconv=/usr/local


Any idea on the compile error


More information about the samba mailing list