[Samba] Build Errors, torture tests 3.0.x/HP-UX 11i

Ryan Novosielski novosirj at umdnj.edu
Mon May 24 14:16:04 GMT 2004


I get the following errors when building the torture suite under HP-UX 11i
with HP AnsiC. They are actually somewhat similar to the errors that I get
trying to build the whole package with gcc:

Compiling torture/torture.c
In file included from include/includes.h:109,
                 from torture/torture.c:23:
/usr/include/sys/socket.h:484: error: parse error before "sendfile"
/usr/include/sys/socket.h:484: error: parse error before "bsize_t"
/usr/include/sys/socket.h:486: error: parse error before "sendpath"
/usr/include/sys/socket.h:486: error: parse error before "bsize_t"
/usr/include/sys/socket.h:493: error: parse error before "sendfile64"
/usr/include/sys/socket.h:493: error: parse error before "bsize64_t"
/usr/include/sys/socket.h:495: error: parse error before "sendpath64"
/usr/include/sys/socket.h:495: error: parse error before "bsize64_t"
In file included from /usr/include/sys/mp.h:55,
                 from /usr/include/sys/malloc.h:59,
                 from /usr/include/net/netmp.h:53,
                 from /usr/include/net/if.h:59,
                 from include/includes.h:275,
                 from torture/torture.c:23:
/usr/include/machine/sys/setjmp.h:45: error: redefinition of `struct label_t'
In file included from torture/torture.c:23:
include/includes.h:495: error: conflicting types for `socklen_t'
/usr/include/sys/socket.h:199: error: previous declaration of `socklen_t'
*** Error exit code 1

Stop.

...any suggestions for me? Is this supposed to work under HP-UX?

---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$&| |__| |  | |__/ | \| _|  | novosirj at umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630


More information about the samba mailing list