[Samba] Compiling VFS stuff on HP-UX 11.00

René Nieuwenhuizen R.Nieuwenhuizen at cpb.nl
Thu Jun 20 06:23:02 GMT 2002


Hi,

To get the VFS examples compiled on HP-UX 11.00 I had to apply the following
patch:

========================= configure ======================
*** configure.orig Thu Jun 20 15:11:07 2002
--- configure Thu Jun 20 14:57:34 2002
***************
*** 811,816 ****
--- 811,823 ----
     CFLAGS=""
    fi
    ;;
+  HP-UX)
+   if test "${GCC}" = "yes"; then
+    CFLAGS="$CFLAGS"
+   else
+    CFLAGS="-Ae -c +z"
+   fi
+   ;;
  # Linux)
  #  CFLAGS="-Wall"
  #  ;;
***************
*** 827,832 ****
--- 834,842 ----
    ;;
   SunOS)
    LDFLAGS="-G"
+   ;;
+  HP-UX)
+   LDFLAGS="-b"
    ;;
  # Linux)
  #  echo "Linux found"

======================================================

Maybe this should be applied to the CVS SAMBA_2_2????

René Nieuwenhuizen
Sysadmin
CPB The Netherlands Bureau for Economic Policy Analysis





More information about the samba mailing list