hello again,<br><br>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.<br><br>thanks for your time,
<br>b<br><br><div><span class="gmail_quote">On 10/11/07, <b class="gmail_sendername">Jean-Marc Valin</b> <<a href="mailto:jean-marc.valin@usherbrooke.ca">jean-marc.valin@usherbrooke.ca</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Seems like NetBSD doesn't like the ioctl calls. Maybe you need to link<br>with another library for that, but I don't have a NetBSD system to<br>figure it out. If you manage do find out what library to add (-loss<br>
-lioctl ?) then let me know and I'll add that to the build.<br><br> Jean-Marc<br><br>bluefiftytwo wrote:<br>> hello,<br>><br>> i am experiencing some persistent compilation errors with both the<br>
> 1.2beta2 release and the svn speex-trunk:<br>> ======================<br>> speexdec.o(.text+0x23b): In function `out_file_open':<br>> /speex-trunk/src/speexdec.c:158: undefined reference to `_oss_ioctl'
<br>> speexdec.o(.text+0x268):/speex-trunk/src/speexdec.c:168: undefined reference<br>> to `_oss_ioctl'<br>> speexdec.o(.text+0x296):/speex-trunk/src/speexdec.c:181: undefined reference<br>> to `_oss_ioctl'
<br>> *** Error code 1<br>><br>> Stop.<br>> make: stopped in /speex-trunk/src<br>> *** Error code 1<br>><br>> Stop.<br>> make: stopped in /speex-trunk<br>> *** Error code 1<br>><br>> Stop.
<br>> make: stopped in /speex-trunk<br>><br>> =============================<br>> i did manage to get configure to find ogg:<br>> ./configure --with-ogg=/usr/pkg<br>><br>> i am on NetBSD 4.0_BETA2.<br>
><br>> thanks for any and all help with this.<br>> ~b<br>><br>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________
<br>> Speex-dev mailing list<br>> <a href="mailto:Speex-dev@xiph.org">Speex-dev@xiph.org</a><br>> <a href="http://lists.xiph.org/mailman/listinfo/speex-dev">http://lists.xiph.org/mailman/listinfo/speex-dev</a><br>
</blockquote></div><br>