[Speex-dev] compilation errors netbsd

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Wed Oct 10 16:55:47 PDT 2007


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 at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev


More information about the Speex-dev mailing list