Subject: Re: mplayer build failuer after aalib-x11 addition
To: None <>
From: Jukka Salmi <>
List: tech-pkg
Date: 07/22/2005 15:28:22
Thomas Klausner --> tech-pkg (2005-07-21 16:25:20 +0200):
> On Mon, Jul 18, 2005 at 10:24:06PM +0200, Jukka Salmi wrote:
> > after todays changes to multimedia/mplayer-share I tried to build
> > mplayer with the following options enabled:
> >=20
> > 	aalib gif jpeg mplayer-real mplayer-win32 png
> I just committed a fix for this.

Thanks! This fixes the aalib-x11 problem.

But mplayer still failes to build because of a missing -lossaudio:

cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=3Dathl=
on-4 -mcpu=3Dathlon-4 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE=
 -I/usr/pkg/include  -I.  -I/usr/pkg/include    -I/usr/X11R6/include       =
-o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o p=
laytreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_conf=
ig.o m_option.o parser-cfg.o m_struct.o edl.o unrarlib.o mixer.o parser-mpc=
md.o subopt-helper.o libvo/libvo.a libao2/libao2.a  vidix/libvidix.a  libmp=
codecs/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  libavcodec/libavcodec.a libavformat=
/libavformat.a          -lpng -lz -lz -ljpeg     -ltermcap    -lungif      =
libfaad2/libfaad2.a  mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a tr=
emor/libvorbisidec.a  -laa -lGL -lXxf86dga -lXv  -lXxf86vm -lXinerama  -Wl,=
-R/usr/X11R6/lib -L/usr/X11R6/lib -lXext -lX11                -L-Wl,-R/usr/=
pkg/lib -Wl,-R-Wl,-R/usr/pkg/lib  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib    -lpo=
six -lpthread  -rdynamic -li386  -lintl -lm
libmpdemux/libmpdemux.a(tvi_bsdbt848.o)(.text+0x112): In function `control':
: undefined reference to `_oss_ioctl'
libmpdemux/libmpdemux.a(tvi_bsdbt848.o)(.text+0x1ad): In function `control':
: undefined reference to `_oss_ioctl'
libmpdemux/libmpdemux.a(tvi_bsdbt848.o)(.text+0x1e6): In function `control':
: undefined reference to `_oss_ioctl'
libmpdemux/libmpdemux.a(tvi_bsdbt848.o)(.text+0x21e): In function `control':
: undefined reference to `_oss_ioctl'
libmpdemux/libmpdemux.a(tvi_bsdbt848.o)(.text+0x285): In function `control':
: undefined reference to `_oss_ioctl'
libmpdemux/libmpdemux.a(tvi_bsdbt848.o)(.text+0x2a7): more undefined refere=
nces to `_oss_ioctl' follow
gmake: *** [mplayer] Error 1
*** Error code 2

How to fix this?

TIA, Jukka

bashian roulette:
$ ((RANDOM%6)) || rm -rf ~