cdrao broken on amd64?

Roland Smith rsmith at xs4all.nl
Tue Oct 16 10:38:14 PDT 2007


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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20071016/9e60656e/attachment.pgp


More information about the freebsd-questions mailing list