Err...HP-UX 10.20 compile problems of samba-1.9.18p3

Shane Y. Gibson shane at mbari.org
Thu Mar 26 21:54:20 GMT 1998


All...

I'm new to the HP-UX environment...

I'm trying to build 1.9.18p3, using the HP compiler...I get
the following errors:


Compiling util.c
cpp: "values.h", line 27: warning 2001: Redefinition of macro MAXINT.
cpp: "includes.h", line 290: error 4036: Can't open include file
'sys/statfs.h'.
cpp: "includes.h", line 292: error 4036: Can't open include file
'sys/filio.h'.
cpp: "includes.h", line 293: error 4036: Can't open include file
'sys/sockio.h'.
*** Error exit code 1

Stop.


Using GCC 2.7.2.2, I get: 

Compiling util.c
In file included from /usr/include/hpsecurity.h:22,
                 from /usr/include/shadow.h:8,
                 from includes.h:197,
                 from util.c:22:
/usr/include/values.h:27: warning: `MAXINT' redefined
/mbari/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.7.2.2.f.2/include/sys/param.h:45:
warning: this is
the location of the previous definition
In file included from util.c:22:
includes.h:290: sys/statfs.h: No such file or directory
In file included from util.c:22:
includes.h:292: sys/filio.h: No such file or directory
includes.h:293: sys/sockio.h: No such file or directory
*** Error exit code 1

Stop.


I can see that the three header files do NOT exist in 
/usr/include/sys ...  Is there something I'm not getting here?
Am I missing pieces to the development system?

Any help would be greatly appreciated!!

v/r
Shane


More information about the samba mailing list