Hi in file samba-3.0.20/source/configure.in, there is a code mentioned below for HP-UX *hpux*) AC_DEFINE(HPUX,1,[Whether the host os is HPUX]) # 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" fi if test "$host_cpu" = "ia64"; then SHLIBEXT="so" DYNEXP="-Wl,-E,+b /usr/local/lib/hpux32:/usr/lib/hpux32" else SHLIBEXT="sl" DYNEXP="-Wl,-E,+b /usr/local/lib:/usr/lib" fi The DYNEXP="-Wl,-E,+b /usr/local/lib/hpux32:/usr/lib/hpux32" must be DYNEXP="-Wl,-E,+b/usr/local/lib/hpux32:/usr/lib/hpux32" and DYNEXP="-Wl,-E,+b /usr/local/lib:/usr/lib" must be DYNEXP="-Wl,-E,+b/usr/local/lib:/usr/lib". Here after +b option the directory names should not include any spaces. I am using 'gcc (GCC) 3.4.1' to compile on HP-UX 11.11i. I removed this extra space and samba compile fine on my system. Thanks SAM SHARMA
Checked in - thanks!