When I make, I obtain the following errors Using FLAGS = -O -D_SAMBA_BUILD_ -I./popt -Iinclude -I/usr/local/src/samba-3.0. 21c/source/include -I/usr/local/src/samba-3.0.21c/source/ubiqx -I/usr/local/src/ samba-3.0.21c/source/tdb -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GN U_SOURCE -I/usr/local/src/samba-3.0.21c/source -D_SAMBA_BUILD_ LIBS = -lcrypt -lresolv -lnsl -ldl LDSHFLAGS = -shared -Wl,-Bsymbolic -Wl,-rpath,/usr/lib LDFLAGS = -Wl,-rpath,/usr/lib PIE_CFLAGS PIE_LDFLAGS Linking bin/smbd printing/print_cups.o(.text+0x20b): In function `cups_cache_reload': : undefined reference to `cupsLangDefault' printing/print_cups.o(.text+0x75d): In function `cups_job_delete': : undefined reference to `cupsLangDefault' printing/print_cups.o(.text+0xa9d): In function `cups_job_pause': : undefined reference to `cupsLangDefault' printing/print_cups.o(.text+0xddd): In function `cups_job_resume': : undefined reference to `cupsLangDefault' printing/print_cups.o(.text+0x113a): In function `cups_job_submit': : undefined reference to `cupsLangDefault' printing/print_cups.o(.text+0x16c8): more undefined references to `cupsLangDefau lt' follow collect2: ld returned 1 exit status make: *** [bin/smbd] Error 1 ________________________ Ing. Maurizio Faccio Merbe Ltda. Av. Italia 2348. Paysand?, Uruguay Tel : 598-72-29043 Int. 130 Fax: 598-72-22591 ________________________ Ing. Maurizio Faccio Merbe Ltda. Av. Italia 2348. Paysand?, Uruguay Tel : 598-72-29043 Int. 130 Fax: 598-72-22591
Gerald (Jerry) Carter
2006-Mar-12 23:28 UTC
[Samba] Trouble making Samba-3.0.21c on Ubuntu
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Maurizio Faccio wrote:> > When I make, I obtain the following errors...> Linking bin/smbd > printing/print_cups.o(.text+0x20b): In function `cups_cache_reload': > : undefined reference to `cupsLangDefault' > printing/print_cups.o(.text+0x75d): In function `cups_job_delete': > : undefined reference to `cupsLangDefault' > printing/print_cups.o(.text+0xa9d): In function `cups_job_pause': > : undefined reference to `cupsLangDefault' > printing/print_cups.o(.text+0xddd): In function `cups_job_resume': > : undefined reference to `cupsLangDefault' > printing/print_cups.o(.text+0x113a): In function `cups_job_submit': > : undefined reference to `cupsLangDefault' > printing/print_cups.o(.text+0x16c8): more undefined references to `cupsLangDefau > lt' follow > collect2: ld returned 1 exit status > make: *** [bin/smbd] Error 1???? What configure flags did you use? And are the cups development files installed in somewhere other than /usr/{include,lib}? cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEFK6OIR7qMdg1EfYRAnOYAJ9OaJ+6Av+wqtv2myszQB7iMLF1XACg7bQg M48PNTqkF3sskhPjoy7oK58=2oMl -----END PGP SIGNATURE-----