Error while compiling pjsip with Fixed Point

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

 



Hi Benny et al,

I'm trying to use the speex aec code without the FPU (I'm working on 
uClinux and Altera-nios2).
My aconfigure options are (pjsip release is 1.2) :

./aconfigure --target=nios2-altera-linux-uclibc 
--host=nios2-linux-uclibc CFLAGS="-O3 -DNDEBUG" --disable-floating-point

while my config_site.h is:

#    define PJMEDIA_HAS_G711_CODEC    1
#    define PJMEDIA_HAS_G722_CODEC    0
#    define PJMEDIA_HAS_G7221_CODEC    0
#    define PJMEDIA_HAS_GSM_CODEC    0
#    define PJMEDIA_HAS_ILBC_CODEC    0
#    define PJMEDIA_HAS_L16_CODEC    0
#    define PJMEDIA_HAS_SPEEX_CODEC    0
*#    define PJMEDIA_HAS_SPEEX_AEC            1 *
#    define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY    0
#    define PJMEDIA_HAS_ALAW_ULAW_TABLE        1
#    define PJ_SCANNER_USE_BITWISE    0
#    define PJ_OS_HAS_CHECK_STACK    0
#    define PJ_LOG_MAX_LEVEL        0
#    define PJ_ENABLE_EXTRA_CHECK    0
#    define PJ_DEBUG            0
#    define PJSIP_SAFE_MODULE    0
#    define PJ_HAS_STRICMP_ALNUM    0
#    define PJ_HASH_USE_OWN_TOLOWER    1
#    define PJSIP_UNESCAPE_IN_PLACE    1
#    define PJSUA_MAX_CALLS        32
#    define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO        0
#    define PJMEDIA_AUDIO_DEV_HAS_WMME        0
#    define PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA        0
#    define PJMEDIA_AUDIO_DEV_HAS_SYMB_APS        0
#    define PJMEDIA_WSOLA_IMP            PJMEDIA_WSOLA_IMP_WSOLA_LITE

Unfortunately I have the following error, it seems I cannot use the 
floor function when fixed point is used.

[...]
/home/fabio/pjproject-1.2-ter-fpu/third_party/lib/libspeex-nios2-altera-linux-uclibc.a(fftwrap.o)(.text+0x294): 
In function `spx_fft_float':
: undefined reference to `floor'
/home/fabio/pjproject-1.2-ter-fpu/third_party/lib/libspeex-nios2-altera-linux-uclibc.a(fftwrap.o)(.text+0x494): 
In function `spx_ifft_float':
: undefined reference to `floor'
collect2: ld returned 1 exit status
make[2]: *** [../bin/pjmedia-test-nios2-altera-linux-uclibc] Error 1
make[2]: Leaving directory `/home/fabio/pjproject-1.2-ter-fpu/pjmedia/build'
make[1]: *** [pjmedia-test] Error 2
make[1]: Leaving directory `/home/fabio/pjproject-1.2-ter-fpu/pjmedia/build'
make: *** [all] Error 1


Does somebody solved this issue or have any suggestion? Maybe I'm 
missing some flag or option.

Thanks a lot,
Fabio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091119/4bcdb03d/attachment.html>


[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