[MPlayer-users] Undefined reference to `pp_help' while compiling MPlayer SVN r. 24722

Perry Valdez perryv at gmail.com
Sat Nov 24 18:17:09 CET 2007


I'm doing a regression test to search for a possible bug that broke 
dumping asf streams, so I checked out MPlayer revision 24722 (MPlayer 
1.0 RC2) here in Ubuntu Gutsy Gibbon (Linux  2.6.22-14-generic #1 SMP). 
Then I ran "make clean", "make distclean", "./configure --prefix=/usr" 
and "make". But my compilation resulted in an error: "undefined 
reference to `pp_help'". Here's a partial log:

==============
[...]
cc -o mplayer mplayer.o m_property.o mp_fifo.o mp_msg.o mixer.o 
parser-mpcmd.o subopt-helper.o command.o asxparser.o codec-cfg.o 
cpudetect.o edl.o find_sub.o get_path.o m_config.o m_option.o m_struct.o 
mpcommon.o parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o 
subreader.o vobsub.o unrarlib.o libvo/libvo.a libao2/libao2.a 
input/libinput.a vidix/libvidix.a libmpcodecs/libmpcodecs.a 
libaf/libaf.a libmpdemux/libmpdemux.a stream/stream.a 
libswscale/libswscale.a libvo/libosd.a libavformat/libavformat.a 
libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a 
loader/libloader.a mp3lib/libmp3.a liba52/liba52.a libmpeg2/libmpeg2.a 
libfaad2/libfaad2.a tremor/libvorbisidec.a dvdread/libdvdread.a 
libdvdcss/libdvdcss.a libass/libass.a osdep/libosdep.a -ldirectfb -lXext 
-lX11 -lpthread -lXv -lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -lSDL 
-laudio -lXt -lesd -laudiofile -lm -laudiofile -lm -lfaac -lx264 
-lpthread -lmp3lame -L/usr/lib -L/usr/lib -Wl,-z,noexecstack 
/usr/local/lib/live/liveMedia/libliveMedia.a                  
/usr/local/lib/live/groupsock/libgroupsock.a                  
/usr/local/lib/live/UsageEnvironment/libUsageEnvironment.a                  
/usr/local/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a                     
-lsmbclient -lpng -lz -ljpeg -lasound -ldl -lpthread -lcdda_interface 
-lcdda_paranoia -lfreetype -lz -lfontconfig  -lz -llzo2 -lmad  -ltheora 
-logg   -ldts  -lstdc++ -lamrnb -lamrwb -ldv -lxvidcore -lm -lpthread 
-ldl -rdynamic  -lm  
mplayer.o:(.data+0x342c): undefined reference to `pp_help'
libmpcodecs/libmpcodecs.a(vf_pp.o): In function `open':
vf_pp.c:(.text+0xcf): undefined reference to 
`pp_get_mode_by_name_and_quality'
vf_pp.c:(.text+0xf0): undefined reference to 
`pp_get_mode_by_name_and_quality'
vf_pp.c:(.text+0x111): undefined reference to 
`pp_get_mode_by_name_and_quality'
vf_pp.c:(.text+0x12e): undefined reference to 
`pp_get_mode_by_name_and_quality'
vf_pp.c:(.text+0x14b): undefined reference to 
`pp_get_mode_by_name_and_quality'
libmpcodecs/libmpcodecs.a(vf_pp.o):vf_pp.c:(.text+0x168): more undefined 
references to `pp_get_mode_by_name_and_quality' follow
libmpcodecs/libmpcodecs.a(vf_pp.o): In function `uninit':
vf_pp.c:(.text+0x426): undefined reference to `pp_free_mode'
vf_pp.c:(.text+0x438): undefined reference to `pp_free_mode'
vf_pp.c:(.text+0x44a): undefined reference to `pp_free_mode'
vf_pp.c:(.text+0x45c): undefined reference to `pp_free_mode'
vf_pp.c:(.text+0x46e): undefined reference to `pp_free_mode'
libmpcodecs/libmpcodecs.a(vf_pp.o):vf_pp.c:(.text+0x480): more undefined 
references to `pp_free_mode' follow
libmpcodecs/libmpcodecs.a(vf_pp.o): In function `put_image':
vf_pp.c:(.text+0x641): undefined reference to `pp_postprocess'
libmpcodecs/libmpcodecs.a(vf_pp.o): In function `config':
vf_pp.c:(.text+0x770): undefined reference to `pp_free_context'
vf_pp.c:(.text+0x78b): undefined reference to `pp_get_context'
libmpcodecs/libmpcodecs.a(vf_pp.o): In function `uninit':
vf_pp.c:(.text+0x4a9): undefined reference to `pp_free_context'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
==============


The latest SVN revisions compiled fine, but revision 24722 did not. I 
googled for answers but I'm unable to find a satisfactory one (most of 
the search results have to do with "--enable-shared-pp" and porting to 
FreeBSD, which don't apply to my situation).

I uploaded "configure.log" to 
ftp://upload.mplayerhq.hu/MPlayer/incoming/perryv/  so that you can see 
what exactly happened when I ran ./configure.

What caused the undefined reference error? Dependency problem? Did I 
fail to install a library? What should I do?






More information about the MPlayer-users mailing list