Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2000 03:23:55 -0700 (PDT)
From:      Merlin.Germany@GMX.NET
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/20676: Problem by compiling the port sysutils/cdrecord
Message-ID:  <20000817102355.4AAF737B422@hub.freebsd.org>

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

>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




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