Smbwrapper not compiling on SVR4

Seth Mos knuffie at xs4all.nl
Thu Aug 3 07:23:11 GMT 2000


Hi,

While trying to compile smbwrapper it fails with a syntactical error.
We have a SVR4.3 Sytem bij NCR.
I have the bash-bug version info below and the make error.
It isn't a supported platform (yet!) but I like to make it one.
The ld flag for shared library's is "-G" as is the cc flag for shared objects.
So believe this is OK (the default flags for a unknown architecture (?).)

Machine: i586
OS: sysv4.3.03
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' 
-DCONF_OSTYPE='sysv4.3.03' -DCONF_MACHTY
PE='i586-ncr-sysv4.3.03' -DCONF_VENDOR='ncr' 
-DSHELL  -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib
-I/users/local/include -g
uname output: coltex-1 coltex-1 4.0 3.0 3426 Pentium II(TM)-ISA/PCI
Machine Type: i586-ncr-sysv4.3.03

[seth at coltex-1 source]$ make smbwrapper
Using FLAGS =  -O -Iinclude -I./include -I./ubiqx 
-I./smbwrapper  -DSMBLOGFILE="/users/pkg/samba/var/log.smb" 
-DNMBLOGFILE="/users/pkg/samba/var/log.nmb" 
-DCONFIGFILE="/users/pkg/samba/lib/smb.conf" 
-DLMHOSTSFILE="/users/pkg/samba/lib/lmhosts" 
-DSWATDIR="/users/pkg/samba/swat" -DSBINDIR="/users/pkg/samba/bin" 
-DLOCKDIR="/users/pkg/samba/var/locks" 
-DSMBRUN="/users/pkg/samba/bin/smbrun" 
-DCODEPAGEDIR="/users/pkg/samba/lib/codepages" 
-DDRIVERFILE="/users/pkg/samba/lib/printers.def" 
-DBINDIR="/users/pkg/samba/bin" -DHAVE_INCLUDES_H 
-DPASSWD_PROGRAM="/bin/passwd" 
-DSMB_PASSWD_FILE="/users/pkg/samba/private/smbpasswd"
Using FLAGS32 =  -O -Iinclude -I./include -I./ubiqx 
-I./smbwrapper  -DSMBLOGFILE="/users/pkg/samba/var/log.smb" 
-DNMBLOGFILE="/users/pkg/samba/var/log.nmb" 
-DCONFIGFILE="/users/pkg/samba/lib/smb.conf" 
-DLMHOSTSFILE="/users/pkg/samba/lib/lmhosts" 
-DSWATDIR="/users/pkg/samba/swat" -DSBINDIR="/users/pkg/samba/bin" 
-DLOCKDIR="/users/pkg/samba/var/locks" 
-DSMBRUN="/users/pkg/samba/bin/smbrun" 
-DCODEPAGEDIR="/users/pkg/samba/lib/codepages" 
-DDRIVERFILE="/users/pkg/samba/lib/printers.def" 
-DBINDIR="/users/pkg/samba/bin" -DHAVE_INCLUDES_H 
-DPASSWD_PROGRAM="/bin/passwd" 
-DSMB_PASSWD_FILE="/users/pkg/samba/private/smbpasswd"
Using LIBS = -lgen -lsocket -lnsl -ldl  -lresolv
Compiling smbwrapper/smbw.c with
NCR High Performance C Compiler R3.0c
(c) Copyright 1994-98, NCR Corporation
(c) Copyright 1987-98, MetaWare Incorporated
w "smbwrapper/smbw.c",L67/C7(#257):     '=' encountered where '==' may have 
been intended.
w "smbwrapper/smbw.c",L86/C7(#257):     '=' encountered where '==' may have 
been intended.
w "smbwrapper/smbw.c",L90/C7(#257):     '=' encountered where '==' may have 
been intended.
w "smbwrapper/smbw.c",L94/C7(#257):     '=' encountered where '==' may have 
been intended.
w "smbwrapper/smbw.c",L171/C8(#257):    '=' encountered where '==' may have 
been intended.
w "smbwrapper/smbw.c",L179/C8(#257):    '=' encountered where '==' may have 
been intended.
w "smbwrapper/smbw.c",L192/C8(#257):    '=' encountered where '==' may have 
been intended.
w "smbwrapper/smbw.c",L439/C7(#257):    '=' encountered where '==' may have 
been intended.
w "smbwrapper/smbw.c",L449/C9(#257):    '=' encountered where '==' may have 
been intended.
w "smbwrapper/smbw.c",L466/C7(#257):    '=' encountered where '==' may have 
been intended.

E "smbwrapper/smbw.c",L1406/C57:        (syntactic)  unexpected 
symbol:'<IDENTIFIER>':aclent_t
REPAIR:   '_Class' was inserted before 
'<IDENTIFIER>':aclent_t@"smbwrapper/smbw.c",L1406/C57
1 user error   10 warnings
*** Error code 1 (bu21)

make: fatal error.


--Seth
(not really here)





More information about the samba-technical mailing list