CUPS/compiling problem in Linux-Mandrake 7.2

KXI Technology, Inc. kxitech at ntcnet.com
Thu Dec 21 19:49:47 GMT 2000


I am a complete Newbie to Linux and Samba. I am trying to install Linux/Samba to replace our old Win server. 

When I tried to compile Samba the first time, I got an error "cups/cups.h: No such file or directory". I read a post here 
that said to run configure (which I had) or rem out the CUPS library include line in config.h. Did that. The old error 
disappeared, now I have a new one:

When running make, I get an error as follows:

Linking bin/smbd
printing/pcap.o: In Function 'pcap_printername_ok':
printing/pcap.o(.text+0xdd): undefined reference to 'cups_printername_ok'
printing/pcap.o: In function 'pcap_printer_fn':
printing/pcap.o(.text+0x2c5): undefined reference to 'cups_printername_fn'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1

Any ideas? I have been fighting with this thing for 4 days now and Windows is starting to look better and better all the 
time :-(

Tim Pauly






More information about the samba mailing list