Segmentation fault (core dumped)

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

 



Any suggestion please!. According to other google search tried all of them, none
is just working.


Tried: http://trac.pjsip.org/repos/wiki/Getting-Started/Autoconf
===============================================================
- Run without echo canceller
$ pjsua --ec-tail=0

- Run without sound device
$ pjsua --null-audio

Optional Features: 
--disable-floating-point  	Disable floating point where possible
--disable-sound 	Exclude sound (i.e. use null sound)
--disable-small-filter 	Exclude small filter in resampling
--disable-large-filter 	Exclude large filter in resampling
--disable-g711-plc 	Exclude G.711 Annex A PLC
--disable-speex-aec 	Exclude Speex Acoustic Echo Canceller/AEC
--disable-g711-codec 	Exclude G.711 codecs from the build
--disable-l16-codec 	Exclude Linear/L16 codec family from the build
--disable-gsm-codec 	Exclude GSM codec in the build
--disable-speex-codec 	Exclude Speex codecs in the build
--disable-ilbc-codec 	Exclude iLBC codec in the build
--disable-tls 	Force excluding TLS support (default is autodetected based on
OpenSSL availability)
...



NO LUCK,
===========================
[root at example pjsua]# ls
gui.h  main.c  main.c~  main_rtems.c  Makefile  pjsua_app.c  pjsua_app.c~
[root at example pjsua]# 

[root at example pjsua]# make
gcc -DPJ_AUTOCONF=1 -O2 
-I/home/sun/Downloads/pjsip/trunk/pjlib/include
-I/home/sun/Downloads/pjsip/trunk/pjlib-util/include
-I/home/sun/Downloads/pjsip/trunk/pjnath/include
-I/home/sun/Downloads/pjsip/trunk/pjmedia/include
-I/home/sun/Downloads/pjsip/trunk/pjsip/include -DPJ_AUTOCONF=1 -O2
-I/home/sun/Downloads/pjsip/trunk/pjlib/include
-I/home/sun/Downloads/pjsip/trunk/pjlib-util/include
-I/home/sun/Downloads/pjsip/trunk/pjnath/include
-I/home/sun/Downloads/pjsip/trunk/pjmedia/include
-I/home/sun/Downloads/pjsip/trunk/pjsip/include
-L/home/sun/Downloads/pjsip/trunk/pjlib/lib
-L/home/sun/Downloads/pjsip/trunk/pjlib-util/lib
-L/home/sun/Downloads/pjsip/trunk/pjnath/lib
-L/home/sun/Downloads/pjsip/trunk/pjmedia/lib
-L/home/sun/Downloads/pjsip/trunk/pjsip/lib
-L/home/sun/Downloads/pjsip/trunk/third_party/lib   
main.c 
-lpjsua-i686-pc-linux-gnu 
-lpjsip-ua-i686-pc-linux-gnu
-lpjsip-simple-i686-pc-linux-gnu 
-lpjsip-i686-pc-linux-gnu
-lpjmedia-codec-i686-pc-linux-gnu 
-lpjmedia-i686-pc-linux-gnu
-lpjmedia-audiodev-i686-pc-linux-gnu 
-lpjnath-i686-pc-linux-gnu
-lpjlib-util-i686-pc-linux-gnu 
-lresample-i686-pc-linux-gnu
-lmilenage-i686-pc-linux-gnu 
-lsrtp-i686-pc-linux-gnu
-lgsmcodec-i686-pc-linux-gnu 
-lspeex-i686-pc-linux-gnu
-lilbccodec-i686-pc-linux-gnu 
-lg7221codec-i686-pc-linux-gnu 
-lpj-i686-pc-linux-gnu 
-lnsl -lrt -lpthread  
-o main

