You should cross-compile libogg at first, For example
#CC=arm-linux-gcc ./configure �Cprefix=/usr/arm-build/ --target=arm-linux
�Chost=i686-pc-linux-gnu
#make
#make install
Then cross-compile speex-1.1.12.
Good luck!
发件人:
address@hidden
[mailto:address@hidden 代表
Salvador Gianluca
发送时间: 2006年7月29日 0:33
收件人:
linphone-developers; linphone-users
主题:
[Linphone-users] no changes updating makefiles after ./configure
hi Simon and all the list!
Cross-compiling speex-1.1.12
for ARM i had troubles with make command.
I erased all the
-I/usr/include lines in the Makefiles and the error changed in this way:
make[2]: Entering directory `/home/gianluca/arm-codesourcery-install-environment/speex-1.1.12/src'
if arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I../include -I../include -I.. -O2 -fno-exceptions -O2
-fno-exceptions -MT speexenc.o -MD -MP -MF ".deps/speexenc.Tpo" -c -o
speexenc.o speexenc.c; \
then mv -f ".deps/speexenc.Tpo" ".deps/speexenc.Po"; else
rm -f ".deps/speexenc.Tpo"; exit 1; fi
speexenc.c:49:21: error: ogg/ogg.h: No such file or directory
speexenc.c:68: error: expected ')' before '*' token
speexenc.c: In function 'main':
speexenc.c:267: error: 'ogg_stream_state' undeclared (first use in this
function)
speexenc.c:267: error: (Each undeclared identifier is reported only once
speexenc.c:267: error: for each function it appears in.)
speexenc.c:267: error: expected ';' before 'os'
speexenc.c:268: error: 'ogg_page' undeclared (first use in this function)
speexenc.c:268: error: expected ';' before 'og'
speexenc.c:269: error: 'ogg_packet' undeclared (first use in this function)
speexenc.c:269: error: expected ';' before 'op'
speexenc.c:438: error: 'os' undeclared (first use in this function)
speexenc.c:634: error: 'op' undeclared (first use in this function)
speexenc.c:651: error: 'og' undeclared (first use in this function)
make[2]: *** [speexenc.o] Error 1
make[2]: Leaving directory
`/home/gianluca/arm-codesourcery-install-environment/speex-1.1.12/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/gianluca/arm-codesourcery-install-environment/speex-1.1.12'
make: *** [all] Error 2
address@hidden speex-1.1.12]$
I tried with and
without libogg libraries in my /usr/lib folder, but i haven't seen changes...