[Speex-dev] speex - cross compil for ARM - problem ogg headers

Erwan A mout551 at hotmail.fr
Tue Mar 25 09:24:47 PDT 2008


Hi, 

I try to compile speex for ARM. I follow the README.arm and i always have the same errors :



make[2]: entrant dans le répertoire « /usr/src/linphone/arm/speex-1.1.6/src »
source='speexenc.c' object='speexenc.o' libtool=no \
        depfile='.deps/speexenc.Po' tmpdepfile='.deps/speexenc.TPo' \
        depmode=gcc3 /bin/sh ../depcomp \
        arm-linux-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
speexenc.c:49:21: ogg/ogg.h: Aucun fichier ou répertoire de ce type
speexenc.c:73: error: parse error before '*' token
speexenc.c: In function `oe_write_page':
speexenc.c:76: error: `page' undeclared (first use in this function)
speexenc.c:76: error: (Each undeclared identifier is reported only once
speexenc.c:76: error: for each function it appears in.)
speexenc.c:76: error: `fp' undeclared (first use in this function)
speexenc.c: In function `main':
speexenc.c:272: error: `ogg_stream_state' undeclared (first use in this function)
speexenc.c:272: error: parse error before "os"
speexenc.c:273: error: `ogg_page' undeclared (first use in this function)
speexenc.c:274: error: `ogg_packet' undeclared (first use in this function)
speexenc.c:443: error: `os' undeclared (first use in this function)
speexenc.c:641: error: `op' undeclared (first use in this function)
speexenc.c:657: error: `og' undeclared (first use in this function)
make[2]: *** [speexenc.o] Erreur 1
make[2]: quittant le répertoire « /usr/src/linphone/arm/speex-1.1.6/src »



I have remove the file /usr/include/ogg/ogg.h.

Someone can help me 
Thanks,
Erwan
_________________________________________________________________
Créez gratuitement votre disque dur virtuel Windows Live SkyDrive !
http://skydrive.live.com


More information about the Speex-dev mailing list