[mythtv-users] FW: New Source Forge Project MythStreamTV

James Armstrong james at thearmstrongs.org
Thu Jan 20 09:17:08 EST 2005



Kenneth Hadley wrote:

> Heya folks,
>
> MythStreamTV looks like a cool add-in for MythTV but I'm having a heck 
> of a time compiling ffmpeg both from ffmpeg-0.4.9-pre1.tar.gz and from 
> current CVS.
>
> My MythTV v.0.16 box is running FedoraCore2 put together from Jarod's 
> Guide.
>
> I'm compiling ffmpeg with these options:
>
> ./configure --disable-x11
> --disable-xvideo --disable-gtk --disable-sdl --enable-ffmpeg
> --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-ffmpeg-zlib
> --enable-mad --enable-libdvbpsi --enable-a52 --disable-dvdplay
> --enable-dvdnav --enable-vorbis --enable-ogg --enable-theora
> --enable-mkv --enable-freetype --disable-cddax --disable-vcdx
> --enable-speex --enable-flac --enable-goom --enable-livedotcom
> --enable-caca --disable-skins2 --enable-modplug --enable-debug
> --enable-gpl --enable-mp3lame --enable-pp
>
> Everything compiles well until it hits LAME, then sputters and dies 
> for no reason my limited debug skills can find.
>
> gcc -O3 -g -Wall -Wno-switch  -DHAVE_AV_CONFIG_H -I.. 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o 
> mp3lameaudio.o mp3lameaudio.c
> mp3lameaudio.c:27:23: lame/lame.h: No such file or directory
> mp3lameaudio.c:31: error: syntax error before "lame_global_flags"
> mp3lameaudio.c:31: warning: no semicolon at end of struct or union
> mp3lameaudio.c:35: error: syntax error before '}' token
> mp3lameaudio.c:35: warning: type defaults to `int' in declaration of 
> `Mp3AudioContext'
> mp3lameaudio.c:35: warning: data definition has no type or storage class
> mp3lameaudio.c: In function `MP3lame_encode_init':
> mp3lameaudio.c:39: error: `s' undeclared (first use in this function)
> mp3lameaudio.c:39: error: (Each undeclared identifier is reported only 
> once
> mp3lameaudio.c:39: error: for each function it appears in.)
> mp3lameaudio.c:46: warning: implicit declaration of function `lame_init'
> mp3lameaudio.c:48: warning: implicit declaration of function 
> `lame_set_in_samplerate'
> mp3lameaudio.c:49: warning: implicit declaration of function 
> `lame_set_out_samplerate'
> mp3lameaudio.c:50: warning: implicit declaration of function 
> `lame_set_num_channels'
> mp3lameaudio.c:52: warning: implicit declaration of function 
> `lame_set_quality'
> mp3lameaudio.c:54: warning: implicit declaration of function 
> `lame_set_mode'
> mp3lameaudio.c:54: error: `JOINT_STEREO' undeclared (first use in this 
> function)
> mp3lameaudio.c:55: warning: implicit declaration of function 
> `lame_set_brate'
> mp3lameaudio.c:56: warning: implicit declaration of function 
> `lame_set_bWriteVbrTag'
> mp3lameaudio.c:57: warning: implicit declaration of function 
> `lame_init_params'
> mp3lameaudio.c:60: warning: implicit declaration of function 
> `lame_get_framesize'
> mp3lameaudio.c:68: warning: implicit declaration of function `lame_close'
> mp3lameaudio.c: In function `MP3lame_encode_frame':
> mp3lameaudio.c:134: error: `s' undeclared (first use in this function)
> mp3lameaudio.c:142: warning: implicit declaration of function 
> `lame_encode_buffer_interleaved'
> mp3lameaudio.c:150: warning: implicit declaration of function 
> `lame_encode_buffer'
> mp3lameaudio.c:160: warning: implicit declaration of function 
> `lame_encode_flush'
> mp3lameaudio.c:135: warning: unused variable `i'
> mp3lameaudio.c: In function `MP3lame_encode_close':
> mp3lameaudio.c:196: error: `s' undeclared (first use in this function)
> make[1]: *** [mp3lameaudio.o] Error 1
> make[1]: Leaving directory `/video/ffmpeg-cvs/ffmpeg/libavcodec'
> make: *** [lib] Error 2
>
>
> Anyone have any thoughts as to what I'm doing wrong or am missing?
>
>
You need lame and lame-devel for them. The header is now found and that 
is causing all the problems.

- James


More information about the mythtv-users mailing list