#440 closed defect (fixed)
compile error with today's CVS (22jan06 - 7:32pm Paris time)
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | build system |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
tryed to compile MPlayer from CVS and got this at the end of the compile :
cc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=k8 -mtune=k8 -pipe
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I. -I/usr/include/cdda -I/usr/include/freetype2
-I/usr/include -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include
-I./libavutil -I./libavcodec -o mplayer mplayer.o mp_msg.o asxparser.o
codec-cfg.o cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o
parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o
unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a
libao2/libao2.a vidix/libvidix.a libmpcodecs/libmpcodecs.a libaf/libaf.a
libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a
-Llibmpdvdkit2 -lmpdvdkit libavutil/libavutil.a libavcodec/libavcodec.a
libavformat/libavformat.a -ldv -ltheora -logg -lmp3lame -lpng -lz -lz
-ljpeg -lasound -ldl -lpthread -L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64
-lfreetype -lz -lncurses -lcdda_interface -lcdda_paranoia -lnsl -lungif
-lsmbclient -L/usr/lib64 -lfribidi -lfontconfig libfaad2/libfaad2.a
mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a
-lGL -ldl -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib64 -lXext -lX11
-lnsl -lpthread -lnsl -L/usr/lib64 -lSDL -lpthread -L/usr/lib64 -ldl
-lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -L/usr/lib64 -lesd
-laudiofile -lm -lasound -Wl,-z,noexecstack -lpthread -ldl -lm
libavcodec/libavcodec.a(mpeg12.o)(.text+0x712e): In function `mpeg_decode_frame':
mpeg12.c: undefined reference to `av_reduce'
libavcodec/libavcodec.a(mpeg12.o)(.text+0x7182):mpeg12.c: undefined reference to
`av_div_q'
libavcodec/libavcodec.a(mpeg12.o)(.text+0x854e):mpeg12.c: undefined reference to
`av_d2q'
libavcodec/libavcodec.a(h264.o)(.text+0xab4f): In function `decode_slice_header':
h264.c: undefined reference to `av_reduce'
libavformat/libavformat.a(utils.o)(.text+0x5be2): In function `av_find_stream_info':
utils.c: undefined reference to `av_reduce'
libavformat/libavformat.a(utils.o)(.text+0x5c1a):utils.c: undefined reference to
`av_reduce'
libavformat/libavformat.a(ffm.o)(.text+0x397): In function `ffm_write_header':
ffm.c: undefined reference to `av_dbl2int'
libavformat/libavformat.a(ffm.o)(.text+0x3af):ffm.c: undefined reference to
`av_dbl2int'
libavformat/libavformat.a(ffm.o)(.text+0x3c7):ffm.c: undefined reference to
`av_dbl2int'
libavformat/libavformat.a(ffm.o)(.text+0x3df):ffm.c: undefined reference to
`av_dbl2int'
libavformat/libavformat.a(ffm.o)(.text+0x48e):ffm.c: undefined reference to
`av_dbl2int'
libavformat/libavformat.a(ffm.o)(.text+0x1059): In function `ffm_read_header':
ffm.c: undefined reference to `av_int2dbl'
libavformat/libavformat.a(ffm.o)(.text+0x1075):ffm.c: undefined reference to
`av_int2dbl'
libavformat/libavformat.a(ffm.o)(.text+0x1091):ffm.c: undefined reference to
`av_int2dbl'
libavformat/libavformat.a(ffm.o)(.text+0x10ad):ffm.c: undefined reference to
`av_int2dbl'
libavformat/libavformat.a(ffm.o)(.text+0x1160):ffm.c: undefined reference to
`av_int2dbl'
libavformat/libavformat.a(yuv4mpeg.o)(.text+0x73): In function `yuv4_write_packet':
yuv4mpeg.c: undefined reference to `av_reduce'
libavformat/libavformat.a(yuv4mpeg.o)(.text+0x653): In function `yuv4_read_header':
yuv4mpeg.c: undefined reference to `av_reduce'
libavformat/libavformat.a(4xm.o)(.text+0x4cf): In function `fourxm_read_header':
4xm.c: undefined reference to `av_int2flt'
libavformat/libavformat.a(flvdec.o)(.text+0x1f0): In function `flv_read_packet':
flvdec.c: undefined reference to `av_int2dbl'
libavformat/libavformat.a(flvdec.o)(.text+0x220):flvdec.c: undefined reference
to `av_int2dbl'
libavformat/libavformat.a(matroska.o)(.text+0x5fd): In function `ebml_read_float':
matroska.c: undefined reference to `av_int2flt'
libavformat/libavformat.a(matroska.o)(.text+0x632):matroska.c: undefined
reference to `av_int2dbl'
collect2: ld returned 1 exit status
make: * [mplayer] Erreur 1
Attachments (1)
Change History (7)
comment:1 by , 19 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 by , 19 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
(In reply to comment #1)
You are missing libavutil.
hmmm, nope
[stranche@gallion main]$ ls libavutil/
avutil.h common.h eval.c integer.h intfloat_readwrite.c
intfloat_readwrite.o Makefile mathematics.h rational.c rational.o
bswap.h CVS integer.c integer.o intfloat_readwrite.h libavutil.a
mathematics.c mathematics.o rational.h
comment:4 by , 19 years ago
Do you have *latest* CVS of both MPlayer and libav* (edited CVS/Entries for
libav* to get updated automatically)? There were build system changes during
the last few days.
comment:5 by , 19 years ago
(In reply to comment #4)
Do you have *latest* CVS of both MPlayer and libav* (edited CVS/Entries for
libav* to get updated automatically)? There were build system changes during
the last few days.
yes, both CVS retrieved at the same time with these commands from scratch :
cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer login
cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer co -P main
cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg login
cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co -P ffmpeg
comment:6 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Linking order was wrong. Fixed in CVS.
You are missing libavutil.