Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#163 closed defect (invalid)

Compilation error in mplayer/libavcodec

Reported by: seven@… Owned by: diego@…
Priority: normal Component: libavcodec
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

This is current CVS as of 14:00 CET today.

cc -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=pentium4
-mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I.
-I/usr/include/freetype2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT
-I/usr/X11/include -I/usr/X11R6/include -I/usr/include/ -o mplayer
mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o
asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o
parser-cfg.o m_struct.o edl.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a
libao2/libao2.a libmenu/libmenu.a vidix/libvidix.a Gui/libgui.a
libmpcodecs/libmpcodecs.a loader/libloader.a loader/dshow/libDS_Filter.a
loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a
input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2
-lmpdvdkit libavcodec/libavcodec.a -lmad -lvorbis -logg -lmp3lame -lvorbis
-logg -lpng -lz -lz -ljpeg -lasound -ldl -lpthread /usr/lib/libxmms.so.1
-export-dynamic -lfreetype -lz -ltermcap -lcdda_interface -lcdda_paranoia -lnsl

-lungif -lsmbclient -L/usr/X11R6/lib -lfontconfig libfaad2/libfaad2.a

mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a -L/usr/lib -L/usr/X11R6/lib
-lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm -L/usr/lib -lglib
-laa -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11
-lnsl -lnsl -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lvgagl -lvga -lm

-L/usr/lib -lcaca -lslang -lX11 -L/usr/X11R6/lib -lncurses -lncurses

-lpthread -ldl -rdynamic -lm
libavcodec/libavcodec.a(mpegvideo.o)(.text+0xf37b): In function
`pre_estimate_motion_thread':
: undefined reference to `ff_pre_estimate_p_frame_motion'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0xf56c): In function
`estimate_motion_thread':
: undefined reference to `ff_estimate_p_frame_motion'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0xf610): In function
`estimate_motion_thread':
: undefined reference to `ff_estimate_b_frame_motion'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x10330): In function
`MPV_encode_picture':
: undefined reference to `ff_init_me'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x112bb): In function
`MPV_encode_picture':
: undefined reference to `ff_get_best_fcode'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x112e2): In function
`MPV_encode_picture':
: undefined reference to `ff_get_best_fcode'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x112fe): In function
`MPV_encode_picture':
: undefined reference to `ff_get_best_fcode'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x11323): In function
`MPV_encode_picture':
: undefined reference to `ff_fix_long_p_mvs'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x1135f): In function
`MPV_encode_picture':
: undefined reference to `ff_fix_long_mvs'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x113b9): In function
`MPV_encode_picture':
: undefined reference to `ff_fix_long_mvs'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x11736): In function
`MPV_encode_picture':
: undefined reference to `ff_get_best_fcode'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x11752): In function
`MPV_encode_picture':
: undefined reference to `ff_get_best_fcode'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x11777): In function
`MPV_encode_picture':
: undefined reference to `ff_get_best_fcode'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x11793): In function
`MPV_encode_picture':
: undefined reference to `ff_get_best_fcode'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x117da): In function
`MPV_encode_picture':
: undefined reference to `ff_fix_long_mvs'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x11816): In function
`MPV_encode_picture':
: undefined reference to `ff_fix_long_mvs'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x11852): In function
`MPV_encode_picture':
: undefined reference to `ff_fix_long_mvs'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x1188e): In function
`MPV_encode_picture':
: undefined reference to `ff_fix_long_mvs'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x11917): In function
`MPV_encode_picture':
: undefined reference to `ff_fix_long_mvs'
libavcodec/libavcodec.a(mpegvideo.o)(.text+0x11992): more undefined references
to `ff_fix_long_mvs' follow
libavcodec/libavcodec.a(snow.o)(.text+0x56ae): In function `encode_q_branch':
: undefined reference to `ff_epzs_motion_search'
libavcodec/libavcodec.a(snow.o)(.text+0x5795): In function `encode_q_branch':
: undefined reference to `ff_get_mb_score'
libavcodec/libavcodec.a(snow.o)(.text+0xaf68): In function `encode_frame':
: undefined reference to `ff_init_me'
libavcodec/libavcodec.a(svq1.o)(.text+0x339d): In function `svq1_encode_frame':
: undefined reference to `ff_init_me'
libavcodec/libavcodec.a(svq1.o)(.text+0x35f2): In function `svq1_encode_frame':
: undefined reference to `ff_estimate_p_frame_motion'
libavcodec/libavcodec.a(svq1.o)(.text+0x3666): In function `svq1_encode_frame':
: undefined reference to `ff_fix_long_p_mvs'
libavcodec/libavcodec.a(svq1.o)(.text+0x36a8): In function `svq1_encode_frame':
: undefined reference to `ff_fix_long_mvs'
collect2: ld returned 1 exit status
make: * [mplayer] Error 1

Change History (2)

comment:1 Changed 15 years ago by diego@…

  • Status changed from new to assigned

It works fine for me. Have you tried doing a make distclean? Is your
libavcodec directory up to date? Try 'cvs up' in the libavcodec subdirectory
and/or add

D/libavcodec

to CVS/Entries.

comment:2 Changed 15 years ago by seven@…

  • Resolution set to invalid
  • Status changed from assigned to closed

Hadn't done a "make distclean".

Note: See TracTickets for help on using tickets.