./configure --prefix=/opt/samba_3.0.22 --with-ldap=no make ... Compiling popt/findme.c Compiling popt/popt.c Compiling popt/poptconfig.c Compiling popt/popthelp.c Compiling popt/poptparse.c Linking bin/smbd /usr/ccs/bin/ld: Unsatisfied symbols: auth_script_init (first referenced in auth/auth.o) (code) collect2: ld returned 1 exit status *** Error exit code 1 -> Solution: Add lines BLDSHARED="true" CFLAGS="$CFLAGS $PICFLAGS" to section HPUX 1 in script "configure". See comment "## NEW lines" .... #define HPUX 1 _ACEOF # Use special PIC flags for the native HP-UX compiler. if test $ac_cv_prog_cc_Ae = yes; then BLDSHARED="true" SHLD="cc" LDSHFLAGS="-b -Wl,-B,symbolic,-b,-z" SONAMEFLAG="-Wl,+h " PICFLAGS="+z" elif test "${GCC}" = "yes"; then PICFLAGS="-fPIC" ## NEW lines BLDSHARED="true" CFLAGS="$CFLAGS $PICFLAGS" ## NEW lines fi ...
we have waf now, now more configure.in