Hello everyone,<div><br></div><div>I'm not sure I would consider this a bug, but there wasn't much information provided and I only solved the issue with luck.</div><div><br></div><div>my error is below, although this isn't the full compiler output.</div>
<div><br></div><div>Yesterday I had built ffmpeg-1.0 with the options --enable-shared and --enable-libmp3lame. I had also installed libmp3lame without any options. Today I tried to compile libx264 to recompile ffmpeg with support. I ran ./configure without any options and then I ran make -j 6 and got this output. I tried make clean and make distclean and ./configure again without any change.</div>
<div><br></div><div>I moved into the libmp3lame dir and did a make uninstall; make clean; make dist clean and the same for ffmpeg.</div><div><br></div><div>This seemed to resolve the issue.</div><div><br></div><div>P.S. I then reran the configure scripts for libmp3lame with the following options</div>
<div>--prefix=/usr/local</div><div>--libdir=/usr/local/lib64</div><div>--enable-shared</div><div>--enable-static</div><div><br></div><div>I also ran the configure for libx264 with the same options. I then ran make -j 6 and sudo make install.</div>
<div><br></div><div><div>gcc -o x264 x264.o input/input.o input/timecode.o input/raw.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o filters/filters.o filters/video/video.o filters/video/source.o filters/video/internal.o filters/video/resize.o filters/video/cache.o filters/video/fix_vfr_pts.o filters/video/select_every.o filters/video/crop.o filters/video/depth.o input/thread.o input/lavf.o libx264.a -L. -lavformat -lavcodec -lswscale -lavutil -lm -lz -lbz2 -lpthread -lswscale -lavutil -m64 -lm -lpthread</div>
<div>/usr/local/lib/libavcodec.a(libmp3lame.o): In function `mp3lame_encode_frame':</div><div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:222: undefined reference to `lame_encode_flush'</div>
<div>/usr/local/lib/libavcodec.a(libmp3lame.o): In function `encode_frame_float':</div><div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:192: undefined reference to `lame_encode_buffer_float'</div>
<div>/usr/local/lib/libavcodec.a(libmp3lame.o): In function `encode_frame_int32':</div><div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:181: undefined reference to `lame_encode_buffer_int'</div>
<div>/usr/local/lib/libavcodec.a(libmp3lame.o): In function `encode_frame_int16':</div><div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:166: undefined reference to `lame_encode_buffer_interleaved'</div>
<div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:171: undefined reference to `lame_encode_buffer'</div><div>/usr/local/lib/libavcodec.a(libmp3lame.o): In function `mp3lame_encode_close':</div>
<div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:66: undefined reference to `lame_close'</div><div>/usr/local/lib/libavcodec.a(libmp3lame.o): In function `mp3lame_encode_init':</div><div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:78: undefined reference to `lame_init'</div>
<div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:82: undefined reference to `lame_set_num_channels'</div><div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:83: undefined reference to `lame_set_mode'</div>
<div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:86: undefined reference to `lame_set_in_samplerate'</div><div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:87: undefined reference to `lame_set_out_samplerate'</div>
<div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:91: undefined reference to `lame_set_quality'</div><div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:93: undefined reference to `lame_set_quality'</div>
<div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:97: undefined reference to `lame_set_VBR'</div><div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:98: undefined reference to `lame_set_VBR_quality'</div>
<div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:101: undefined reference to `lame_set_brate'</div><div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:105: undefined reference to `lame_set_bWriteVbrTag'</div>
<div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:108: undefined reference to `lame_set_disable_reservoir'</div><div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:111: undefined reference to `lame_init_params'</div>
<div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:117: undefined reference to `lame_get_encoder_delay'</div><div>/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:120: undefined reference to `lame_get_framesize'</div>
<div>collect2: ld returned 1 exit status</div><div>make: *** [x264] Error 1</div></div>