Hi,
To many this may seem like a dumb question but I get a lot of warnings
trying to compile Samba V2.x.x on DEC UNIX V4.0E. Not being a programmer I
don't
understand and I'm asking if this is something in the way I'm building
the kit.
The Samba-1.9.18p10 seems to compile fine given, what I believe are, the same
variables/compilers. Version 2.0.3 seems to compile fine on Solaris V2.6 with
the same version of the gcc compiler, 2.8.1.
I've been searching through the archives and I did notice a reference
for
attempting to fix rtentry on DEC UNIX but was somewhere around beta2 or beta3 I
think. Can someone help me understand what this is trying to tell me? If you
need more info, please tell me and I'll send it.
Bob
PS: This is the output from the beginning of the make. I've let it go
through
to finish and the complaints seem to be all related to either "struct
rtentry"
or "struct mbuf" from includes.h. Or maybe better put, the samba code
seems to
define these differently than DEC UNIX maybe?
Goose> make
Using FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
-DSMBLOGFILE="
/usr/local/samba/var/log.smb"
-DNMBLOGFILE="/usr/local/samba/var/log.nmb" -DCONF
IGFILE="/usr/local/samba/lib/smb.conf"
-DLMHOSTSFILE="/usr/local/samba/lib/lmhos
ts" -DSWATDIR="/usr/local/samba/swat"
-DSBINDIR="/usr/local/samba/bin" -DLOCKD
IR="/usr/local/samba/var/locks"
-DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAG
EDIR="/usr/local/samba/lib/codepages"
-DDRIVERFILE="/usr/local/samba/lib/printer
s.def" -DBINDIR="/usr/local/samba/bin" -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/bin/
passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
Using FLAGS32 = -O -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" -DCODEP
AGEDIR="/usr/local/samba/lib/codepages"
-DDRIVERFILE="/usr/local/samba/lib/print
ers.def" -DBINDIR="/usr/local/samba/bin" -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/bi
n/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
Using LIBS = -lsecurity
Compiling smbd/server.c
In file included from include/includes.h:253,
from smbd/server.c:22:
/usr/include/net/if.h:162: warning: `struct rtentry' declared inside
parameter l
ist
/usr/include/net/if.h:162: warning: its scope is only this definition or declara
tion,
/usr/include/net/if.h:162: warning: which is probably not what you want.
/usr/include/net/if.h:162: warning: `struct mbuf' declared inside parameter
list
In file included from include/includes.h:253,
from smbd/server.c:22:
/usr/include/net/if.h:441: warning: `struct rtentry' declared inside
parameter l
ist
Compiling smbd/files.c
In file included from include/includes.h:253,
from smbd/files.c:22:
/usr/include/net/if.h:162: warning: `struct rtentry' declared inside
parameter l
ist
/usr/include/net/if.h:162: warning: its scope is only this definition or declara
tion,
/usr/include/net/if.h:162: warning: which is probably not what you want.
/usr/include/net/if.h:162: warning: `struct mbuf' declared inside parameter
list
In file included from include/includes.h:253,
from smbd/files.c:22:
/usr/include/net/if.h:441: warning: `struct rtentry' declared inside
parameter l
ist
make: *** [smbd/files.o] Interrupt
Goose>