disable speex options like VBR and/or floating point

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 19, 2008 at 2:02 PM, Erwan A <mout551 at hotmail.fr> wrote:
> Hi Benny,
>
> I have these following errors (just the end) :
>
> .
> .
> .
> /home/erwan/pjsip_fpu/pjproject-0.8.0/third_party/lib/libspeex-arm-unknown-linux-gnu.a(vbr.o)(.text+0x6a4):
> In function `$a':
> : undefined reference to `logf'
> /home/erwan/pjsip_fpu/pjproject-0.8.0/third_party/lib/libspeex-arm-unknown-linux-gnu.a(vbr.o)(.text+0x740):
> In function `$a':
> : undefined reference to `log'
> /home/erwan/pjsip_fpu/pjproject-0.8.0/third_party/lib/libspeex-arm-unknown-linux-gnu.a(vbr.o)(.text+0x750):
> In function `$a':
> : undefined reference to `log'
> /home/erwan/pjsip_fpu/pjproject-0.8.0/third_party/lib/libspeex-arm-unknown-linux-gnu.a(vbr.o)(.text+0x784):
> In function `$a':
> : undefined reference to `log'
> /home/erwan/pjsip_fpu/pjproject-0.8.0/third_party/lib/libspeex-arm-unknown-linux-gnu.a(vbr.o)(.text+0x794):
> In function `$a':
> : undefined reference to `log'
> collect2: ld returned 1 exit status
> make[2]: *** [../bin/pjsua-arm-unknown-linux-gnu] Erreur 1
> make[2]: Leaving directory
> `/home/erwan/pjsip_fpu/pjproject-0.8.0/pjsip-apps/build'
> make[1]: *** [pjsua] Erreur 2
> make[1]: Leaving directory
> `/home/erwan/pjsip_fpu/pjproject-0.8.0/pjsip-apps/build'
> make: *** [all] Erreur 1
>
>
> I use this ./configure :
>
> ./aconfigure --host=arm-linux --disable-floating-point --disable-speex-aec
> --disable-oss --prefix=/home/erwan/pjsua --exec-prefix=/home/erwan/pjsua
> --disable-ilbc-codec
>

It seems that you need to add -lm in your LDFLAGS. You can put this in
user.mak file in root pjsip directory:

export LDFLAGS += -lm

or probably run ./aconfigure with LDFLAGS=-lm argument.

Although libm will be linked it won't be used since we don't use vbr.

>
> Actually, i would like to validate these options with speex :
> --enable-fixed-point, --disable-float-api and --disable-vbr
>
> and thus, remove vbr errors.
>

We don't have --disable-float-api and --disable-speex-vbr of course,
but feel free to suggest a patch. ;-)

Cheers
 Benny


>
> Regards,
> Erwan
>
>
>> Date: Mon, 19 May 2008 13:33:53 +0100
>> From: bennylp@xxxxxxxxx
>> To: pjsip at lists.pjsip.org
>> Subject: Re: disable speex options like VBR and/or floating point
>>
>> On Mon, May 19, 2008 at 12:05 PM, Erwan A <mout551 at hotmail.fr> wrote:
>> > Hi all,
>> >
>> > i want to cross compil pjsua on ARM. During cross compilation, i have
>> > errors
>> > with libspeex. (vbr.o). I use --disable-floating-point in ./configure
>> > options.
>> >
>> > When i compile speex alone, it is possible to disable vbr.
>> >
>> > When i compile pjsua, i can only use --disable-speex-aec to configure
>> > speex,
>> > but there is no options to disable vbr. Is it possible to configure
>> > speex
>> > (to compil in fixed point and to disable vbr option) by using pjsua ?
>> >
>>
>> Actually we don't use vbr feature of speex, but we don't have the
>> option to exclude vbr.c from the build process for now. What was the
>> error?
>>
>> By the way yes --disable-floating-point will activate fixed point
>> implementation in speex.
>>
>> Cheers
>> Benny
>>
>>
>> > Regards,
>> > Erwan
>> >
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
> ________________________________
> Plus de 15 millions de fran?ais utilisent Windows Live Messenger !
> T?l?chargez Messenger, c'est gratuit !
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux