[MPlayer-users] CVS version error compiliing - undefined reference to `pp_help'

Andrzej Nikitorowicz andyn at alpha.net.pl
Sat Mar 1 13:44:55 CET 2003


My system is Debian 2.2 Potato, gcc 2.95.2 and gcc 3.2.2.
(same problems are in  MPlayer-20030215 to MPlayer-20030227
gcc 2.95.2 or gcc 3.2.2 - in MPlayer-20030214 everything is OK)

At the end of compiling, I have this error:
gcc -O4 -march=athlon-xp -mcpu=athlon-xp -pipe -ffast-math
-fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I
libmpdemux -Iloader -Ilibvo -I/usr/local/include
-I/usr/local/include/freetype2
  -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT  -o mplayer
mplayer
.o mp_msg.o cpudetect.o codec-cfg.o cfgparser.o my_profile.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 unrarlib.o mixer.o parser-mpcmd.o
libvo/lib
vo.a libao2/libao2.a libmenu/libmenu.a vidix/libvidix.a 
libmpcodecs/libmpcodecs
.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a loader/libloader.a
loader
/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a
libmpdemux/libmpd
emux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a -ldvdread
libavco
dec/libavcodec.a  -lmad -lvorbis -logg    -ldivxdecore
/usr/local/lib/libxvidcor
e.a -lpng -lz -lz -ljpeg   -L/usr/local/lib -lfreetype -ltermcap  -lnsl
/home/Do
wnload/Video/LIVE/liveCVS-2003.02.27/liveMedia/libliveMedia.a
/home/Download/Vid
eo/LIVE/liveCVS-2003.02.27/groupsock/libgroupsock.a
/home/Download/Video/LIVE/li
veCVS-2003.02.27/UsageEnvironment/libUsageEnvironment.a
/home/Download/Video/LIV
E/liveCVS-2003.02.27/BasicUsageEnvironment/libBasicUsageEnvironment.a
-lstdc++
   -laa -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext
-lX11
-lnsl -lmad -lnsl -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL
-lpthread
-lvgagl -lvga -lm    -L/usr/lib -lesd -laudiofile -lm    -llirc_client 
-lpthrea
d -ldl -rdynamic  -lintl -lm
mplayer.o(.data+0x235c): undefined reference to `pp_help'
libmpcodecs/libmpcodecs.a(vf_pp.o): In function `open':
vf_pp.o(.text+0x16b): undefined reference to
`pp_get_mode_by_name_and_quality'
libmpcodecs/libmpcodecs.a(vf_pp.o): In function `config':
vf_pp.o(.text+0x2c7): undefined reference to `pp_get_context'
vf_pp.o(.text+0x310): undefined reference to `pp_free_context'
libmpcodecs/libmpcodecs.a(vf_pp.o): In function `uninit':
vf_pp.o(.text+0x384): undefined reference to `pp_free_mode'
libmpcodecs/libmpcodecs.a(vf_pp.o): In function `put_image':
vf_pp.o(.text+0x5c1): undefined reference to `pp_postprocess'
libmpcodecs/libmpcodecs.a(vf_pp.o): In function `uninit':
vf_pp.o(.text+0x375): undefined reference to `pp_free_context'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
Command exited with non-zero status 2

(libavcodec is static version - sources from CVSffmpeg to
/mplayer/libavcodec)
In lastests CVSffmpeg postprocessing is shared, but compiling with
"dynamic" library
libavcodec.so ending, like this:
gcc -c -O4 -march=athlon-xp -mcpu=athlon-xp -pipe -ffast-math
-fomit-frame-point
er -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE
 -I. -Inative -I.. -I../libmpdemux -I../loader  -D_GNU_SOURCE -o vf_pp.o
vf_pp.c
vf_pp.c:23:51: ../libavcodec/libpostproc/postprocess.h: No such file or
directory
vf_pp.c:26:60: ../libavcodec/libpostproc/postprocess_internal.h: No such
file or directory
vf_pp.c:31: parse error before "pp_mode_t"
vf_pp.c:31: warning: no semicolon at end of struct or union
vf_pp.c:35: parse error before '}' token
vf_pp.c: In function `config':
vf_pp.c:43: `PP_CPU_CAPS_MMX' undeclared (first use in this function)
vf_pp.c:43: (Each undeclared identifier is reported only once
vf_pp.c:43: for each function it appears in.)
vf_pp.c:44: `PP_CPU_CAPS_MMX2' undeclared (first use in this function)
vf_pp.c:45: `PP_CPU_CAPS_3DNOW' undeclared (first use in this function)
vf_pp.c:48: `PP_FORMAT_444' undeclared (first use in this function)
vf_pp.c:49: `PP_FORMAT_422' undeclared (first use in this function)
vf_pp.c:50: `PP_FORMAT_411' undeclared (first use in this function)
vf_pp.c:51: `PP_FORMAT_420' undeclared (first use in this function)
vf_pp.c:54: dereferencing pointer to incomplete type
vf_pp.c:54: dereferencing pointer to incomplete type
vf_pp.c:55: dereferencing pointer to incomplete type
vf_pp.c:57: dereferencing pointer to incomplete type
vf_pp.c: In function `uninit':
vf_pp.c:62: `PP_QUALITY_MAX' undeclared (first use in this function)
vf_pp.c:63: dereferencing pointer to incomplete type
vf_pp.c:64: dereferencing pointer to incomplete type
vf_pp.c:66: dereferencing pointer to incomplete type
vf_pp.c:66: dereferencing pointer to incomplete type
vf_pp.c: In function `control':
vf_pp.c:85: `PP_QUALITY_MAX' undeclared (first use in this function)
vf_pp.c:87: dereferencing pointer to incomplete type
vf_pp.c: In function `get_image':
vf_pp.c:94: dereferencing pointer to incomplete type
vf_pp.c:95: dereferencing pointer to incomplete type
vf_pp.c:97: dereferencing pointer to incomplete type
vf_pp.c:100: dereferencing pointer to incomplete type
vf_pp.c:102: dereferencing pointer to incomplete type
vf_pp.c:103: dereferencing pointer to incomplete type
vf_pp.c:104: dereferencing pointer to incomplete type
vf_pp.c:106: dereferencing pointer to incomplete type
vf_pp.c:107: dereferencing pointer to incomplete type
vf_pp.c:108: dereferencing pointer to incomplete type
vf_pp.c:109: dereferencing pointer to incomplete type
vf_pp.c: In function `put_image':
vf_pp.c:117: dereferencing pointer to incomplete type
vf_pp.c:117: dereferencing pointer to incomplete type
vf_pp.c:122: dereferencing pointer to incomplete type
vf_pp.c:122: dereferencing pointer to incomplete type
vf_pp.c:125: dereferencing pointer to incomplete type
vf_pp.c:128: dereferencing pointer to incomplete type
vf_pp.c:128: dereferencing pointer to incomplete type
vf_pp.c:131: dereferencing pointer to incomplete type
vf_pp.c:131: dereferencing pointer to incomplete type
vf_pp.c:131: dereferencing pointer to incomplete type
vf_pp.c:134: dereferencing pointer to incomplete type
vf_pp.c: In function `open':
vf_pp.c:163: sizeof applied to an incomplete type
vf_pp.c:164: dereferencing pointer to incomplete type
vf_pp.c:167: dereferencing pointer to incomplete type
vf_pp.c:168: dereferencing pointer to incomplete type
vf_pp.c:183: `PP_QUALITY_MAX' undeclared (first use in this function)
vf_pp.c:184: dereferencing pointer to incomplete type
vf_pp.c:185: dereferencing pointer to incomplete type
vf_pp.c:191: `PPMode' undeclared (first use in this function)
vf_pp.c:191: `ppMode' undeclared (first use in this function)
vf_pp.c:193: parse error before ')' token
vf_pp.c:205: dereferencing pointer to incomplete type
vf_pp.c:210: dereferencing pointer to incomplete type
make[1]: *** [vf_pp.o] Error 1
make[1]: Leaving directory
`/home/Download/Video/MPlayer/MPlayer-20030227/libmpc
odecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2
Command exited with non-zero status 2



-- 
Andrzej Nikitorowicz	e-mail:andyn at alpha.net.pl
ul.Buska 8 m 16		15-864 Białystok
phone:+48-(0-85)-8691548, 6524349


--
----
Oferta jakiej jeszcze nie bylo!
Serwer www 60 MB za 99 zl rocznie
Szczegoly: www.oferta.alpha.pl
----



More information about the MPlayer-users mailing list