[Samba] Build Errors, torture tests 3.0.x/HP-UX 11i
Jeremy Allison
jra at samba.org
Wed Jun 23 19:19:26 GMT 2004
On Wed, Jun 23, 2004 at 03:12:47PM -0400, Ryan Novosielski wrote:
> 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'
Looks like the configure script isn't finding the HPUX definition of socklen_t
in the /usr/include/sys/socket.h include file. Look at the configure output to
discover why.
Jeremy.
More information about the samba
mailing list