Date: Sat, 20 Apr 2002 14:45:38 -0700 (PDT) From: "Crist J. Clark" <cjc@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/37297: Problem with DPMS* functions in avifile build Message-ID: <200204202145.g3KLjcx77640@blossom.cjclark.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204202145.g3KLjcx77640>