Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2007 19:38:11 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
Cc:        freebsd-current@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: cdrao broken on amd64?
Message-ID:  <20071016173811.GA88039@slackbox.xs4all.nl>
In-Reply-To: <4714B6A4.3080905@gmail.com>
References:  <4714B6A4.3080905@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 16, 2007 at 01:03:32PM +0000, Aryeh M. Friedman wrote:
> c++ -DDRIVER_TABLE_FILE=3D\"/usr/local/share/cdrdao/drivers\" -O2
> -fno-strict-aliasing -pipe -march=3Dnocona   -o cdrdao  main.o ./libdao.a
> ../paranoia/libcdda_paranoia.a ../trackdb/libtrackdb.a
> -L../scsilib/export -lscg -lschily -L/usr/local/lib -lmad -lm =20
> -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
--=20
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)

--Qxx1br4bt0+wmkIi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHFPcDEnfvsMMhpyURArQ0AJ0VAHckyybEauv0yGLq0dGvoewq6gCeNfph
1lHRWVI7INIHTpGddfCPK9E=
=yNz7
-----END PGP SIGNATURE-----

--Qxx1br4bt0+wmkIi--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071016173811.GA88039>