/usr/local/lib/libpjmedia-i686-pc-linux-gnu.a(tonegen.o): In function
`tonegen_get_frame':
tonegen.c:(.text+0xa82): undefined reference to `sin'
tonegen.c:(.text+0xc41): undefined reference to `sin'
tonegen.c:(.text+0xc83): undefined reference to `sin'
/usr/local/lib/libpjmedia-i686-pc-linux-gnu.a(wsola.o): In function
`pjmedia_wsola_create':
wsola.c:(.text+0x828): undefined reference to `cos'
/usr/local/lib/libpjmedia-audiodev-i686-pc-linux-gnu.a(errno.o): In function
`pjmedia_audiodev_strerror':
errno.c:(.text+0xbb): undefined reference to `Pa_GetErrorText'
/usr/local/lib/libpjmedia-audiodev-i686-pc-linux-gnu.a(pa_dev.o): In function
`strm_destroy':
pa_dev.c:(.text+0x7d): undefined reference to `Pa_CloseStream'
pa_dev.c:(.text+0x93): undefined reference to `Pa_CloseStream'
/usr/local/lib/libpjmedia-audiodev-i686-pc-linux-gnu.a(pa_dev.o): In function
`strm_stop':
pa_dev.c:(.text+0x19e): undefined reference to `Pa_StopStream'
pa_dev.c:(.text+0x1b4): undefined reference to `Pa_StopStream'
/usr/local/lib/libpjmedia-audiodev-i686-pc-linux-gnu.a(pa_dev.o): In function
`strm_start':
pa_dev.c:(.text+0x284): undefined reference to `Pa_StartStream'
pa_dev.c:(.text+0x2c0): undefined reference to `Pa_StartStream'
pa_dev.c:(.text+0x2d1): undefined reference to `Pa_StopStream'
/usr/local/lib/libpjmedia-audiodev-i686-pc-linux-gnu.a(pa_dev.o): In function
`strm_get_cap':
pa_dev.c:(.text+0x363): undefined reference to `Pa_GetStreamInfo'
pa_dev.c:(.text+0x3a3): undefined reference to `Pa_GetStreamInfo'
/usr/local/lib/libpjmedia-audiodev-i686-pc-linux-gnu.a(pa_dev.o): In function
`pa_get_default_input_dev':
pa_dev.c:(.text+0x3fc): undefined reference to `Pa_GetHostApiCount'
pa_dev.c:(.text+0x414): undefined reference to `Pa_GetHostApiInfo'
pa_dev.c:(.text+0x429): undefined reference to `Pa_GetDeviceInfo'
pa_dev.c:(.text+0x43b): undefined reference to `Pa_GetDeviceCount'
pa_dev.c:(.text+0x45b): undefined reference to `Pa_GetDeviceInfo'
/usr/local/lib/libpjmedia-audiodev-i686-pc-linux-gnu.a(pa_dev.o): In function
`pa_get_default_output_dev':
pa_dev.c:(.text+0x49c): undefined reference to `Pa_GetHostApiCount'
pa_dev.c:(.text+0x4b4): undefined reference to `Pa_GetHostApiInfo'
pa_dev.c:(.text+0x4c9): undefined reference to `Pa_GetDeviceInfo'
pa_dev.c:(.text+0x4db): undefined reference to `Pa_GetDeviceCount'
pa_dev.c:(.text+0x4fb): undefined reference to `Pa_GetDeviceInfo'
/usr/local/lib/libpjmedia-audiodev-i686-pc-linux-gnu.a(pa_dev.o): In function
`pa_get_dev_count':
pa_dev.c:(.text+0x537): undefined reference to `Pa_GetDeviceCount'
/usr/local/lib/libpjmedia-audiodev-i686-pc-linux-gnu.a(pa_dev.o): In function
`pa_destroy':
pa_dev.c:(.text+0x7fa): undefined reference to `Pa_Terminate'
/usr/local/lib/libpjmedia-audiodev-i686-pc-linux-gnu.a(pa_dev.o): In function
`pa_init':
pa_dev.c:(.text+0x858): undefined reference to `Pa_Initialize'
pa_dev.c:(.text+0x8b3): undefined reference to `Pa_GetHostApiCount'
/usr/local/lib/libpjmedia-audiodev-i686-pc-linux-gnu.a(pa_dev.o): In function
`pa_get_dev_info':
pa_dev.c:(.text+0xd09): undefined reference to `Pa_GetDeviceInfo'
/usr/local/lib/libpjmedia-audiodev-i686-pc-linux-gnu.a(pa_dev.o): In function
`strm_get_param':
pa_dev.c:(.text+0xf14): undefined reference to `Pa_GetStreamInfo'
pa_dev.c:(.text+0xf2f): undefined reference to `Pa_GetStreamInfo'
/usr/local/lib/libpjmedia-audiodev-i686-pc-linux-gnu.a(pa_dev.o): In function
`pa_create_stream':
pa_dev.c:(.text+0x10d8): undefined reference to `Pa_GetDeviceInfo'
pa_dev.c:(.text+0x1105): undefined reference to `Pa_GetDeviceInfo'
pa_dev.c:(.text+0x12da): undefined reference to `Pa_GetHostApiInfo'
pa_dev.c:(.text+0x1340): undefined reference to `Pa_GetHostApiInfo'
pa_dev.c:(.text+0x1382): undefined reference to `Pa_GetStreamInfo'
pa_dev.c:(.text+0x139c): undefined reference to `Pa_GetStreamInfo'
pa_dev.c:(.text+0x1400): undefined reference to `Pa_GetDeviceInfo'
pa_dev.c:(.text+0x15a6): undefined reference to `Pa_GetHostApiInfo'
pa_dev.c:(.text+0x15f5): undefined reference to `Pa_OpenStream'
pa_dev.c:(.text+0x160a): undefined reference to `Pa_GetStreamInfo'
pa_dev.c:(.text+0x16d6): undefined reference to `Pa_GetDeviceInfo'
pa_dev.c:(.text+0x1882): undefined reference to `Pa_GetHostApiInfo'
pa_dev.c:(.text+0x18d1): undefined reference to `Pa_OpenStream'
pa_dev.c:(.text+0x18e6): undefined reference to `Pa_GetStreamInfo'
pa_dev.c:(.text+0x1a80): undefined reference to `Pa_OpenStream'
pa_dev.c:(.text+0x1ad0): undefined reference to `Pa_OpenStream'
pa_dev.c:(.text+0x1aeb): undefined reference to `Pa_CloseStream'
pa_dev.c:(.text+0x1c68): undefined reference to `Pa_OpenStream'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(mdf.o): In function
`speex_echo_state_init':
mdf.c:(.text+0x983): undefined reference to `cos'
mdf.c:(.text+0x9ee): undefined reference to `exp'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(mdf.o): In function
`speex_echo_cancellation':
mdf.c:(.text+0xf4d): undefined reference to `sqrtf'
mdf.c:(.text+0x1d8c): undefined reference to `sqrtf'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(nb_celp.o): In function
`nb_decoder_ctl':
nb_celp.c:(.text+0xfa): undefined reference to `log'
nb_celp.c:(.text+0x10b): undefined reference to `log'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(nb_celp.o): In function `nb_encode'
nb_celp.c:(.text+0x163b): undefined reference to `floor'
nb_celp.c:(.text+0x1694): undefined reference to `log'
nb_celp.c:(.text+0x16a8): undefined reference to `floor'
nb_celp.c:(.text+0x16e3): undefined reference to `exp'
nb_celp.c:(.text+0x1b85): undefined reference to `floorf'
nb_celp.c:(.text+0x2674): undefined reference to `sqrt'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(nb_celp.o): In function `nb_decode'
nb_celp.c:(.text+0x2c41): undefined reference to `exp'
nb_celp.c:(.text+0x2d21): undefined reference to `exp'
nb_celp.c:(.text+0x33e0): undefined reference to `sqrt'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(preprocess.o): In function
`speex_preprocess_ctl':
preprocess.c:(.text+0x2da): undefined reference to `log'
preprocess.c:(.text+0x2ee): undefined reference to `floor'
preprocess.c:(.text+0x324): undefined reference to `exp'
preprocess.c:(.text+0x342): undefined reference to `log'
preprocess.c:(.text+0x36d): undefined reference to `exp'
preprocess.c:(.text+0x39d): undefined reference to `exp'
preprocess.c:(.text+0x52a): undefined reference to `log'
preprocess.c:(.text+0x554): undefined reference to `pow'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(preprocess.o): In function
`speex_preprocess_run':
preprocess.c:(.text+0xec0): undefined reference to `exp'
preprocess.c:(.text+0xed9): undefined reference to `exp'
preprocess.c:(.text+0xf24): undefined reference to `sqrt'
preprocess.c:(.text+0xf57): undefined reference to `sqrt'
preprocess.c:(.text+0x104f): undefined reference to `exp'
preprocess.c:(.text+0x10a8): undefined reference to `floorf'
preprocess.c:(.text+0x1135): undefined reference to `sqrt'
preprocess.c:(.text+0x12a2): undefined reference to `sqrt'
preprocess.c:(.text+0x12dd): undefined reference to `sqrt'
preprocess.c:(.text+0x1360): undefined reference to `floorf'
preprocess.c:(.text+0x13e8): undefined reference to `sqrt'
preprocess.c:(.text+0x179a): undefined reference to `pow'
preprocess.c:(.text+0x18b6): undefined reference to `sqrtf'
preprocess.c:(.text+0x1951): undefined reference to `pow'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(preprocess.o): In function
`speex_preprocess_state_init':
preprocess.c:(.text+0x1cd2): undefined reference to `cos'
preprocess.c:(.text+0x1d04): undefined reference to `sqrtf'
preprocess.c:(.text+0x1d47): undefined reference to `cos'
preprocess.c:(.text+0x1f19): undefined reference to `exp'
preprocess.c:(.text+0x1fa6): undefined reference to `exp'
preprocess.c:(.text+0x1fc1): undefined reference to `exp'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(sb_celp.o): In function
`sb_encoder_ctl':
sb_celp.c:(.text+0x8e0): undefined reference to `floor'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(sb_celp.o): In function `sb_decode'
sb_celp.c:(.text+0x10c9): undefined reference to `sqrtf'
sb_celp.c:(.text+0x1246): undefined reference to `exp'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(sb_celp.o): In function `sb_encode'
sb_celp.c:(.text+0x1fea): undefined reference to `log'
sb_celp.c:(.text+0x2094): undefined reference to `floorf'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(vbr.o): In function `vbr_analysis'
vbr.c:(.text+0xe3): undefined reference to `logf'
vbr.c:(.text+0x181): undefined reference to `pow'
vbr.c:(.text+0x394): undefined reference to `log'
vbr.c:(.text+0x402): undefined reference to `log'
vbr.c:(.text+0x53e): undefined reference to `logf'
vbr.c:(.text+0x55d): undefined reference to `logf'
vbr.c:(.text+0x6fa): undefined reference to `log'
vbr.c:(.text+0x736): undefined reference to `log'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(filterbank.o): In function
`filterbank_new':
filterbank.c:(.text+0x331): undefined reference to `atan'
filterbank.c:(.text+0x349): undefined reference to `atan'
filterbank.c:(.text+0x481): undefined reference to `atan'
filterbank.c:(.text+0x499): undefined reference to `atan'
filterbank.c:(.text+0x4d8): undefined reference to `floorf'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(filters.o): 
In function `compute_rms'
filters.c:(.text+0xe2c): undefined reference to `sqrt'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(filters.o): 
In function `multicomb':
filters.c:(.text+0xef5): undefined reference to `sqrtf'
filters.c:(.text+0xf34): undefined reference to `sqrtf'
filters.c:(.text+0xf7c): undefined reference to `sqrtf'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(lsp.o): 
In function `lpc_to_lsp':
lsp.c:(.text+0x641): undefined reference to `acosf'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(ltp.o): In function
`open_loop_nbest_pitch':
ltp.c:(.text+0x7f2): undefined reference to `sqrtf'
ltp.c:(.text+0x81a): undefined reference to `sqrtf'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(smallft.o): 
In function `spx_drft_init':
smallft.c:(.text+0xf86): undefined reference to `sincosf'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(smallft.o): In function `dradbg':
smallft.c:(.text+0x103f): undefined reference to `sincosf'
/usr/local/lib/libspeex-i686-pc-linux-gnu.a(smallft.o): In function `dradfg':
smallft.c:(.text+0x1ee6): undefined reference to `sincosf'
/usr/local/lib/libilbccodec-i686-pc-linux-gnu.a(StateConstructW.o): In function
`StateConstructW':
StateConstructW.c:(.text+0x2d): undefined reference to `pow'
/usr/local/lib/libilbccodec-i686-pc-linux-gnu.a(StateSearchW.o): In function
`StateSearchW':
StateSearchW.c:(.text+0x31d): undefined reference to `log10f'
StateSearchW.c:(.text+0x361): undefined reference to `pow'
/usr/local/lib/libilbccodec-i686-pc-linux-gnu.a(doCPLC.o): 
In function `compCorr':
doCPLC.c:(.text+0xee): undefined reference to `sqrtf'
doCPLC.c:(.text+0x120): undefined reference to `sqrtf'
/usr/local/lib/libilbccodec-i686-pc-linux-gnu.a(doCPLC.o): 
In function `doThePLC':
doCPLC.c:(.text+0x399): undefined reference to `sqrtf'
doCPLC.c:(.text+0x52d): undefined reference to `sqrt'
/usr/local/lib/libilbccodec-i686-pc-linux-gnu.a(enhancer.o): 
In function `smath':
enhancer.c:(.text+0xa74): undefined reference to `cosf'
enhancer.c:(.text+0xc08): undefined reference to `sqrtf'
enhancer.c:(.text+0xd15): undefined reference to `sqrtf'
/usr/local/lib/libilbccodec-i686-pc-linux-gnu.a(enhancer.o): 
In function
`enhancerInterface':
enhancer.c:(.text+0x1363): undefined reference to `sqrtf'
enhancer.c:(.text+0x1397): undefined reference to `sqrtf'
/usr/local/lib/libilbccodec-i686-pc-linux-gnu.a(lsf.o): In function `lsf2a':
lsf.c:(.text+0x16b): undefined reference to `cosf'
lsf.c:(.text+0x187): undefined reference to `cosf'
/usr/local/lib/libilbccodec-i686-pc-linux-gnu.a(lsf.o): In function `a2lsf':
lsf.c:(.text+0x525): undefined reference to `cosf'
lsf.c:(.text+0x5f1): undefined reference to `cosf'
collect2: ld returned 1 exit status
make: *** [main] Error 1





[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