[FFmpeg-devel] r12610 compiler linking errors
Amos Jeffries
amos
Fri Mar 28 02:33:32 CET 2008
I'm getting these errors in the latest SVN code (revision 12610):
gcc -L"/src/ffmpeg"/libavdevice -L"/src/ffmpeg"/libavformat
-L"/src/ffmpeg"/libavcodec -L"/src/ffmpeg"/libavutil -g -rdynamic
-export-dynamic -Wl,--warn-common -Wl,--as-needed
-Wl,-rpath-link,"/src/ffmpeg"/libavcodec
-Wl,-rpath-link,"/src/ffmpeg"/libavformat
-Wl,-rpath-link,"/src/ffmpeg"/libavutil -Wl,-Bsymbolic -o ffmpeg
ffmpeg.o lib.a -lavdevice -lavformat -lavcodec -lavutil -lz -pthread
-lm -lmp3lame -lm -lvorbisenc -lvorbis -logg -lx264 -lm -ldl -ldl
ffmpeg.o: In function `opt_input_file':
/src/ffmpeg/ffmpeg.c:2686: undefined reference to `print_error'
ffmpeg.o: In function `opt_show_version':
/src/ffmpeg/ffmpeg.c:3725: undefined reference to `show_version'
ffmpeg.o: In function `show_help':
/src/ffmpeg/ffmpeg.c:3500: undefined reference to `show_help_options'
/src/ffmpeg/ffmpeg.c:3502: undefined reference to `show_help_options'
/src/ffmpeg/ffmpeg.c:3505: undefined reference to `show_help_options'
/src/ffmpeg/ffmpeg.c:3508: undefined reference to `show_help_options'
/src/ffmpeg/ffmpeg.c:3511: undefined reference to `show_help_options'
ffmpeg.o:/src/ffmpeg/ffmpeg.c:3514: more undefined references to
`show_help_options' follow
ffmpeg.o: In function `opt_show_license':
/src/ffmpeg/ffmpeg.c:3719: undefined reference to `show_license'
ffmpeg.o: In function `write_frame':
/src/ffmpeg/ffmpeg.c:422: undefined reference to `print_error'
/src/ffmpeg/ffmpeg.c:431: undefined reference to `print_error'
ffmpeg.o: In function `opt_output_file':
/src/ffmpeg/ffmpeg.c:3242: undefined reference to `print_error'
ffmpeg.o: In function `main':
/src/ffmpeg/ffmpeg.c:3923: undefined reference to `show_banner'
/src/ffmpeg/ffmpeg.c:3930: undefined reference to `parse_options'
collect2: ld returned 1 exit status
make: *** [ffmpeg] Error 1
Looks like cmdutils.o is not being linked in anyware for the main ffmpeg
binary.
Amos Jeffries
More information about the ffmpeg-devel
mailing list