[icecast] ices and lame
Mark Woodson
mwoodson at bacxs.com
Mon Jan 21 23:12:40 UTC 2002
I'm having trouble getting ices-0.2.2 installed with lame support. I've
tried to compile it with lame 3.87, 3.88 and 3.89 all with no success. It
would appear that lame changed the way some of the functions are called
(and/or eliminated some?).
In any case the output from gmake:
gmake[3]: Entering directory `/usr/local/src/ices-0.2.2/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DICES_ETCDIR=\"/usr/local/icecast/etc\"
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\" -I../resolver
-I../thread
-I../libshout -I/usr/libdata/perl/5.00503/mach/CORE
-I/usr/local/include/libxml2 -I/usr/local/include/libxml2/libxml -g -O2
-Wall -c reencode.c
reencode.c: In function `ices_reencode_initialize':
reencode.c:56: warning: implicit declaration of function `get_lame_version'
reencode.c: In function `ices_reencode_shutdown':
reencode.c:82: warning: implicit declaration of function `lame_close'
reencode.c: In function `ices_reencode_flush':
reencode.c:118: warning: implicit declaration of function `lame_encode_flush'
reencode.c: In function `reencode_lame_init':
reencode.c:144: too few arguments to function `lame_init'
reencode.c:144: void value not ignored as it ought to be
reencode.c:153: warning: implicit declaration of function `lame_set_brate'
reencode.c:155: warning: implicit declaration of function
`lame_set_num_channels'
reencode.c:157: warning: implicit declaration of function
`lame_set_out_samplerate'
reencode.c:158: warning: implicit declaration of function `lame_set_original'
reencode.c:168: void value not ignored as it ought to be
gmake[3]: *** [reencode.o] Error 1
gmake[3]: Leaving directory `/usr/local/src/ices-0.2.2/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/local/src/ices-0.2.2/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/ices-0.2.2'
gmake: *** [all-recursive-am] Error 2
I looked through the offending source (reencode.c) and lame.h and tried to
reconcile the two just to have the resulting code segfault as soon as it
actually tried to reencode something. Does anyone have this working?
I'm running FreeBSD 4.4-stable.
-Mark
<p><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