SAMBA 2.0 Alpha15 in UnixWare 2.1.3

opensys selim at opensys.hn
Sat Nov 14 14:00:16 GMT 1998


Hello all,

Has anyone gotten to compile SAMBA alpha15 in UnixWare 2.1.3?

I have tried with GCC 2.7.2 and also with UnixWare's native C compiler with
no success.

I get the following error when using GCC 2.7.2:

273 /home/SOURCE/WinServer/samba/source: gmake all
Using FLAGS
= -g -O2 -Iinclude -I./include -I./ubiqx -I./smbwrapper -DSMBLOGFILE
="/usr/local/samba/var/log.smb" -DNMBLOGFILE="/usr/local/samba/var/log.nmb" 
-DCO
NFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib
/lmh
osts"   -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin" -
DLOC
KDIR="/usr/local/samba/var/locks" -DSMBRUN="/usr/local/samba/bin/smbrun" -DC
ODEP
AGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/p
rint
ers.def" -DBINDIR="/usr/local/samba/bin" -DHAVE_INCLUDES_H -DSMB_PASSWD="/us
r/lo
cal/samba/bin/smbpasswd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpass
wd"
Using LIBS = -lsocket -lnsl  -lcrypt
Compiling smbd/server.c
In file included from include/includes.h:174,
                 from smbd/server.c:22:
/usr/include/arpa/inet.h:65: conflicting types for `htons'
/usr/local/lib/gcc-lib/i486-onsite-sysv4.2/2.7.2/include/sys/byteorder.h:60:
previous declaration of `htons'
/usr/include/arpa/inet.h:71: conflicting types for `ntohs'
/usr/local/lib/gcc-lib/i486-onsite-sysv4.2/2.7.2/include/sys/byteorder.h:140
: previous declaration of `ntohs'
gmake: *** [smbd/server.o] Error 1

THANX in advance for your help!


Selim



More information about the samba mailing list