Created attachment 7557 [details] make 2>make.err ; error output Hi, User requirement is to compile samba 3.4.17 to support their application. after many error i got this error. 3.4.17 is working on Solris 9 and Solaris 10_U5. not on Solaris 10_U10. bash-3.2# make 2>make.err Using CFLAGS = -O -I. -I/usr/local/samba-3.4.17/source3 -I/usr/local/samba-3.4.17/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/talloc -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLDAP_DEPRECATED -DSUNOS5 -I/usr/local/samba-3.4.17/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 PICFLAG = -fPIC LIBS = -lsendfile -lresolv -lrt -lnsl -lsocket -liconv LDFLAGS = -pie -lthread -L./bin -L/usr/local/lib DYNEXP = LDSHFLAGS = -G -lthread -L./bin -L/usr/local/lib SHLIBEXT = so SONAMEFLAG = -Wl,-soname= Compiling ../lib/talloc/talloc.c *** Error code 1 The following command caused the error: gcc -O -I. -I/usr/local/samba-3.4.17/source3 -I/usr/local/samba-3.4.17/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/talloc -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLDAP_DEPRECATED -DSUNOS5 -I/usr/local/samba-3.4.17/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c ../lib/talloc/talloc.c -o ../lib/talloc/talloc.o && exit 0;\ echo "The following command failed:" 1>&2;\ echo "" 1>&2;\ gcc -O -I. -I/usr/local/samba-3.4.17/source3 -I/usr/local/samba-3.4.17/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/talloc -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLDAP_DEPRECATED -DSUNOS5 -I/usr/local/samba-3.4.17/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c ../lib/talloc/talloc.c -o ../lib/talloc/talloc.o >/dev/null 2>&1 bash-3.2# wc -l make.err 1554 make.err bash-3.2# tail make.err include/ads_protos.h:25: error: `ads_pull_sid' declared as function returning a function include/ads_protos.h:29: error: `ads_pull_sd' declared as function returning a function include/ads_protos.h:95: error: `fn' declared as function returning a function ../lib/talloc/talloc.c: In function `_talloc_realloc': ../lib/talloc/talloc.c:987: error: function `malloced' is initialized like a variable ../lib/talloc/talloc.c:1035: error: invalid lvalue in assignment ../lib/talloc/talloc.c:1053: warning: the address of `malloced', will always evaluate as `true' The following command failed: make: Fatal error: Command failed for target `../lib/talloc/talloc.o' bash-3.2# ls -ld ../lib/talloc/talloc.c -rw-r--r-- 1 8363 39679 Apr 28 22:31 ../lib/talloc/talloc.c
./configure also has error related to talloc. so both configure and make throws error related to talloc. bash-3.2# more config.err Package talloc was not found in the pkg-config search path. Perhaps you should add the directory containing `talloc.pc' to the PKG_CONFIG_PATH environment variable No package 'talloc' found bash-3.2# echo $PKG_CONFIG_PATH /usr/local/lib/pkgconfig/ bash-3.2# ls -ld /usr/local/lib/pkgconfig/talloc.pc -rw-r--r-- 1 root root 298 May 12 23:22 /usr/local/lib/pkgconfig/talloc.pc Thanks, Prabu
Created attachment 7558 [details] config.log
the build system changed completely since 2012. Need to close this as wontfix.