Subject: pkg/18927: package graphics/avifile fails with a call oss function ...
To: None <>
From: None <,>
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
>Originator:     Juan RP
>Release:        NetBSD 1.6K
System: NetBSD 1.6K NetBSD 1.6K (xtrakernel) #2: Sun Nov 3 16:21:57 CET 2002 i386
Architecture: i386
Machine: i386

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 -rpath /usr/pkg/lib  dummy.lo loader/ videocodec/ avifile/ aviplay/ audiodecoder/ audioencoder/ audiodecoder/mpeg/ audioencoder/lame3.70/ videocodec/DirectShow/ -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/ -lpthread 
../../lib/.libs/ 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

make: stopped in /usr/pkgsrc/graphics/avifile
*** Error code 1

make: stopped in /usr/pkgsrc/graphics/avifile


cd /usr/pkgsrc/graphics/avifile && make install clean 


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
+USE_X11=               YES
 CONFIGURE_ARGS+=       --with-win32-path="${LOCALBASE}/lib/win32"
 CONFIGURE_ARGS+=       --without-qt
+.include "../../mk/"
 .include "../../devel/SDL/"
 .include "../../mk/"

Many thanks!