Subject: pkg/37598: multimedia/mplayer fails to build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jan.m.danielsson@gmail.com>
List: pkgsrc-bugs
Date: 12/23/2007 00:30:00
>Number:         37598
>Category:       pkg
>Synopsis:       multimedia/mplayer fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 23 00:30:00 +0000 2007
>Originator:     Jan Danielsson
>Release:        NetBSD/amd64 4.0 RC2
>Organization:
Confuse A Cat Inc.
>Environment:
NetBSD anca 4.0_RC2 NetBSD 4.0_RC2 (ANCABOOT) #0: Fri Oct 12 19:19:52 CEST 2007  jan@c-e2b8e455.91-0200-74657210.cust.bredbandsbolaget.se:/home/jan/netbsd4/anca/obj.amd64/usr/src/sys/arch/amd64/compile/ANCABOOT amd64

>Description:
[---]
gmake[1]: Leaving directory `/pkg_comp/obj/pkgsrc/multimedia/mplayer/default/MPlayer-1.0rc2/osdep'
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 libmenu/libmenu.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 mp3lib/libmp3.a liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremor/libvorbisidec.a libass/libass.a osdep/libosdep.a -lXext -lX11 -lpthread -lXv -lXinerama -lXxf86vm -lXxf86dga -lGL -laa -Wl,-rpath,/usr/pkg/lib -lSDL -lpthread -laudio -lXt -Wl,-R/usr/pkg/lib -lesd -laudiofile -lm -lossaudio -Wl,-R/usr/pkg/lib -laudiofile -lm -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -Wl,
 -z,noexecstack  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lposix   -lncurses -lpng -lz -ljpeg -lungif -lossaudio -ldvdread -lcdda_interface -lcdda_paranoia -L/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib -lfreetype -lz -lfontconfig  -lz -lmad -ltheora -logg -ldv -lpthread  -rdynamic  -lm -lxvidcore
vidix/libvidix.a(pci.o): In function `pci_scan':
pci.c:(.text+0x14b): undefined reference to `pci_config_type'
pci.c:(.text+0x1f9): undefined reference to `pci_get_vendor'
pci.c:(.text+0x24e): undefined reference to `pci_config_read_long'
pci.c:(.text+0x27b): undefined reference to `pci_config_read_long'
pci.c:(.text+0x2a8): undefined reference to `pci_config_read_long'
pci.c:(.text+0x2d5): undefined reference to `pci_config_read_long'
pci.c:(.text+0x302): undefined reference to `pci_config_read_long'
vidix/libvidix.a(pci.o):pci.c:(.text+0x32f): more undefined references to `pci_config_read_long' follow
gmake: *** [mplayer] Error 1
*** Error code 2

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

Stop.
make: stopped in /usr/pkgsrc/multimedia/mplayer

>How-To-Repeat:
Simply attempt to build mplayer (on NetBSD/amd64).
>Fix:
Unknown.