On Tue, Oct 16, 2007 at 01:03:32PM +0000, Aryeh M. Friedman wrote: > c++ -DDRIVER_TABLE_FILE=\"/usr/local/share/cdrdao/drivers\" -O2 > -fno-strict-aliasing -pipe -march=nocona -o cdrdao main.o ./libdao.a > ../paranoia/libcdda_paranoia.a ../trackdb/libtrackdb.a > -L../scsilib/export -lscg -lschily -L/usr/local/lib -lmad -lm > -L/usr/local/lib -lvorbisfile -lvorbis -lm -logg -pthread > -L/usr/local/lib -lao Hmm, looks like '-lcam' is missing here. > ../scsilib/export/libscg.a(scsihack.o)(.text+0x274): In function > `scgo_close': > : undefined reference to `cam_close_device' > ../scsilib/export/libscg.a(scsihack.o)(.text+0x32b): In function > `scgo_open': > : undefined reference to `cam_open_btl' > ../scsilib/export/libscg.a(scsihack.o)(.text+0x5e2): In function > `scgo_open': > : undefined reference to `cam_open_pass' > ../scsilib/export/libscg.a(scsihack.o)(.text+0x60d): In function > `scgo_open': > : undefined reference to `cam_errbuf' > ../scsilib/export/libscg.a(scsihack.o)(.text+0x899): In function > `scgo_send': > : undefined reference to `cam_send_ccb' It should link to libcam, but it doesn't. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:19 UTC