From owner-freebsd-ports Thu Aug 17 3:51:24 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 28A3F37B7EE for ; Thu, 17 Aug 2000 03:51:12 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA23229; Thu, 17 Aug 2000 03:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 4AAF737B422; Thu, 17 Aug 2000 03:23:55 -0700 (PDT) Message-Id: <20000817102355.4AAF737B422@hub.freebsd.org> Date: Thu, 17 Aug 2000 03:23:55 -0700 (PDT) From: Merlin.Germany@GMX.NET To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/20676: Problem by compiling the port sysutils/cdrecord Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 20676 >Category: ports >Synopsis: Problem by compiling the port sysutils/cdrecord >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Aug 17 03:30:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Sascha Valckenier Kips >Release: Freebsd 4.1-stable >Organization: Privat >Environment: FreeBSD rq00130.ruv.de 4.1-STABLE FreeBSD 4.1-STABLE #0: Tue Aug 15 16:10:48 GMT 2000 ve0381@rq00130.ruv.de:/usr/obj/usr/src/sys/RQ00130 i386 >Description: Problem by compiling the port sysutils/cdrecord. in the system-includes is defines "scsi_mode_page_header" now. By the lib scg fault the make while the include file from the port have the self define the the file scsireg.h. The compile does not succesfully. snap ------------------------- cc -o OBJ/i386-freebsd-cc/readcd OBJ/i386-freebsd-cc/readcd.o OBJ/i386-freebsd-cc/cd_misc.o OBJ/i386-freebsd-cc/io.o OBJ/i386-freebsd-cc/scsi_cdr.o OBJ/i386-freebsd-cc/modes.o OBJ/i386-freebsd-cc/misc.o -L../libs/i386-freebsd-cc -L/opt/schily/lib -lscg -lschily -lcam /usr/libexec/elf/ld: cannot find -lscg gmake[1]: *** [OBJ/i386-freebsd-cc/readcd] Fehler 1 ------------------------- gmake[2]: Wechsel in das Verzeichnis Verzeichnis »/usr/ports/sysutils/cdrecord/work/cdrecord-1.9/libscg« cc -I. -IOBJ/i386-freebsd-cc -I../incs/i386-freebsd-cc -I../include -DUSE_PG -c -o OBJ/i386-freebsd-cc/scsitransp.o scsitransp.c In file included from /usr/include/cam/cam_ccb.h:41, from scsi-bsd.c:531, from scsihack.c:59, from scsitransp.c:104: /usr/include/cam/scsi/scsi_all.h:681: redefinition of `struct scsi_mode_page_header' gmake[2]: *** [OBJ/i386-freebsd-cc/scsitransp.o] Fehler 1 gmake[2]: Verlassen des Verzeichnisses Verzeichnis »/usr/ports/sysutils/cdrecord/work/cdrecord-1.9/libscg« gmake[1]: *** [all] Fehler 2 gmake[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/ports/sysutils/cdrecord/work/cdrecord-1.9/libscg« ------------------------- >How-To-Repeat: the problem will repeat by recompiling. >Fix: in the scsireg.h must the define comment out. and other compiles have a problem with the comment out. After the first compile for the scg lib, comment the define in. Then compile again. It Work's, but not the fix for the problem. Please fix that problem with a patch. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message