Subject: pkg/18927: package graphics/avifile fails with a call oss function ...
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Juan@xtraeme.dyndns.org, RP@xtraeme.dyndns.org>
List: netbsd-bugs
Date: 11/04/2002 18:45:59
>Number: 18927
>Category: pkg
>Synopsis: package graphics/avifile fails with a call oss function ...
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Nov 04 09:46:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Juan RP
>Release: NetBSD 1.6K
>Organization:
HispaBSD
>Environment:
System: NetBSD xtraeme.dyndns.org 1.6K NetBSD 1.6K (xtrakernel) #2: Sun Nov 3 16:21:57 CET 2002 root@xtraeme.dyndns.org:/usr/src/sys/arch/i386/compile/xtrakernel i386
Architecture: i386
Machine: i386
>Description:
The package avifile fails in compilation, when call an function ,which is not defined ...
...
gmake[2]: Leaving directory `/usr/obj.pkgsrc/graphics/avifile/work.i386/avifile-0.53.5/lib/aviplay'
gmake[2]: Entering directory `/usr/obj.pkgsrc/graphics/avifile/work.i386/avifile-0.53.5/lib'
/bin/sh ../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/pkg/include -march=i586 -I/usr/pkg/include/SDL -D_REENTRANT -w -I/usr/pkg/include -c dummy.cpp
/bin/sh ../libtool --silent --mode=link c++ -I/usr/pkg/include -li386 -o libaviplay.la -rpath /usr/pkg/lib dummy.lo loader/libloader.la videocodec/libvideocodec.la avifile/libavi_io.la aviplay/libaviplay.la audiodecoder/libaudiodec.la audioencoder/libaudioenc.la audiodecoder/mpeg/libmpeg.la audioencoder/lame3.70/libmp3lame.la videocodec/DirectShow/libds_videocodec.la -lpthread
gmake[2]: Leaving directory `/usr/obj.pkgsrc/graphics/avifile/work.i386/avifile-0.53.5/lib'
gmake[1]: Leaving directory `/usr/obj.pkgsrc/graphics/avifile/work.i386/avifile-0.53.5/lib'
Making all in samples
gmake[1]: Entering directory `/usr/obj.pkgsrc/graphics/avifile/work.i386/avifile-0.53.5/samples'
Making all in extractor
gmake[2]: Entering directory `/usr/obj.pkgsrc/graphics/avifile/work.i386/avifile-0.53.5/samples/extractor'
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/pkg/include -march=i586 -I/usr/pkg/include/SDL -D_REENTRANT -w -I../../include -march=i586 -c extractor.cpp
/bin/sh ../../libtool --silent --mode=link c++ -I../../include -march=i586 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o extractor extractor.o ../../lib/libaviplay.la -lpthread
../../lib/.libs/libaviplay.so: undefined reference to `_oss_ioctl'
gmake[2]: *** [extractor] Error 1
gmake[2]: Leaving directory `/usr/obj.pkgsrc/graphics/avifile/work.i386/avifile-0.53.5/samples/extractor'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/obj.pkgsrc/graphics/avifile/work.i386/avifile-0.53.5/samples'
gmake: *** [all-recursive] Error 1
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/graphics/avifile
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/avifile
>How-To-Repeat:
cd /usr/pkgsrc/graphics/avifile && make install clean
>Fix:
Index: Makefile
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/graphics/avifile/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile 2002/08/28 02:14:36 1.13
+++ Makefile 2002/11/04 17:44:57
@@ -18,10 +18,12 @@
USE_GMAKE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+USE_X11= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-win32-path="${LOCALBASE}/lib/win32"
CONFIGURE_ARGS+= --without-qt
+.include "../../mk/ossaudio.buildlink2.mk"
.include "../../devel/SDL/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
Many thanks!
>Release-Note:
>Audit-Trail:
>Unformatted: