Subject: gmplayer fails to build
To: None <netbsd-help@netbsd.org>
From: Huub <huubvanniekerk@gmail.com>
List: netbsd-help
Date: 02/22/2007 12:20:16
Hi,

Running NBSD 3.1/i386, using pkgsrc-current (downloaded yesterday), 
gmplayer fails to build. The last lines:

gmake[1]: `libmenu.a' is up to date.
gmake[1]: Leaving directory 
`/usr/pkgsrc/multimedia/gmplayer/work/MPlayer-1.0rc1/libmenu'
cc -fno-PIC -O3 -ffast-math -fomit-frame-pointer -mcpu=pentiumpro 
-D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE -I/usr/X11R6/include -I/usr/pkg/include 
-I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 
-I/usr/X11R6/include -I/usr/X11R6/include -I/usr/pkg/include/SDL 
-D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -I/usr/pkg/include/artsc 
-pthread -I/usr/pkg/include/glib/glib-2.0 
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/pkg/include -O2 -DXTHREADS 
-I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include 
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo 
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/X11R6/include 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include 
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12   -I. 
-I./libavutil -I./libavcodec -o mplayer mplayer.o m_property.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 input/libinput.a 
libmenu/libmenu.a Gui/libgui.a -Wl,-R/usr/pkg/lib -Wl,--rpath 
-Wl,/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/pkg/lib -L/usr/X11R6/lib 
-lgtk-x11-2.0 -lgdk-x11-2.0 -lXi -latk-1.0 -lgdk_pixbuf-2.0 
-lpangocairo-1.0 -lXrandr -lXext -lXcursor -lXfixes -lcairo 
-lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl 
-lfreetype -lz -lfontconfig -lglitz -lm -lpng12 -lXrender -lX11 
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lglib-2.0 -lintl 
libmpcodecs/libmpcodecs.a loader/libloader.a loader/dshow/libDS_Filter.a 
loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a 
stream/stream.a libswscale/libswscale.a osdep/libosdep.a 
-Wl,-z,noexecstack  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib 
-Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib 
-Wl,-R/usr/X11R6/lib -ldvdread  libavformat/libavformat.a 
libavcodec/libavcodec.a  libavutil/libavutil.a 
libpostproc/libpostproc.a  -lmad -ldv  -ltheora -logg   -lxvidcore 
-lpng -lz -lz -ljpeg        -ltermcap -lcdda_interface -lcdda_paranoia 
    -lungif       -lposix -lossaudio -lpthread  -rdynamic -li386  -lm 
  libfaad2/libfaad2.a  mp3lib/libMP3.a liba52/liba52.a 
libmpeg2/libmpeg2.a tremor/libvorbisidec.a libass/libass.a -lfontconfig 
-L/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib -lfreetype -lz -laa -lGL 
-lXxf86dga -lXv  -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11 
-lpthread -Wl,-R/usr/X11R6/lib  -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib 
-lSDL -lpthread       vidix/libvidix.a -L/usr/pkg/lib -lartsc -lpthread 
-L/usr/pkg/lib -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl 
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lesd -laudiofile -lm -lossaudio 
-laudio -lXt -L/usr/X11R6/lib -lXext -lX11  -lpthread 
-Wl,-R/usr/X11R6/lib
libavcodec/libavcodec.a(cabac.o)(.text+0x10cb): In function 
`decode_significance_8x8_x86':
: undefined reference to `last_coeff_flag_offset_8x8'

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/multimedia/gmplayer/work/.gcc/bin/gcc -fno-PIC -O3 
-ffast-math -fomit-frame-pointer -mcpu=pentiumpro -D_THREAD_SAFE 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-I/usr/pkgsrc/multimedia/gmplayer/work/.x11-buildlink/include 
-I/usr/pkgsrc/multimedia/gmplayer/work/.buildlink/include 
-DGLX_GLXEXT_LEGACY 
-I/usr/pkgsrc/multimedia/gmplayer/work/.buildlink/include/freetype2 
-I/usr/pkgsrc/multimedia/gmplayer/work/.buildlink/include/SDL 
-D_GNU_SOURCE=1 -D_REENTRANT 
-I/usr/pkgsrc/multimedia/gmplayer/work/.buildlink/include/artsc -pthread 
-I/usr/pkgsrc/multimedia/gmplayer/work/.buildlink/include/glib/glib-2.0 
-I/usr/pkgsrc/multimedia/gmplayer/work/.buildlink/lib/glib-2.0/include 
-O2 -DXTHREADS 
-I/usr/pkgsrc/multimedia/gmplayer/work/.buildlink/include/gtk-2.0 
-I/usr/pkgsrc/multimedia/gmplayer/work/.buildlink/lib/gtk-2.0/include 
-I/usr/pkgsrc/multimedia/gmplayer/work/.buildlink/include/atk-1.0 
-I/usr/pkgsrc/multimedia/gmplayer/work/.buildlink/include/cairo 
-I/usr/pkgsrc/multimedia/gmplayer/work/.buildlink/include/pango-1.0 
-I/usr/pkgsrc/multimedia/gmplayer/work/.buildlink/include/libpng12 -I. 
-I./libavutil -I./libavcodec -o mplayer mplayer.o m_property.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 input/libinput.a 
libmenu/libmenu.a Gui/libgui.a -Wl,-R/usr/pkg/lib 
-Wl,--rpath,/usr/pkg/lib -Wl,-R/usr/X11R6/lib 
-L/usr/pkgsrc/multimedia/gmplayer/work/.buildlink/lib 
-L/usr/pkgsrc/multimedia/gmplayer/work/.x11-buildlink/lib 
libmpcodecs/libmpcodecs.a loader/libloader.a loader/dshow/libDS_Filter.a 
loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a 
stream/stream.a libswscale/libswscale.a osdep/libosdep.a 
-Wl,-z,noexecstack libavformat/libavformat.a libavcodec/libavcodec.a 
libavutil/libavutil.a libpostproc/libpostproc.a -rdynamic 
libfaad2/libfaad2.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a 
tremor/libvorbisidec.a libass/libass.a -Wl,-rpath,/usr/pkg/lib 
vidix/libvidix.a  -lgtk-x11-2.0 -lgdk-x11-2.0 -lXi -latk-1.0 
-lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXrandr -lXext -lXcursor -lXfixes 
-lcairo -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 
-lglib-2.0 -lintl -lfreetype -lz -lfontconfig -lglitz -lm -lpng12 
-lXrender -lX11 -lglib-2.0 -lintl -ldvdread -lmad -ldv -ltheora -logg 
-lxvidcore -lpng -lz -ljpeg -ltermcap -lcdda_interface -lcdda_paranoia 
-lungif -lposix -lossaudio -lpthread -li386 -lm -lfontconfig -lfreetype 
-lz -laa -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -lXext -lX11 
-lpthread -lSDL -lpthread -lartsc -lpthread -lgmodule-2.0 -lgthread-2.0 
-lglib-2.0 -lintl -lesd -laudiofile -lm -lossaudio -laudio -lXt -lXext 
-lX11 -lpthread
gmake: *** [mplayer] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/multimedia/gmplayer
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/multimedia/gmplayer
bash-3.2#

Can somebody tell me what's wrong?

Thanks,

Huub