Samba 2.0.4b compile problems on HP-UX 11.0

Jason P. Holland jphollan at sprintparanet.com
Thu Jul 8 18:30:15 GMT 1999


I'm having some trouble compiling samba 2.0.4b on an 64bit HP-UX 11 system.
The configure script finishes without any errors.  But when I go to compile
it, I get these errors:

Compiling smbd/server.c
(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C
product; ignored.
cpp: "/usr/include/sys/xti.h", line 488: warning 2001: Redefinition of macro
TCP_NODELAY.
cpp: "/usr/include/sys/xti.h", line 489: warning 2001: Redefinition of macro
TCP_MAXSEG.
(Bundled) cc: "ubiqx/ubi_sLinkList.h", line 199: error 1000: Unexpected
symbol: ListPtr".
(Bundled) cc: "ubiqx/ubi_sLinkList.h", line 212: error 1000: Unexpected
symbol: "ubi_slInsert".
(Bundled) cc: "ubiqx/ubi_sLinkList.h", line 212: error 1000: Unexpected
symbol: "ListPtr".
(Bundled) cc: "ubiqx/ubi_sLinkList.h", line 214: error 1000: Unexpected
symbol: ")".
(Bundled) cc: "ubiqx/ubi_sLinkList.h", line 199: error 1506: Parameters
allowed in function definition only.
(Bundled) cc: "ubiqx/ubi_sLinkList.h", line 231: error 1616: Unable to open
intrinsic file "/usr/local/lib/sysintr".
(Bundled) cc: "ubiqx/ubi_sLinkList.h", line 231: error 1000: Unexpected
symbol: "ubi_slRemove".
(Bundled) cc: "ubiqx/ubi_sLinkList.h", line 231: error 1000: Unexpected
symbol: "ListPtr".
(Bundled) cc: "ubiqx/ubi_dLinkList.h", line 93: error 1000: Unexpected
symbol: "*".
(Bundled) cc: "ubiqx/ubi_dLinkList.h", line 97: error 1000: Unexpected
symbol: "ubi_dlNodePtr".
(Bundled) cc: "ubiqx/ubi_dLinkList.h", line 98: error 1000: Unexpected
symbol: "Tail".
(Bundled) cc: "ubiqx/ubi_dLinkList.h", line 100: error 1000: Unexpected
symbol: "}".
(Bundled) cc: "ubiqx/ubi_dLinkList.h", line 102: error 1000: Unexpected
symbol: "*".
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1

Stop.

I'm very new to HP-UX.  Has anyone encountered this problem before?  I'm
using cc to compile and the vanilla libraries that came with the system.  I
tried using gcc, but the previous sys admin installed it and i cannot get it
to find the libraries.  I have tried

./configure --libdir /usr/include
./configure --includedir /usr/include
./configure --libdir
/usr/local/lib/gcc-lib/hppa1.0-hp-hpux11.00/2.8.1/include

but configure always fails on finding the header files.  I have searched the
mailing list, but haven't really found much to help me out.  Is this a
problem with the configure script??  I know the header file are there, I can
look a them.  Any help would be appreciated.  Thanks guys!!  Samba team,
keep up the great work!

Jason P. Holland
Unix Administrator - Sprint Paranet
jphollan at sprintparanet.com



More information about the samba mailing list