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 &quot;-lossaudio&quot;. 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> &lt;<a href="mailto:jean-marc.valin@usherbrooke.ca">jean-marc.valin@usherbrooke.ca</a>&gt; 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&#39;t like the ioctl calls. Maybe you need to link<br>with another library for that, but I don&#39;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&#39;ll add that to the build.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Jean-Marc<br><br>bluefiftytwo wrote:<br>&gt; hello,<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i am experiencing some persistent compilation errors with both the<br>
&gt; 1.2beta2 release and the svn speex-trunk:<br>&gt; ======================<br>&gt; speexdec.o(.text+0x23b): In function `out_file_open&#39;:<br>&gt; /speex-trunk/src/speexdec.c:158: undefined reference to `_oss_ioctl&#39;
<br>&gt; speexdec.o(.text+0x268):/speex-trunk/src/speexdec.c:168: undefined reference<br>&gt; to `_oss_ioctl&#39;<br>&gt; speexdec.o(.text+0x296):/speex-trunk/src/speexdec.c:181: undefined reference<br>&gt; to `_oss_ioctl&#39;
<br>&gt; *** Error code 1<br>&gt;<br>&gt; Stop.<br>&gt; make: stopped in /speex-trunk/src<br>&gt; *** Error code 1<br>&gt;<br>&gt; Stop.<br>&gt; make: stopped in /speex-trunk<br>&gt; *** Error code 1<br>&gt;<br>&gt; Stop.
<br>&gt; make: stopped in /speex-trunk<br>&gt;<br>&gt; =============================<br>&gt; i did manage to get configure to find ogg:<br>&gt; ./configure --with-ogg=/usr/pkg<br>&gt;<br>&gt; i am on&nbsp;&nbsp;NetBSD 4.0_BETA2.<br>
&gt;<br>&gt; thanks for any and all help with this.<br>&gt; ~b<br>&gt;<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________
<br>&gt; Speex-dev mailing list<br>&gt; <a href="mailto:Speex-dev@xiph.org">Speex-dev@xiph.org</a><br>&gt; <a href="http://lists.xiph.org/mailman/listinfo/speex-dev">http://lists.xiph.org/mailman/listinfo/speex-dev</a><br>
</blockquote></div><br>