当前位置: 代码迷 >> 驱动开发 >> linphone移植时使用交叉编译器arm-2009q1-203-arm-none-linux-gnueabi无法编译通过解决方案
  详细解决方案

linphone移植时使用交叉编译器arm-2009q1-203-arm-none-linux-gnueabi无法编译通过解决方案

热度:110   发布时间:2016-04-28 11:24:18.0
linphone移植时使用交叉编译器arm-2009q1-203-arm-none-linux-gnueabi无法编译通过
编译命令:
/Linphone/build/linphone-3.4.2# ./configure --prefix=/home/innolux/Linphone/arm_none_target/ --enable-video=no --host=arm-none-linux-gnueabi PKG_CONFIG_PATH=/home/innolux/Linphone/arm_none_target/lib/pkgconfig/


出现的错误如下:
pulseaudio.c:23:30: error: pulse/pulseaudio.h: No such file or directory
pulseaudio.c:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
pulseaudio.c:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
pulseaudio.c: In function 'uninit_pulse_context':
pulseaudio.c:67: warning: implicit declaration of function 'pa_context_disconnect'
pulseaudio.c:67: error: 'context' undeclared (first use in this function)
pulseaudio.c:67: error: (Each undeclared identifier is reported only once
pulseaudio.c:67: error: for each function it appears in.)
pulseaudio.c:68: warning: implicit declaration of function 'pa_context_unref'
pulseaudio.c:69: warning: implicit declaration of function 'pa_threaded_mainloop_stop'
pulseaudio.c:69: error: 'pa_loop' undeclared (first use in this function)
pulseaudio.c: At top level:
pulseaudio.c:72: error: expected ')' before '*' token
pulseaudio.c: In function 'init_pulse_context':
pulseaudio.c:103: error: 'context' undeclared (first use in this function)
pulseaudio.c:104: error: 'pa_loop' undeclared (first use in this function)
pulseaudio.c:104: warning: implicit declaration of function 'pa_threaded_mainloop_new'
pulseaudio.c:105: warning: implicit declaration of function 'pa_context_new'
pulseaudio.c:105: warning: implicit declaration of function 'pa_threaded_mainloop_get_api'
pulseaudio.c:106: warning: implicit declaration of function 'pa_context_set_state_callback'
pulseaudio.c:106: error: 'state_notify' undeclared (first use in this function)
pulseaudio.c:107: warning: implicit declaration of function 'pa_context_connect'
pulseaudio.c:108: warning: implicit declaration of function 'pa_threaded_mainloop_start'
pulseaudio.c: At top level:
pulseaudio.c:123: error: expected specifier-qualifier-list before 'pa_stream'
pulseaudio.c: In function 'pulse_read_preprocess':
pulseaudio.c:139: error: 'pa_sample_spec' undeclared (first use in this function)
pulseaudio.c:139: error: expected ';' before 'pss'
pulseaudio.c:140: error: 'pa_buffer_attr' undeclared (first use in this function)
pulseaudio.c:140: error: expected ';' before 'attr'
pulseaudio.c:142: error: 'context' undeclared (first use in this function)
pulseaudio.c:144: error: 'pss' undeclared (first use in this function)
pulseaudio.c:144: error: 'PA_SAMPLE_S16LE' undeclared (first use in this function)
pulseaudio.c:148: error: 'attr' undeclared (first use in this function)
pulseaudio.c:152: error: 'PulseReadState' has no member named 'fragsize'
pulseaudio.c:154: error: 'PulseReadState' has no member named 'stream'
pulseaudio.c:154: warning: implicit declaration of function 'pa_stream_new'
pulseaudio.c:155: error: 'PulseReadState' has no member named 'stream'
pulseaudio.c:156: warning: implicit declaration of function 'pa_strerror'
pulseaudio.c:156: warning: implicit declaration of function 'pa_context_errno'
pulseaudio.c:159: warning: implicit declaration of function 'pa_threaded_mainloop_lock'
pulseaudio.c:159: error: 'pa_loop' undeclared (first use in this function)
pulseaudio.c:160: warning: implicit declaration of function 'pa_stream_connect_record'
pulseaudio.c:160: error: 'PulseReadState' has no member named 'stream'
pulseaudio.c:160: error: 'PA_STREAM_ADJUST_LATENCY' undeclared (first use in this function)
pulseaudio.c:161: warning: implicit declaration of function 'pa_threaded_mainloop_unlock'
pulseaudio.c: In function 'pulse_read_process':
pulseaudio.c:173: error: 'PulseReadState' has no member named 'stream'
pulseaudio.c:174: error: 'pa_loop' undeclared (first use in this function)
  相关解决方案
本站暂不开放注册!
内测阶段只得通过邀请码进行注册!
 
  • 最近登录:Sat May 27 14:23:45 CST 2017
  • 最近登录:Sat May 27 14:23:45 CST 2017
  • 最近登录:Sat May 27 14:23:45 CST 2017
  • 最近登录:Sat May 27 14:23:45 CST 2017
  • 最近登录:Sat May 27 14:23:45 CST 2017