From owner-freebsd-current@FreeBSD.ORG Tue Oct 16 17:52:39 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABA4516A46C for ; Tue, 16 Oct 2007 17:52:39 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id 44D5A13C491 for ; Tue, 16 Oct 2007 17:52:38 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id l9GHcBTb096438; Tue, 16 Oct 2007 19:38:12 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id B6B84B869; Tue, 16 Oct 2007 19:38:11 +0200 (CEST) Date: Tue, 16 Oct 2007 19:38:11 +0200 From: Roland Smith To: "Aryeh M. Friedman" Message-ID: <20071016173811.GA88039@slackbox.xs4all.nl> Mail-Followup-To: "Aryeh M. Friedman" , freebsd-current@freebsd.org, freebsd-questions@freebsd.org References: <4714B6A4.3080905@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline In-Reply-To: <4714B6A4.3080905@gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by XS4ALL Virus Scanner X-Mailman-Approved-At: Tue, 16 Oct 2007 19:21:23 +0000 Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: cdrao broken on amd64? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2007 17:52:39 -0000 --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--