[Samba] problems compiling 3.0beta

Ron Bombard ronb at nativetextiles.com
Tue Jun 17 14:03:12 GMT 2003


Greetings!

I'm trying to build Samba3.0beta.
I'm running HP-UX 11.11
I'm using GCC 3.2.3

I ran the configure script.  Then I ran Make.   It crap's out pretty much 
immediately.    If anyone could look at the output below, and offer a 
suggestion, it would be greatly appreciated.    I'm sure its something 
bone-headed that I'm doing wrong.

Thanks!
Ron


# make
Using FLAGS =  -O2 -I./popt -Iinclude -
I/home/ronb/samba/source/include -I/home/ronb/samba/source/ubiqx -
I/home/ronb/samba/source/smbwrapper  -I. -D_HPUX_SOURCE -
D_POSIX_SOURCE -D_LARGEFILE64_SOURCE -
D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4 -
DMAX_POSITIVE_LOCK_OFFSET=0x1ffffffffffLL -
I/home/ronb/samba/source
      LIBS = -lgen -lsec -lnsl -liconv
      LDSHFLAGS = -shared   -g -O2
      LDFLAGS =
Compiling dynconfig.c
In file included from include/includes.h:118,
                 from dynconfig.c:21:
/usr/include/sys/socket.h:484: syntax error before "sendfile"
/usr/include/sys/socket.h:485: syntax error before "bsize_t"
/usr/include/sys/socket.h:486: syntax error before "sendpath"
/usr/include/sys/socket.h:487: syntax error before "bsize_t"
/usr/include/sys/socket.h:493: syntax error before "sendfile64"
/usr/include/sys/socket.h:494: syntax error before "bsize64_t"
/usr/include/sys/socket.h:495: syntax error before "sendpath64"
/usr/include/sys/socket.h:496: syntax 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:284,
                 from dynconfig.c:21:
/usr/include/machine/sys/setjmp.h:45: redefinition of `struct label_t'
In file included from dynconfig.c:21:
include/includes.h:488: conflicting types for `socklen_t'
/usr/include/sys/socket.h:199: previous declaration of `socklen_t'
*** Error exit code 1

Stop.



---------------------------------------------------
Ron Bombard,  Network Administrator
Meddle not in the affairs of dragons... for you 
are crunchy, and taste like chicken.




More information about the samba mailing list