Hi<br> As per the Linphone, Readme.arm I tried to compile the speex. <br> -------------------------------------readme.arm--------------------------------------------------<br> ...........<br> Cross compiling speex for ARM:<br> ********************************<br> First you need to remove ogg headers from your build system to avoid a dirty conflict between your build machine binaries and the arm binaries. They are usually in a libogg-dev package (rpm or deb). Then:<br> .................<br> --------------------------------------------------------------------------------------------------------<br> <br> I removed libogg-devel from my system and its dependencies like libvorbis-devel, kdelibs-devel, kednetworks.....<br> Then I tried, <br> <span style="color: rgb(0, 0, 191);">[root@edvl28 speex-1.1.6]# ./configure --prefix=/usr --host=powerpc-405-linux --with-gnu-ld --disable-static --enable-fixed-point --enable-powerpc-405-asm</span><br style="color: rgb(0,
0, 191);"> <span style="color: rgb(0, 0, 191);">....</span><br> Then during make I got an error saying ogg.h not found.<br> <br> <span style="color: rgb(0, 0, 127);">make[2]: Entering directory `/home/prakash/ppc/linphone/speex-1.1.6/src'</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">source='speexenc.c' object='speexenc.o' libtool=no \</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">depfile='.deps/speexenc.Po' tmpdepfile='.deps/speexenc.TPo' \</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">depmode=gcc3 /bin/sh ../depcomp \</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">powerpc-405-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../libspeex -I/usr/include -O2 -fno-exceptions -O2 -fno-exceptions -c `test -f 'speexenc.c' || echo './'`speexenc.c</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0,
127);">speexenc.c:49:21: ogg/ogg.h: No such file or directory</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">speexenc.c:73: error: parse error before '*' token</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">speexenc.c: In function `oe_write_page':</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">speexenc.c:76: error: `page' undeclared (first use in this function)</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">speexenc.c:76: error: (Each undeclared identifier is reported only once</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">speexenc.c:76: error: for each function it appears in.)</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">speexenc.c:76: error: `fp' undeclared (first use in this function)</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0,
127);">speexenc.c: In function `main':</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">speexenc.c:272: error: `ogg_stream_state' undeclared (first use in this function)</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">speexenc.c:272: error: parse error before "os"</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">speexenc.c:273: error: `ogg_page' undeclared (first use in this function)</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">speexenc.c:274: error: `ogg_packet' undeclared (first use in this function)</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">speexenc.c:443: error: `os' undeclared (first use in this function)</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">speexenc.c:641: error: `op' undeclared (first use in this function)</span><br style="color: rgb(0, 0, 127);"> <span
style="color: rgb(0, 0, 127);">speexenc.c:657: error: `og' undeclared (first use in this function)</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">make[2]: *** [speexenc.o] Error 1</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">make[2]: Leaving directory `/home/prakash/ppc/linphone/speex-1.1.6/src'</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">make[1]: *** [all-recursive] Error 1</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">make[1]: Leaving directory `/home/prakash/ppc/linphone/speex-1.1.6'</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">make: *** [all] Error 2</span><br style="color: rgb(0, 0, 127);"> <br> Then I installed libogg-devel, alone and tried make , now the error is,<br> <br> <span style="color: rgb(0, 0, 127);">powerpc-405-linux-gnu-gcc -O2 -fno-exceptions -o .libs/speexenc speexenc.o
wav_io.o ../libspeex/.libs/libspeex.so -L/usr/lib -logg -lm</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">/opt/powerpc-405-linux/lib/gcc/powerpc-405-linux-gnu/3.4.1/../../../../powerpc-405-linux-gnu/bin/ld: skipping incompatible /usr/lib/libogg.so when searching for -logg</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">/opt/powerpc-405-linux/lib/gcc/powerpc-405-linux-gnu/3.4.1/../../../../powerpc-405-linux-gnu/bin/ld: skipping incompatible /usr/lib/libogg.a when searching for -logg</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">/opt/powerpc-405-linux/lib/gcc/powerpc-405-linux-gnu/3.4.1/../../../../powerpc-405-linux-gnu/bin/ld: cannot find -logg</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">collect2: ld returned 1 exit status</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">make[2]: *** [speexenc] Error
1</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">make[2]: Leaving directory `/home/prakash/ppc/linphone/speex-1.1.6/src'</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">make[1]: *** [all-recursive] Error 1</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">make[1]: Leaving directory `/home/prakash/ppc/linphone/speex-1.1.6'</span><br style="color: rgb(0, 0, 127);"> <span style="color: rgb(0, 0, 127);">make: *** [all] Error 2</span><br> <br> Anyone can help me,<br> Prakash<p>
        
        
                <hr size=1>
Jiyo cricket on <a href="http://us.rd.yahoo.com/mail/in/mailcricket/*http://in.sports.yahoo.com/cricket/">Yahoo! India cricket</a><br>
<a href="http://us.rd.yahoo.com/mail/in/mailmobilemessenger/*http://in.mobile.yahoo.com/new/messenger/">Yahoo! Messenger Mobile</a> Stay in touch with your buddies all the time.