hello, i am experiencing some persistent compilation errors with both the 1.2beta2 release and the svn speex-trunk: =====================speexdec.o(.text+0x23b): In function `out_file_open': /speex-trunk/src/speexdec.c:158: undefined reference to `_oss_ioctl' speexdec.o(.text+0x268):/speex-trunk/src/speexdec.c:168: undefined reference to `_oss_ioctl' speexdec.o(.text+0x296):/speex-trunk/src/speexdec.c:181: undefined reference to `_oss_ioctl' *** Error code 1 Stop. make: stopped in /speex-trunk/src *** Error code 1 Stop. make: stopped in /speex-trunk *** Error code 1 Stop. make: stopped in /speex-trunk ============================i did manage to get configure to find ogg: ./configure --with-ogg=/usr/pkg i am on NetBSD 4.0_BETA2. thanks for any and all help with this. ~b -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20071010/998c7225/attachment.htm
Seems like NetBSD doesn't like the ioctl calls. Maybe you need to link with another library for that, but I don't have a NetBSD system to figure it out. If you manage do find out what library to add (-loss -lioctl ?) then let me know and I'll add that to the build. Jean-Marc bluefiftytwo wrote:> hello, > > i am experiencing some persistent compilation errors with both the > 1.2beta2 release and the svn speex-trunk: > =====================> speexdec.o(.text+0x23b): In function `out_file_open': > /speex-trunk/src/speexdec.c:158: undefined reference to `_oss_ioctl' > speexdec.o(.text+0x268):/speex-trunk/src/speexdec.c:168: undefined reference > to `_oss_ioctl' > speexdec.o(.text+0x296):/speex-trunk/src/speexdec.c:181: undefined reference > to `_oss_ioctl' > *** Error code 1 > > Stop. > make: stopped in /speex-trunk/src > *** Error code 1 > > Stop. > make: stopped in /speex-trunk > *** Error code 1 > > Stop. > make: stopped in /speex-trunk > > ============================> i did manage to get configure to find ogg: > ./configure --with-ogg=/usr/pkg > > i am on NetBSD 4.0_BETA2. > > thanks for any and all help with this. > ~b > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev
hello again, on NetBSD the library ossaudio needs to be linked in for speex to build. i did it by hand in the src/Makefile by altering LDFLAGS to "-lossaudio". it now compiles properly. thanks for your time, b On 10/11/07, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> wrote:> > Seems like NetBSD doesn't like the ioctl calls. Maybe you need to link > with another library for that, but I don't have a NetBSD system to > figure it out. If you manage do find out what library to add (-loss > -lioctl ?) then let me know and I'll add that to the build. > > Jean-Marc > > bluefiftytwo wrote: > > hello, > > > > i am experiencing some persistent compilation errors with both the > > 1.2beta2 release and the svn speex-trunk: > > =====================> > speexdec.o(.text+0x23b): In function `out_file_open': > > /speex-trunk/src/speexdec.c:158: undefined reference to `_oss_ioctl' > > speexdec.o(.text+0x268):/speex-trunk/src/speexdec.c:168: undefined > reference > > to `_oss_ioctl' > > speexdec.o(.text+0x296):/speex-trunk/src/speexdec.c:181: undefined > reference > > to `_oss_ioctl' > > *** Error code 1 > > > > Stop. > > make: stopped in /speex-trunk/src > > *** Error code 1 > > > > Stop. > > make: stopped in /speex-trunk > > *** Error code 1 > > > > Stop. > > make: stopped in /speex-trunk > > > > ============================> > i did manage to get configure to find ogg: > > ./configure --with-ogg=/usr/pkg > > > > i am on NetBSD 4.0_BETA2. > > > > thanks for any and all help with this. > > ~b > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Speex-dev mailing list > > Speex-dev@xiph.org > > http://lists.xiph.org/mailman/listinfo/speex-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20071011/4c4489b5/attachment-0001.html