Maxim Borodko
2008-Dec-19 15:20 UTC
[Speex-dev] Speex on LPC2148 (KEIL MDK + RealView Compiler)
Hello, I am trying to compile Speex on RealView Compiler and a lot of errors are indicated by compiler: libspeex\bits.c(48): error: #77-D: this declaration has no storage class or type specifier libspeex\bits.c(48): error: #65: expected a ";" libspeex\bits.c(139): warning: #12-D: parsing restarts here after previous syntax error libspeex\bits.c(141): error: #77-D: this declaration has no storage class or type specifier libspeex\bits.c(141): error: #65: expected a ";" libspeex\bits.c(142): error: #77-D: this declaration has no storage class or type specifier libspeex\bits.c(142): error: #65: expected a ";" libspeex\bits.c(143): error: #77-D: this declaration has no storage class or type specifier libspeex\bits.c(143): error: #65: expected a ";" libspeex\bits.c(144): error: #77-D: this declaration has no storage class or type specifier libspeex\bits.c(144): error: #65: expected a ";" libspeex\bits.c(145): error: #169: expected a declaration libspeex\bits.c(181): warning: #12-D: parsing restarts here after previous syntax error libspeex\bits.c(182): error: #77-D: this declaration has no storage class or type specifier libspeex\bits.c(182): error: #28: expression must have a constant value libspeex\bits.c(183): error: #169: expected a declaration libspeex\bits.c(185): error: #77-D: this declaration has no storage class or type specifier libspeex\bits.c(185): error: #65: expected a ";" libspeex\bits.c(186): error: #169: expected a declaration libspeex\bits.c(327): warning: #12-D: parsing restarts here after previous syntax error libspeex\bits.c(328): error: #169: expected a declaration libspeex\bits.c(330): error: #169: expected a declaration libspeex\bits.c(332): error: #169: expected a declaration libspeex\bits.c(372): warning: At end of source: #12-D: parsing restarts here after previous syntax error That is not all errors. Could anyone explain it and give suggestions? Thanks.
Jean-Marc Valin
2008-Dec-23 15:03 UTC
[Speex-dev] Speex on LPC2148 (KEIL MDK + RealView Compiler)
You probably just need to include the proper config.h if you're not using autoconf. There's one for windows, which you can probably use with slight modifications (like defining FIXED_POINT). Jean-Marc Quoting Maxim Borodko <Borodko at giprosvjaz.by>:> Hello, > I am trying to compile Speex on RealView Compiler > and a lot > of errors are indicated by compiler: > > libspeex\bits.c(48): error: #77-D: this declaration has no storage class or > type specifier > libspeex\bits.c(48): error: #65: expected a ";" > libspeex\bits.c(139): warning: #12-D: parsing restarts here after previous > syntax error > libspeex\bits.c(141): error: #77-D: this declaration has no storage class or > type specifier > libspeex\bits.c(141): error: #65: expected a ";" > libspeex\bits.c(142): error: #77-D: this declaration has no storage class or > type specifier > libspeex\bits.c(142): error: #65: expected a ";" > libspeex\bits.c(143): error: #77-D: this declaration has no storage class or > type specifier > libspeex\bits.c(143): error: #65: expected a ";" > libspeex\bits.c(144): error: #77-D: this declaration has no storage class or > type specifier > libspeex\bits.c(144): error: #65: expected a ";" > libspeex\bits.c(145): error: #169: expected a declaration > libspeex\bits.c(181): warning: #12-D: parsing restarts here after previous > syntax error > libspeex\bits.c(182): error: #77-D: this declaration has no storage class or > type specifier > libspeex\bits.c(182): error: #28: expression must have a constant value > libspeex\bits.c(183): error: #169: expected a declaration > libspeex\bits.c(185): error: #77-D: this declaration has no storage class or > type specifier > libspeex\bits.c(185): error: #65: expected a ";" > libspeex\bits.c(186): error: #169: expected a declaration > libspeex\bits.c(327): warning: #12-D: parsing restarts here after previous > syntax error > libspeex\bits.c(328): error: #169: expected a declaration > libspeex\bits.c(330): error: #169: expected a declaration > libspeex\bits.c(332): error: #169: expected a declaration > libspeex\bits.c(372): warning: At end of source: #12-D: parsing restarts > here after previous syntax error > > That is not all errors. > Could anyone explain it and give suggestions? > Thanks. > > > _______________________________________________ > Speex-dev mailing list > Speex-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev > >
Apparently Analagous Threads
- Building Speex project in Symbian(Carbide C/C++)
- Speex 1.2beta3 is out!
- compiling ffmpeg with --enable-libspeex (was Re: from Adobe Flex / Flash Player 10 .flv Speex via Red5 to .wav PCM?)
- basic include files for speex
- Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???