From owner-freebsd-ports Sat Apr 20 14:50:30 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B41EF37B420 for ; Sat, 20 Apr 2002 14:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3KLo1573115; Sat, 20 Apr 2002 14:50:01 -0700 (PDT) (envelope-from gnats) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 4A07C37B404 for ; Sat, 20 Apr 2002 14:45:39 -0700 (PDT) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020420214539.XXRQ12144.rwcrmhc53.attbi.com@blossom.cjclark.org> for ; Sat, 20 Apr 2002 21:45:39 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g3KLjcx77640; Sat, 20 Apr 2002 14:45:38 -0700 (PDT) (envelope-from cjc) Message-Id: <200204202145.g3KLjcx77640@blossom.cjclark.org> Date: Sat, 20 Apr 2002 14:45:38 -0700 (PDT) From: "Crist J. Clark" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/37297: Problem with DPMS* functions in avifile build Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37297 >Category: ports >Synopsis: Problem with DPMS* functions in avifile build >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 20 14:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Crist J. Clark >Release: FreeBSD 4.5-RELEASE i386 >Organization: >Environment: 4.5-STABLE. XFree86-4.2.0_1,1. >Description: A build of the avifile port fails in the samples/misc directory. gmake[2]: Entering directory `/usr/tmp/ports/usr/ports/graphics/avifile/work/avifile0.6-20011220/samples/misc' source='benchmark.cpp' object='benchmark.o' libtool=no \ depfile='.deps/benchmark.Po' tmpdepfile='.deps/benchmark.TPo' \ depmode=gcc /bin/sh ../../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/X11R6/include -I../../lib/aviread -I/usr/include -D_GETOPT_H -D_PTH_H_ -D_PTH_PTHREAD_H_ -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include/qt2 -Wall -Wno-unused -O -pipe -march=k6 -I/usr/local/include -pipe -c -o benchmark.o `test -f benchmark.cpp || echo './'`benchmark.cpp /bin/sh ../../libtool --mode=link c++ -O -pipe -march=k6 -I/usr/local/include -pipe -L/usr/X11R6/lib -o avibench benchmark.o ../../lib/libaviplay.la -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL-1.1 -pthread -lXft -lm -L/usr/X11R6/lib -lXxf86dga -lXxf86vm -lXv -lXi -lXext -lX11 -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -lgcc -lstdc++ -lm mkdir .libs c++ -O -pipe -march=k6 -I/usr/local/include -pipe -o .libs/avibench benchmark.o -Wl,-rpath -Wl,/usr/local/lib -pthread -pthread -Wl,-export-dynamic -L/usr/X11R6/lib ../../lib/.libs/libaviplay.so -L/usr/local/lib -lSDL-1.1 -lXft -lXxf86dga -lXxf86vm -lXv -lXi -lXext -lX11 -ljpeg -lgcc -lstdc++ -lm -Wl,--rpath -Wl,/usr/local/lib creating avibench source='avicat.cpp' object='avicat.o' libtool=no \ depfile='.deps/avicat.Po' tmpdepfile='.deps/avicat.TPo' \ depmode=gcc /bin/sh ../../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/X11R6/include -I../../lib/aviread -I/usr/include -D_GETOPT_H -D_PTH_H_ -D_PTH_PTHREAD_H_ -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include/qt2 -Wall -Wno-unused -O -pipe -march=k6 -I/usr/local/include -pipe -c -o avicat.o `test -f avicat.cpp || echo './'`avicat.cpp /bin/sh ../../libtool --mode=link c++ -O -pipe -march=k6 -I/usr/local/include -pipe -L/usr/X11R6/lib -o avicat avicat.o ../../lib/libaviplay.la -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL-1.1 -pthread -lXft -lm -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -lgcc -lstdc++ -lm c++ -O -pipe -march=k6 -I/usr/local/include -pipe -o .libs/avicat avicat.o -Wl,-rpath -Wl,/usr/local/lib -pthread -pthread -Wl,-export-dynamic -L/usr/X11R6/lib ../../lib/.libs/libaviplay.so -L/usr/local/lib -lXxf86dga -lXxf86vm -lXi -lSDL-1.1 -lXft -ljpeg -lgcc -lstdc++ -lm -Wl,--rpath -Wl,/usr/local/lib ../../lib/.libs/libaviplay.so: undefined reference to `DPMSDisable' ../../lib/.libs/libaviplay.so: undefined reference to `DPMSQueryExtension' ../../lib/.libs/libaviplay.so: undefined reference to `DPMSEnable' ../../lib/.libs/libaviplay.so: undefined reference to `DPMSInfo' gmake[2]: *** [avicat] Error 1 gmake[2]: Leaving directory `/usr/tmp/ports/usr/ports/graphics/avifile/work/avifile0.6-20011220/samples/misc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/tmp/ports/usr/ports/graphics/avifile/work/avifile0.6-20011220/samples' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/graphics/avifile. >How-To-Repeat: On a XFree86 4.2.0 system, # cd /usr/ports/graphics/avifile # make >Fix: In XFree86-4.2.0 the DPMS* functions live in libXext. This library is not being included. This is also a problem for avitype and avimake. Adding $(XLIBRARY) to the avicat_LDADD make variable in the Makefile was the quick fix I used to get it to work. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message