Attempts to compile Samba 3.0.4 using default options fails when using the IBM Visual Age Compiler (XLC) under AIX 5.1. The following error is reported (numerous times at various stages of the compilation): checking whether building shared libraries actually works... cc: 1501-218 file shlib.po contains an incorrect file suffix Resolution requires an edit of the file ./samba-3.0.4/source/configure and setting the PICSUFFIX variable in the AIX section (as is done for the Solaris section). The diff context output is as follows: $ diff -c samba-3.0.4/source/configure.bug samba-3.0.4/source/configure *** samba-3.0.4/source/configure.bug Tue Jul 20 04:40:45 2004 --- samba-3.0.4/source/configure Tue Jul 20 04:37:11 2004 *************** *** 17934,17939 **** --- 17934,17940 ---- if test "${GCC}" != "yes"; then ## for funky AIX compiler using strncpy() CFLAGS="$CFLAGS -D_LINUX_SOURCE_COMPAT -qmaxmem=32000" + PICSUFFIX="po.o" fi
Applied - thanks!
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.