"Bug" report - as you wished

Thunder from the hill thunder at ngforever.de
Sun Jan 14 16:29:12 GMT 2001


Hi,

This is not really a bug of samba - I just cannot compile it and get
strange messages. Here is what "make all install" said:

Using FLAGS =  -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith
-Wcast-qual -Wcast-align -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 =  -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith
-Wcast-qual -Wcast-align -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 = -ldl  -lcrypt -lpam
Compiling smbd/server.c
Compiling smbd/files.c
Compiling smbd/chgpasswd.c
smbd/chgpasswd.c: In function `findpty':
smbd/chgpasswd.c:66: warning: implicit declaration of function `grantpt'
smbd/chgpasswd.c:67: warning: implicit declaration of function
`unlockpt'
smbd/chgpasswd.c:68: warning: implicit declaration of function `ptsname'
Compiling smbd/connection.c
Compiling smbd/dfree.c
Compiling smbd/dir.c
Compiling smbd/password.c
Compiling smbd/conn.c
Compiling smbd/fileio.c
Compiling smbd/ipc.c
Compiling smbd/mangle.c
Compiling smbd/negprot.c
Compiling smbd/message.c
Compiling smbd/nttrans.c
Compiling smbd/pipes.c
Compiling smbd/predict.c
Compiling smbd/quotas.c
Compiling smbd/reply.c
Compiling smbd/trans2.c
Compiling smbd/uid.c
Compiling smbd/dosmode.c
Compiling smbd/filename.c
Compiling smbd/open.c
Compiling smbd/close.c
Compiling smbd/blocking.c
Compiling smbd/process.c
Compiling smbd/oplock.c
Compiling smbd/service.c
Compiling smbd/error.c
Compiling param/loadparm.c
Compiling param/params.c
Compiling libsmb/clientgen.c
Compiling libsmb/namequery.c
Compiling libsmb/nmblib.c
Compiling libsmb/nterr.c
Compiling libsmb/smbdes.c
Compiling libsmb/smbencrypt.c
Compiling libsmb/smberr.c
Compiling libsmb/credentials.c
Compiling libsmb/pwd_cache.c
Compiling libsmb/passchange.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 rpc_server/srv_lsa.c
Compiling rpc_server/srv_lsa_hnd.c
Compiling rpc_server/srv_netlog.c
Compiling rpc_server/srv_pipe_hnd.c
Compiling rpc_server/srv_reg.c
Compiling rpc_server/srv_samr.c
Compiling rpc_server/srv_srvsvc.c
Compiling rpc_server/srv_util.c
Compiling rpc_server/srv_wkssvc.c
Compiling rpc_server/srv_pipe.c
Compiling rpc_client/cli_login.c
Compiling rpc_client/cli_netlogon.c
Compiling rpc_client/cli_pipe.c
Compiling rpc_client/cli_lsarpc.c
Compiling rpc_client/cli_wkssvc.c
Compiling rpc_client/cli_srvsvc.c
Compiling rpc_client/cli_reg.c
Compiling rpc_client/cli_samr.c
Compiling rpc_parse/parse_lsa.c
Compiling rpc_parse/parse_misc.c
Compiling rpc_parse/parse_net.c
Compiling rpc_parse/parse_prs.c
Compiling rpc_parse/parse_reg.c
Compiling rpc_parse/parse_rpc.c
Compiling rpc_parse/parse_samr.c
Compiling rpc_parse/parse_srv.c
Compiling rpc_parse/parse_wks.c
Compiling rpc_parse/parse_sec.c
Compiling locking/locking.c
Compiling locking/locking_shm.c
Compiling locking/locking_slow.c
Compiling locking/shmem.c
Compiling locking/shmem_sysv.c
Compiling passdb/passdb.c
Compiling passdb/smbpassfile.c
Compiling passdb/smbpass.c
Compiling passdb/pass_check.c
passdb/pass_check.c: In function `password_check':
passdb/pass_check.c:750: warning: implicit declaration of function
`crypt'
Compiling passdb/ldap.c
Compiling passdb/nispass.c
Compiling passdb/smbpasschange.c
Compiling printing/pcap.c
Compiling printing/print_svid.c
Compiling printing/printing.c
Compiling printing/print_cups.c
Compiling profile/profile.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
lib/util_unistr.c: In function `wstrstr':
lib/util_unistr.c:831: warning: cast discards qualifiers from pointer
target type
lib/util_unistr.c:836: warning: cast discards qualifiers from pointer
target type
lib/util_unistr.c: In function `wstrchr':
lib/util_unistr.c:850: warning: cast discards qualifiers from pointer
target type
lib/util_unistr.c: In function `wstrrchr':
lib/util_unistr.c:866: warning: cast discards qualifiers from pointer
target type
Compiling lib/util_file.c
Compiling lib/util.c
Compiling lib/util_sock.c
Compiling lib/util_sec.c
lib/util_sec.c:313: warning: `have_syscall' defined but not used
Compiling smbd/ssl.c
Compiling lib/fnmatch.c
Compiling lib/talloc.c
Compiling lib/hash.c
Linking bin/smbd
param/loadparm.o: In function `handle_source_env':
/luckysoft/makedir/samba-2.0.7/source/param/loadparm.c:2038: undefined
reference to `fstat'
lib/system.o: In function `sys_stat':
/luckysoft/makedir/samba-2.0.7/source/lib/system.c:186: undefined
reference to `stat'
lib/system.o: In function `sys_fstat':
/luckysoft/makedir/samba-2.0.7/source/lib/system.c:203: undefined
reference to `fstat'
lib/system.o: In function `sys_lstat':
/luckysoft/makedir/samba-2.0.7/source/lib/system.c:220: undefined
reference to `lstat'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1

I thought, stat, fstat and lstat were part of the glibc6??? They were
included in the files, I think, but why doesn't he accept them here?

Thunder




More information about the samba mailing list