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

Ryan Novosielski novosirj at umdnj.edu
Wed Jun 23 19:12:47 GMT 2004


Anyone here have a solution to this one? It would really help with my 
testing.

---- _  _ _  _ ___  _  _  _
|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

On Mon, 24 May 2004, Ryan Novosielski wrote:

> 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
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list