[MPlayer-users] compile/linker error mplayer cvs: undefined reference to `pp_help'

Rainer Wirtz rainer.wirtz at gmx.de
Sat Jan 29 23:14:56 CET 2005


This is the linker command:

cc -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 
-march=athlon-xp -mtune=athlon-xp -pipe -ffast-math 
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64  -I. -I/usr/include/freetype2    
-I/usr/X11/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 subopt-helper.o 
libvo/libvo.a libao2/libao2.a  vidix/libvidix.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 
libavformat/libavformat.a          -lpng -lz -lz -ljpeg    -lfreetype 
-lz   -lnsl  -lungif    -lfontconfig    libfaad2/libfaad2.a  
mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a 
tremor/libvorbisidec.a   -lGL -lXxf86dga -lXv  -lXxf86vm -lXinerama 
-L/usr/X11R6/lib -lXext -lX11 -lnsl -lnsl                  -lpthread 
-ldl -rdynamic   -lm

And this is the error:

mplayer.o(.data+0x1bb8): undefined reference to `pp_help'
libmpcodecs/libmpcodecs.a(vf_pp.o)(.text+0xb5): In function `config':
: undefined reference to `pp_get_context'
libmpcodecs/libmpcodecs.a(vf_pp.o)(.text+0x124): In function `config':
: undefined reference to `pp_free_context'
libmpcodecs/libmpcodecs.a(vf_pp.o)(.text+0x173): In function `uninit':
: undefined reference to `pp_free_mode'
libmpcodecs/libmpcodecs.a(vf_pp.o)(.text+0x3da): In function 
`put_image':
: undefined reference to `pp_postprocess'
libmpcodecs/libmpcodecs.a(vf_pp.o)(.text+0x528): In function `open':
: undefined reference to `pp_get_mode_by_name_and_quality'
libmpcodecs/libmpcodecs.a(vf_pp.o)(.text+0x197): In function `uninit':
: undefined reference to `pp_free_context'
collect2: ld returned 1 exit status
make: *** [mplayer] Fehler 1


main and ffmpeg are fresh updated. libav* are linked into main. It's my 
first update since a while, so I did a "make distclean".

Thanks for your help

Rainer




More information about the MPlayer-users mailing list