Help, Samba-2.2.2 with gcc-2.95.3 on hpux-11.00 failled to compile.

joel.soete at freebel.net joel.soete at freebel.net
Mon Oct 15 06:58:02 GMT 2001


Hello all,

I just use follwing configure parameters:
 
./configure --prefix=/opt/samba --sysconfdir=/etc/opt/samba \
 --localstatedir=/var/opt/samba --with-syslog \
 --x-includes=/usr/include/X11R6 --x-libraries=/usr/lib/X11R6

I use gcc 2.95.3 on a hpux-11.00.

and gmake failed with following message:
...
In file included from include/includes.h:96,
                 from lib/wins_srv.c:23:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stddef.h:255: warning: 
empty declaration
Compiling lib/util_array.c
In file included from include/includes.h:95,
                 from lib/util_array.c:23:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: 
`__va__list' redefined
/usr/include/utime.h:26: warning: this is the location of the previous 
definition
In file included from include/includes.h:121,
                 from lib/util_array.c:23:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:26: warning: 
`__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: 
this is the location of the previous definition
In file included from /usr/include/xti.h:9,
                 from /usr/include/rpc/rpc.h:21,
                 from /usr/include/rpcsvc/nis.h:9,
                 from /usr/include/prot.h:23,
                 from /usr/include/shadow.h:9,
                 from include/includes.h:302,
                 from lib/util_array.c:23:
/usr/include/sys/xti.h:488: warning: `TCP_NODELAY' redefined
/usr/include/netinet/tcp.h:76: warning: this is the location of the previous 
definition
/usr/include/sys/xti.h:489: warning: `TCP_MAXSEG' redefined
/usr/include/netinet/tcp.h:77: warning: this is the location of the previous 
definition
In file included from include/includes.h:96,
                 from lib/util_array.c:23:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stddef.h:255: warning: 
empty declaration
lib/util_array.c: In function `free_char_array':
lib/util_array.c:144: `free' undeclared (first use in this function)
lib/util_array.c:144: (Each undeclared identifier is reported only once
lib/util_array.c:144: for each function it appears in.)
lib/util_array.c: In function `free_uint32_array':
lib/util_array.c:172: `free' undeclared (first use in this function)
lib/util_array.c: In function `free_sid_array':
lib/util_array.c:186: `free' undeclared (first use in this function)
gmake: *** [lib/util_array.o] Error 1

Any idea?

Thanks in advance for help,
        Joel

PS: I already reach to recompile without problem samba 2.0.7, 2.2.1a (not 2.2.1)



-------------------------------------------------
This mail sent through Tiscalinet Webmail (http://webmail.tiscali.be)




More information about the samba mailing list