[Samba] compile problem samba-2.2.6pre1

Quach Van Khiem vkquach at baumerelectric.com
Tue Aug 13 05:17:01 GMT 2002


Hi, 
I have a problem to compile samba-2.2.6pre1 on a SUNsparc Solaris 8
maschine.
The make command produced follow error (configure was O.K):
Thanks for any help.

---
# make
Using FLAGS =  -O -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLOGFILEBASE="
/usr/local/samba/var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf"
-DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DSWATDIR="/usr/loca
l/samba/swat" -DSBINDIR="/usr/local/samba/bin"
-DLOCKDIR="/usr/local/samba/var/locks"
-DCODEPAGEDIR="/usr/local/samba/lib/codepages"
 -DDRIVERFILE="/usr/local/samba/lib/printers.def"
-DBINDIR="/usr/local/samba/bin" -DPIDDIR="/usr/local/samba/var/locks"
-DLIBDIR="/u
sr/local/samba/lib" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/usr/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DTD
B_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using FLAGS32 =  -O -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLOGFILEBASE
="/usr/local/samba/var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf"
-DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DSWATDIR="/usr/lo
cal/samba/swat" -DSBINDIR="/usr/local/samba/bin"
-DLOCKDIR="/usr/local/samba/var/locks"
-DCODEPAGEDIR="/usr/local/samba/lib/codepage
s" -DDRIVERFILE="/usr/local/samba/lib/printers.def"
-DBINDIR="/usr/local/samba/bin" -DPIDDIR="/usr/local/samba/var/locks"
-DLIBDIR="
/usr/local/samba/lib" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/usr/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -D
TDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using LIBS = -lsec -lgen -lsocket -lnsl  -ldl
Compiling smbd/server.c
In file included from include/includes.h:736,
                 from smbd/server.c:22:
include/proto.h:184: parse error before `<'
include/proto.h:622: parse error before `=='
include/proto.h:624: malformed floating constant
include/proto.h:681: parse error before `>'
include/proto.h:681: malformed floating constant
include/proto.h:710: parse error before `=='
include/proto.h:738: parse error before `>'
include/proto.h:738: malformed floating constant
include/proto.h:1346: parse error before `<'
include/proto.h:1348: conflicting types for `standard_sub_advanced'
include/proto.h:198: previous declaration of `standard_sub_advanced'
include/proto.h:1349: conflicting types for `standard_sub_conn'
include/proto.h:199: previous declaration of `standard_sub_conn'
include/proto.h:1350: conflicting types for `standard_sub_home'
include/proto.h:200: previous declaration of `standard_sub_home'
include/proto.h:1351: conflicting types for `standard_sub_snum'
include/proto.h:201: previous declaration of `standard_sub_snum'
include/proto.h:1352: conflicting types for `standard_sub_vuser'
include/proto.h:202: previous declaration of `standard_sub_vuser'
include/proto.h:1353: conflicting types for `standard_sub_vsnum'
include/proto.h:203: previous declaration of `standard_sub_vsnum'
include/proto.h:1354: parse error before `=='
include/proto.h:1356: conflicting types for `standard_sub_advanced'
include/proto.h:1348: previous declaration of `standard_sub_advanced'
include/proto.h:1357: conflicting types for `standard_sub_conn'
include/proto.h:1349: previous declaration of `standard_sub_conn'
include/proto.h:1358: conflicting types for `standard_sub_home'
include/proto.h:1350: previous declaration of `standard_sub_home'
include/proto.h:1359: conflicting types for `standard_sub_snum'
include/proto.h:1351: previous declaration of `standard_sub_snum'
include/proto.h:1360: conflicting types for `standard_sub_vuser'
include/proto.h:1352: previous declaration of `standard_sub_vuser'
include/proto.h:1361: conflicting types for `standard_sub_vsnum'
include/proto.h:1353: previous declaration of `standard_sub_vsnum'
include/proto.h:1362: parse error before `>'
include/proto.h:1362: malformed floating constant
include/proto.h:1766: parse error before `<'
include/proto.h:1780: parse error before `=='
include/proto.h:1796: parse error before `>'
include/proto.h:1796: malformed floating constant
*** Error code 1
make: Fatal error: Command failed for target `smbd/server.o'



More information about the samba mailing list