In place of rpm I used pre compiled binary for installing the Cross Compiler and now I am not getting this error. But I am gettimg error after <make> command. The error is: 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 `/root/Desktop/foruclinux/speex-1.1.10/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/Desktop/foruclinux/speex-1.1.10' make: *** [all] Error 2 Can anyone please suggest me possible reason and solution.
That's expected if you don't have libogg installed. libogg is not necessary if you don't need the command-line encoder and decoder. In that case, you can just compile libspeex. Jean-Marc Le mardi 19 juillet 2005 ? 15:04 +0200, Mukund Kumar a ?crit :> In place of rpm I used pre compiled binary for installing > the Cross Compiler and now I am not getting this error. But I am > gettimg error after <make> command. The error is: > > > 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 `/root/Desktop/foruclinux/speex-1.1.10/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/Desktop/foruclinux/speex-1.1.10' > make: *** [all] Error 2 > > > Can anyone please suggest me possible reason and solution. > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >-- Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca> Universit? de Sherbrooke
Dear Jean-Marc Valin, I tried what you said, to complile just libspeex, as there was no "configure" file inside the folder "libspeex" I copied it from parent directory (I guess I am not wrong doing that), ya it configures well with the command # ./configure --enable-blackfin-asm --enable-fixed-point --host=bfin-uclinux but for the <make> command it is again giving error cd .. && make am--refresh make[1]: Entering directory `/root/Desktop/foruclinux/speex-1.1.10' make[1]: *** No rule to make target `am--refresh'. Stop. make[1]: Leaving directory `/root/Desktop/foruclinux/speex-1.1.10' make: *** [../config.status] Error 2 I am sorry if I am asking you some very simple thing.... but I need this. Mukund