smbsh issues w/ samba-2.0.7
Dave Krovich
krovich at pinpoint.com
Wed Nov 1 20:07:52 GMT 2000
First off, I'm running on a Redhat Linux 6.2 system, using
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release).
I can't seem to get smbsh to compile.
I grabbed samba-2.0.7, and did the following, which generated
a compile error.
# cd source
# ./configure --with-smbwrapper
# make smbwrapper
Using FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
-DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFILE="/usr/local/samba/var/log.nmb" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks" -DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.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" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks" -DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin" -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
Using LIBS = -lreadline -ldl -lcrypt
Compiling smbwrapper/smbsh.c
Compiling smbwrapper/shared.c
Compiling param/loadparm.c
Compiling param/params.c
Compiling ubiqx/ubi_BinTree.c
Compiling ubiqx/ubi_Cache.c
Compiling ubiqx/ubi_SplayTree.c
Compiling ubiqx/ubi_dLinkList.c
Compiling ubiqx/ubi_sLinkList.c
Compiling ubiqx/debugparse.c
Compiling lib/charcnv.c
Compiling lib/charset.c
Compiling lib/debug.c
Compiling lib/fault.c
Compiling lib/getsmbpass.c
Compiling lib/interface.c
Compiling lib/kanji.c
Compiling lib/md4.c
Compiling lib/interfaces.c
Compiling lib/pidfile.c
Compiling lib/replace.c
Compiling lib/signal.c
Compiling lib/slprintf.c
Compiling lib/system.c
Compiling lib/doscalls.c
Compiling lib/time.c
Compiling lib/ufc.c
Compiling lib/genrand.c
Compiling lib/username.c
Compiling lib/access.c
Compiling lib/smbrun.c
Compiling lib/bitmap.c
Compiling lib/crc32.c
Compiling lib/snprintf.c
Compiling lib/util_str.c
Compiling lib/util_sid.c
Compiling lib/util_unistr.c
Compiling lib/util_file.c
Compiling lib/util.c
Compiling lib/util_sock.c
Compiling lib/util_sec.c
Compiling smbd/ssl.c
Compiling lib/fnmatch.c
Compiling lib/talloc.c
Compiling lib/hash.c
Linking bin/smbsh
Compiling smbwrapper/smbw.c with -fpic
smbwrapper/smbw.c:1429: warning: `struct stat64' declared inside parameter
list smbwrapper/smbw.c:1429: warning: its scope is only this definition or
declaration,
smbwrapper/smbw.c:1429: warning: which is probably not what you want.
smbwrapper/smbw.c: In function `stat64_convert':
smbwrapper/smbw.c:1431: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1432: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1433: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1434: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1435: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1436: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1437: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1438: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1439: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1440: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1441: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1442: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1443: dereferencing pointer to incomplete type
smbwrapper/smbw.c: At top level:
smbwrapper/smbw.c:1448: warning: `struct dirent64' declared inside
parameter list
smbwrapper/smbw.c: In function `dirent64_convert':
smbwrapper/smbw.c:1450: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1451: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1452: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1453: dereferencing pointer to incomplete type
make: *** [smbwrapper/smbw.po] Error 1
More information about the samba-technical
mailing list