[icecast] Ices on Linux PPC

Karl Heyes karl at pts.tele2.co.uk
Fri Dec 20 21:50:10 UTC 2002

On Fri, 2002-12-20 at 19:52, Drew Lane wrote:
> make[2]: Entering directory `/usr/ices/src'
> gcc -DPACKAGE=\"ices\" -DVERSION=\"2.0\" -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDINT_H=1  -I. -I.  -Inet -Ithread -Iavl -Ilog -Itiming -DHAVE_OSS     -O20 -ffast-math -fsigned-char -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -I/include -I/include -I/include -I/include -c encode.c

> encode.c: In function `encode_initialise':
> encode.c:91: storage size of `ai' isn't known
> encode.c:92: `OV_ECTL_RATEMANAGE_GET' undeclared (first use in this function)
> encode.c:92: (Each undeclared identifier is reported only once
> encode.c:92: for each function it appears in.)
> encode.c:96: `OV_ECTL_RATEMANAGE_SET' undeclared (first use in this function)
> encode.c:101: `OV_ECTL_RATEMANAGE_AVG' undeclared (first use in this function)

All this should be in the vorbisenc.h file,  can you check that file, do
things like

grep OV_ECTL_RATEMANAGE_GET /usr/include/vorbis/vorbisenc.h

it should show

#define OV_ECTL_RATEMANAGE_GET       0x10

if not, check the vorbis and ogg installations (best go for v1.0), if it
does, check that there is a #include <vorbis/vorbisenc.h> in the
encode.c file (~line 20).

It's either not including the file or the file does not have them.


<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Icecast mailing list