[Speex-dev] unable to compile speex-1.1.10

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Thu Jul 12 05:51:03 PDT 2007


Try 1.2beta2 first. It's much newer.

	Jean-Marc

Arun Bothe a écrit :
> Dear all,
> 
> I'm Arun, new in this group. and newbie in Linux also.
> I am working on linphone and I want to compile linphone, but before that I
> want to compile speex-1.1.10 for uClinux using bfin-gcc.
> I used these three files :
> 
>               uClinux-dist-2005R3.tar.bz2
>               bfin-gcc-3.4-2005R3.1.tar.gz
>               speex-1.1.10.tar
> 
> I sucessfully compiled and installed bfin-gcc, and uClinux.
> Now when I use the "./configure" it is run sucessfully. After that I use
> "make clean". no problem till.
> 
> But when I use "make" command, it gives me error, like
> ---------------------------------------------------------------------------------------------------------------
> 
> if bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include
> -I.. -I/include    -g -O2 -MT speexenc.o -MD -MP -MF
> ".deps/speexenc.Tpo" -c
> -o speex enc.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: ogg/ogg.h: No such file or directory
> speexenc.c:68: error: parse error before '*' token
> speexenc.c: In function `oe_write_page':
> speexenc.c:71: error: `page' undeclared (first use in this function)
> speexenc.c:71: error: (Each undeclared identifier is reported only once
> speexenc.c:71: error: for each function it appears in.)
> speexenc.c:71: error: `fp' undeclared (first use in this function)
> speexenc.c: In function `main':
> speexenc.c:267: error: `ogg_stream_state' undeclared (first use in this
> function )
> speexenc.c:267: error: parse error before "os"
> speexenc.c:268: error: `ogg_page' undeclared (first use in this function)
> speexenc.c:269: error: `ogg_packet' undeclared (first use in this function)
> speexenc.c:438: error: `os' undeclared (first use in this function)
> speexenc.c:632: error: `op' undeclared (first use in this function)
> speexenc.c:648: error: `og' undeclared (first use in this function)
> make[2]: *** [speexenc.o] Error 1
> make[2]: Leaving directory
> `/for_linphone/uClinux-dist/linphone_build_dir/speex- 1.1.10/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/for_linphone/uClinux-dist/linphone_build_dir/speex- 1.1.10'
> make: *** [all] Error 2
> [root at localhost speex-1.1.10]#
> 
> ---------------------------------------------------------------------------------------------------------------
> 
> he misses the ogg.h file but it is in correct place. I don't know why this
> error occurs.
> 
> What is the solution for this. Please help.
> waiting for yours reply.
> 
> 
> Thanks & Regards,
> 
> Arun
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev


More information about the Speex-dev mailing list