[vorbis-dev] Compile error

Sam Michaels swampgas at bigfoot.com
Sun Jun 18 19:16:25 PDT 2000



I checked in /usr/include/linux/soundcard.h, and it didn't have the
AMFT_S16_NE in it, so I checked in the kernel include files, and that copy
of soundcard.h had it....I just replaced the old one with the new one.
Compiled fine...testing it now:)

-Sam
----- Original Message -----
From: "Kenneth C. Arnold" <kcarnold at yahoo.com>
To: <vorbis-dev at xiph.org>
Sent: Sunday, June 18, 2000 9:20 PM
Subject: Re: [vorbis-dev] Compile error

> 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/
>

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list