Hi,

I found a small problem when compiling lame with --enable-mp3rtp. The
make dies with this:

source='mp3rtp.c' object='mp3rtp.o' libtool=no \
depfile='.deps/mp3rtp.Po' tmpdepfile='.deps/mp3rtp.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc3 -DHAVE_CONFIG_H  -I. -I. -I.. -I../libmp3lame -I../include -I..    -O3 
-fomit-frame-pointer -ffast-math -funroll-loops -Wall -pipe -march=athlon -O3 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/X11R6/include  -c `test -f mp3rtp.c || echo './'`mp3rtp.c
In file included from mp3rtp.c:44:
rtp.h:29:8: macro names must be identifiers
mp3rtp.c: In function `main':
mp3rtp.c:227: warning: passing arg 1 of `maxvalue' from incompatible pointer type
make: *** [mp3rtp.o] Error 1

I had a look at rtp.h and at the line mentioned there's an #ifdef 0
<some function defs>. I changed this to #if 0 and everything worked.

I've running RH7.2 with their gcc gcc3-3.0.1-3. I got similar results
(no build) with gcc 2.96-98 and kgcc (egcs-1.1.2 release).

I haven't tested cvs but it has the same #ifdef 0 so it would probably
have the same problem.

Hope this helps,
Len

_______________________________________________
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to