[vorbis-dev] Compile error
Kenneth C. Arnold
kcarnold at yahoo.com
Sun Jun 18 18:20:13 PDT 2000
On Sun, Jun 18, 2000 at 08:38:59PM -0400, Sam Michaels wrote:
> Here's the error I get when trying to compile:
>
> gcc -O20 -ffast-math -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char -I. -I../include -c ogg123.c
> ogg123.c: In function `main':
> ogg123.c:260: `AFMT_S16_NE' undeclared (first use this function)
> ogg123.c:260: (Each undeclared identifier is reported only once
> ogg123.c:260: for each function it appears in.)
> make[2]: *** [ogg123.o] Error 1
>
> It's Debian Linux 2.1r with kernel 2.2.16, and I got the nightly cvs tgz on sunday the 18th.
My bad. Once Monty gives me CVS commit access, I'll get Ogg123 out of the
main build, since it's broken on just about anything that is not Linux.
Odd that it is broken for your Linux... check /usr/include/linux/soundcard.h
and see if that symbol is declared. If I remember correctly, I stole that from
mpg123, so it should work anywhere mpg123 works. For my kernel,
2.4.0-test1-ac21 (which is quite stable, btw), it is defined on line 188 of
/usr/include/linux/soundcard.h.
Kenneth
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
More information about the Vorbis-dev
mailing list