[x264-devel] Possible bug

Wrinkled Cheese wrinkledcheese at gmail.com
Mon Oct 1 09:06:25 CEST 2012


Hello everyone,

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.

my error is below, although this isn't the full compiler output.

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.

I moved into the libmp3lame dir and did a make uninstall; make clean; make
dist clean and the same for ffmpeg.

This seemed to resolve the issue.

P.S. I then reran the configure scripts for libmp3lame with the following
options
--prefix=/usr/local
--libdir=/usr/local/lib64
--enable-shared
--enable-static

I also ran the configure for libx264 with the same options.  I then ran
make -j 6 and sudo make install.

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
/usr/local/lib/libavcodec.a(libmp3lame.o): In function
`mp3lame_encode_frame':
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:222:
undefined reference to `lame_encode_flush'
/usr/local/lib/libavcodec.a(libmp3lame.o): In function `encode_frame_float':
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:192:
undefined reference to `lame_encode_buffer_float'
/usr/local/lib/libavcodec.a(libmp3lame.o): In function `encode_frame_int32':
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:181:
undefined reference to `lame_encode_buffer_int'
/usr/local/lib/libavcodec.a(libmp3lame.o): In function `encode_frame_int16':
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:166:
undefined reference to `lame_encode_buffer_interleaved'
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:171:
undefined reference to `lame_encode_buffer'
/usr/local/lib/libavcodec.a(libmp3lame.o): In function
`mp3lame_encode_close':
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:66:
undefined reference to `lame_close'
/usr/local/lib/libavcodec.a(libmp3lame.o): In function
`mp3lame_encode_init':
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:78:
undefined reference to `lame_init'
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:82:
undefined reference to `lame_set_num_channels'
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:83:
undefined reference to `lame_set_mode'
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:86:
undefined reference to `lame_set_in_samplerate'
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:87:
undefined reference to `lame_set_out_samplerate'
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:91:
undefined reference to `lame_set_quality'
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:93:
undefined reference to `lame_set_quality'
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:97:
undefined reference to `lame_set_VBR'
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:98:
undefined reference to `lame_set_VBR_quality'
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:101:
undefined reference to `lame_set_brate'
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:105:
undefined reference to `lame_set_bWriteVbrTag'
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:108:
undefined reference to `lame_set_disable_reservoir'
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:111:
undefined reference to `lame_init_params'
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:117:
undefined reference to `lame_get_encoder_delay'
/home/wrinkledcheese/Downloads/ffmpeg-1.0/libavcodec/libmp3lame.c:120:
undefined reference to `lame_get_framesize'
collect2: ld returned 1 exit status
make: *** [x264] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20121001/d54ba810/attachment-0001.html>


More information about the x264-devel mailing list