From owner-freebsd-ports Thu Oct 19 21:46:57 2000 Delivered-To: freebsd-ports@freebsd.org Received: from home.bsdclub.org (home.bsdclub.org [202.227.26.94]) by hub.freebsd.org (Postfix) with ESMTP id A08BE37B4D7 for ; Thu, 19 Oct 2000 21:46:53 -0700 (PDT) Received: from galient.yf.bsdclub.org (localhost.bsdclub.org [127.0.0.1]) by home.bsdclub.org (8.9.3/3.7W) with ESMTP id NAA96532; Fri, 20 Oct 2000 13:46:48 +0900 (JST) Received: (from futatuki@localhost) by galient.yf.bsdclub.org (8.9.3/8.9.3) id NAA02029; Fri, 20 Oct 2000 13:46:22 +0900 (JST) (envelope-from futatuki) Date: Fri, 20 Oct 2000 13:46:22 +0900 (JST) Message-Id: <200010200446.NAA02029@galient.yf.bsdclub.org> To: conrad@th.physik.uni-bonn.de, mariloue@sympatico.ca Cc: freebsd-ports@freebsd.org From: Yasuhito FUTATSUKI Subject: Re: cdrdao-1.1.3 can't find it's own scglib In-Reply-To: Your message of "Wed, 18 Oct 2000 14:15:03 +0200 (CEST)". X-Mailer: mnews [version 1.22] 1999-12/19(Sun) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi. In article <000701c0366f$7eee7380$0a00a8c0@dominic.sympatico.ca> mariloue@sympatico.ca writes: > c++ -o cdrdao main.o -L. -ldao -L../paranoia -lcdda_paranoia > -L../trackdb -ltrackdb -L../edc_ecc -ledc_ecc -L../scsilib/export -lscg > -lschily -lcam > /usr/libexec/elf/ld: cannot find -lscg > gmake[1]: *** [cdrdao] Error 1 > gmake[1]: Leaving directory = > `/usr/ports/audio/cdrdao/work/cdrdao-1.1.3/dao' > gmake: *** [all] Error 1 > *** Error code 2 > I have just found this error after a complete upgrade of my ports > /usr/ports/audio/cdrdao Struct named scsi_mode_page_header causes conflict with system header file, so libscg failed to build. Try the patch below. File: files/patch-ad BEGIN --- cut here --- --- cut here --- --- cut here --- --- scsilib/libscg/scg/scsireg.h.dist Sun Mar 29 07:06:06 1998 +++ scsilib/libscg/scg/scsireg.h Fri Oct 20 13:22:52 2000 @@ -244,7 +244,7 @@ #if defined(_BIT_FIELDS_LTOH) /* Intel byteorder */ -struct scsi_mode_page_header { +struct scg_scsi_mode_page_header { Ucbit p_code : 6; Ucbit res : 1; Ucbit parsave : 1; @@ -262,7 +262,7 @@ #else /* Motorola byteorder */ -struct scsi_mode_page_header { +struct scg_scsi_mode_page_header { Ucbit parsave : 1; Ucbit res : 1; Ucbit p_code : 6; END --- cut here --- --- cut here --- --- cut here --- In article conrad@th.physik.uni-bonn.de writes: > Hi again, > > the problem even appears when I build with > > make --without-scglib > > regards > Jan If you don't wat to use scglib, set WITHOUT_SCG_LIB=yes, ie. do make WITHOUT_SCG_LIB=yes Regards, Yasuhito To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message