Compile

andrew.hill at agp.servicom.es andrew.hill at agp.servicom.es
Mon Nov 3 14:42:02 GMT 1997



Hi,

I have an HP E55 box running UX 10.20.
I downloaded the latest samba tar  (1.9.17 ) and tried to compile it 

e55 $ make
Using CFLAGS = -O -DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFILE="/usr/local/samba/var/log.nmb" 
-DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"  
-DLOCKDIR="/usr/local/samba/var/locks" -DSMBRUN="/usr/local/samba/bin/smbrun" -DWORKGROUP="WORKGROUP" 
-DGUEST_ACCOUNT="nobody"  -DHPUX -DHPUX10 -Ac -D_HPUX_SOURCE -D_POSIX_SOURCE       
Using LIBS =      
Compiling server.c
(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
(Bundled) cc: "proto.h", line 11: error 1000: Unexpected symbol: "BOOL".
(Bundled) cc: "proto.h", line 12: error 1000: Unexpected symbol: "BOOL".
(Bundled) cc: "proto.h", line 30: error 1000: Unexpected symbol: "BOOL".
(Bundled) cc: "proto.h", line 32: error 1000: Unexpected symbol: "reopen_connection".
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1
Stop.
e55 $ 

As many people will know, HP decided to unbundle the ANSI components of C (god knows why....obv to make more money!)
I am no C programmer but I assume all the above errors are ANSI C related...

As we don't do any C development here the company is unwilling to purchase the ANSI package. So....

question: Can I either   a) Adjust the code for compilation (possibly more trouble than its worth) ,   or
        
			b) Could some kind soul compile a set of binaries for me???

Thanks in advance

-
Andrew Hill
Global Developments Ltd
Canary Isles (Spain)


 



More information about the samba mailing list