Compiling Samba!!

Andrew Hill andrew.hill at agp.servicom.es
Thu May 7 07:28:30 GMT 1998


Hi,

I am trying to compile Samba version 1.9.18p2 on a HP 800/D350 using HPUX
10.20 with
software patches from HP installed up to Dec 97. I have seen other messages
on this
digest that people have been successful but I cannot.

using the standard compiler which has ANSI features unbundled I get the
following;

extract of last half of 30+ error lines...
(Bundled) cc: "nameserv.h", line 341: error 1705: Function prototypes are an
AN.
(Bundled) cc: "nameserv.h", line 346: error 1705: Function prototypes are an
AN.
(Bundled) cc: "nameserv.h", line 350: error 1705: Function prototypes are an
AN.
(Bundled) cc: "ubiqx/ubi_dLinkList.h", line 129: error 1506: Parameters
allowed.
(Bundled) cc: "ubiqx/ubi_dLinkList.h", line 162: error 1616: Unable to open
int.
(Bundled) cc: "ubiqx/ubi_dLinkList.h", line 162: error 1000: Unexpected
symbol:.
(Bundled) cc: "ubiqx/ubi_dLinkList.h", line 162: error 1000: Unexpected
symbol:.
(Bundled) cc: "kanji.h", line 108: error 1000: Unexpected symbol: "BOOL".
(Bundled) cc: "kanji.h", line 109: error 1000: Unexpected symbol: "BOOL".
(Bundled) cc: "proto.h", line 21: error 1000: Unexpected symbol: "*".
(Bundled) cc: "proto.h", line 33: error 1000: Unexpected symbol: "BOOL".
(Bundled) cc: "proto.h", line 34: error 1000: Unexpected symbol: "BOOL".
(Bundled) cc: "proto.h", line 55: error 1000: Unexpected symbol: "BOOL".
(Bundled) cc: "proto.h", line 60: error 1000: Unexpected symbol:
"cli_NetWkstaU.
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1

Stop.
----------------------------------------------------------------------------
---
Now I know you are gonna tell me....get GCC...i did...I compiled it and then
tried to compile samba and I get the very short barf as below;

HP D350/800 HPUX 10.20 using gcc 2.8.1
# make
Using CFLAGS
= -O -DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFILE="/us
Using LIBS =
Compiling util.c
*Initialization*:1: missing token-sequence in `#assert'
*** Error exit code 1

Stop.

Unless anyone can tell me what the heck the above means...I think it would
be easier
if someone could point me to a tar of the executables, or even email me them
??

Thanks in advance.

Andrew Hill








More information about the samba mailing list