[Speex-dev] compilation errors netbsd
Jean-Marc Valin
jean-marc.valin at usherbrooke.ca
Thu Oct 11 16:03:56 PDT 2007
OK, that's good to know. Any idea how to enable that with automake? Any
way to detect NetBSD for that matter?
Jean-Marc
bluefiftytwo wrote:
> 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 at 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 at xiph.org
>>> http://lists.xiph.org/mailman/listinfo/speex-dev
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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