Charles
2009-Jun-24 05:02 UTC
[Speex-dev] Building Speex project in Symbian(Carbide C/C++)
Hi Everybody: I am doing the project in speex, and want to make the lib/dll in symbian platform. I checked there is one symbian project file, including bld and mmp files in speex-1.2rc1. But while I import the project and compile in Carbide. It showing so many errors: ***Invoking abld command perl.exe -S ABLD.PL \Symbian\Carbide\workspace\speex\symbian\ export make -r -f "\Symbian\9.1\S60_3rd_MR\EPOC32\BUILD\Symbian\Carbide\workspace\speex\symbian\EXPORT.make" EXPORT VERBOSE=-s make: Nothing to be done for `EXPORT'. Total Time: 0 sec ***Invoking abld command perl.exe -S ABLD.PL \Symbian\Carbide\workspace\speex\symbian\ library winscw make -r -f "\Symbian\9.1\S60_3rd_MR\EPOC32\BUILD\Symbian\Carbide\workspace\speex\symbian\WINSCW.make" LIBRARY VERBOSE=-s User break, cancelled... make[1]: *** [\Symbian\9.1\S60_3rd_MR\EPOC32\BUILD\Symbian\Carbide\workspace\speex\symbian\SPEEX\WINSCW\UDEB\bits.o] Error 2 make: *** [LIBRARYSPEEX] Error 2 make -s -r -f "\Symbian\9.1\S60_3rd_MR\EPOC32\BUILD\Symbian\Carbide\workspace\speex\symbian\SPEEX\WINSCW\SPEEX.WINSCW" LIBRARY bits.c ..\libspeex\bits.c:48: declaration syntax error ..\libspeex\bits.c:49: declaration syntax error ..\libspeex\bits.c:54: declaration syntax error ..\libspeex\bits.c:56: declaration syntax error ..\libspeex\bits.c:58: identifier 'speex_bits_reset(struct SpeexBits *)' redeclared ..\libspeex\bits.c:58: was declared as: 'void (struct SpeexBits *)' ..\libspeex\bits.c:58: now declared as: 'int (...)' ..\libspeex\bits.c:59: identifier expected ..\libspeex\bits.c:59: '{' expected ..\libspeex\bits.c:61: expression syntax error ..\libspeex\bits.c:64: expression syntax error ..\libspeex\bits.c:68: illegal implicit conversion from 'int' to ..\libspeex\bits.c:68: 'struct SpeexBits *' ..\libspeex\bits.c:71: declaration syntax error ..\libspeex\bits.c:72: declaration syntax error ..\libspeex\bits.c:76: declaration syntax error ..\libspeex\bits.c:78: declaration syntax error ..\libspeex\bits.c:79: declaration syntax error ..\libspeex\bits.c:80: declaration syntax error ..\libspeex\bits.c:81: declaration syntax error ..\libspeex\bits.c:83: declaration syntax error ..\libspeex\bits.c:85: declaration syntax error ..\libspeex\bits.c:86: declaration syntax error ..\libspeex\bits.c:90: declaration syntax error ..\libspeex\bits.c:92: declaration syntax error ..\libspeex\bits.c:93: declaration syntax error ..\libspeex\bits.c:95: declaration syntax error ..\libspeex\bits.c:96: declaration syntax error ..\libspeex\bits.c:97: declaration syntax error ..\libspeex\bits.c:98: declaration syntax error ..\libspeex\bits.c:99: declaration syntax error Can anybody guide me how to compile speex in symbian? I will really appreciate it. Thanks. Regards Charles -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20090624/5dcd5b8b/attachment.htm
Jean-Marc Valin
2009-Jun-25 03:04 UTC
[Speex-dev] Building Speex project in Symbian(Carbide C/C++)
You're probably just missing a few defines. Try defining HAVE_CONFIG_H and then use the config.h that's in the symbian/ directory. Jean-Marc Charles a ?crit :> Hi Everybody: > I am doing the project in speex, and want to make the lib/dll in > symbian platform. > I checked there is one symbian project file, including bld and > mmp files in speex-1.2rc1. > > But while I import the project and compile in Carbide. It > showing so many errors: > > ***Invoking abld command > perl.exe -S ABLD.PL \Symbian\Carbide\workspace\speex\symbian\ export > make -r -f > "\Symbian\9.1\S60_3rd_MR\EPOC32\BUILD\Symbian\Carbide\workspace\speex\symbian\EXPORT.make" > EXPORT VERBOSE=-s > make: Nothing to be done for `EXPORT'. > Total Time: 0 sec > ***Invoking abld command > perl.exe -S ABLD.PL \Symbian\Carbide\workspace\speex\symbian\ library > winscw > make -r -f > "\Symbian\9.1\S60_3rd_MR\EPOC32\BUILD\Symbian\Carbide\workspace\speex\symbian\WINSCW.make" > LIBRARY VERBOSE=-s > User break, cancelled... > make[1]: *** > [\Symbian\9.1\S60_3rd_MR\EPOC32\BUILD\Symbian\Carbide\workspace\speex\symbian\SPEEX\WINSCW\UDEB\bits.o] > Error 2 > make: *** [LIBRARYSPEEX] Error 2 > make -s -r -f > "\Symbian\9.1\S60_3rd_MR\EPOC32\BUILD\Symbian\Carbide\workspace\speex\symbian\SPEEX\WINSCW\SPEEX.WINSCW" > LIBRARY > bits.c > ..\libspeex\bits.c:48: declaration syntax error > ..\libspeex\bits.c:49: declaration syntax error > ..\libspeex\bits.c:54: declaration syntax error > ..\libspeex\bits.c:56: declaration syntax error > ..\libspeex\bits.c:58: identifier 'speex_bits_reset(struct SpeexBits *)' > redeclared > ..\libspeex\bits.c:58: was declared as: 'void (struct SpeexBits *)' > ..\libspeex\bits.c:58: now declared as: 'int (...)' > ..\libspeex\bits.c:59: identifier expected > ..\libspeex\bits.c:59: '{' expected > ..\libspeex\bits.c:61: expression syntax error > ..\libspeex\bits.c:64: expression syntax error > ..\libspeex\bits.c:68: illegal implicit conversion from 'int' to > ..\libspeex\bits.c:68: 'struct SpeexBits *' > ..\libspeex\bits.c:71: declaration syntax error > ..\libspeex\bits.c:72: declaration syntax error > ..\libspeex\bits.c:76: declaration syntax error > ..\libspeex\bits.c:78: declaration syntax error > ..\libspeex\bits.c:79: declaration syntax error > ..\libspeex\bits.c:80: declaration syntax error > ..\libspeex\bits.c:81: declaration syntax error > ..\libspeex\bits.c:83: declaration syntax error > ..\libspeex\bits.c:85: declaration syntax error > ..\libspeex\bits.c:86: declaration syntax error > ..\libspeex\bits.c:90: declaration syntax error > ..\libspeex\bits.c:92: declaration syntax error > ..\libspeex\bits.c:93: declaration syntax error > ..\libspeex\bits.c:95: declaration syntax error > ..\libspeex\bits.c:96: declaration syntax error > ..\libspeex\bits.c:97: declaration syntax error > ..\libspeex\bits.c:98: declaration syntax error > ..\libspeex\bits.c:99: declaration syntax error > > > Can anybody guide me how to compile speex in symbian? I will > really appreciate it. > > Thanks. > > Regards > Charles > > > ------------------------------------------------------------------------ > > _______________________________________________ > Speex-dev mailing list > Speex-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev