[Samba] Compile Error
Patrick Beaumont
lizardloop at blueyonder.co.uk
Mon Nov 25 21:46:01 GMT 2002
I'm using Mandrake 9, with Samba version 2.2.7
When I run the ./configure it works fine
But when I do the make this is what I get
sing FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-DLOGFILEBASE="/usr/local/samba/var"
-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"
-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="/usr/local/samba/lib" -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/usr/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
-DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using FLAGS32 = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-DLOGFILEBASE="/usr/local/samba/var"
-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"
-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="/usr/local/samba/lib" -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/usr/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
-DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using LIBS = -lcups -lssl -lcrypto -lnsl -lpopt
Linking bin/smbd
printing/pcap.o: In function `pcap_printername_ok':
printing/pcap.o(.text+0xc5): undefined reference to `cups_printername_ok'
printing/pcap.o: In function `pcap_printer_fn':
printing/pcap.o(.text+0x2a9): undefined reference to `cups_printer_fn'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1
I have tried running "./configure -disable-cups" but I get the same
problem, I do not have cups installed but I wouldnt have thought that
would stop it form working.
More information about the samba
mailing list