[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mplayer (preview)
I don't have a problem with disabling oss, that never really worked on
my freebsd based box (I think it's a BSD vs Linux thing there)
I recommened that the port leave the cpu/cpu feature autodetection
alone, as it is fairly smart about that process. Also, can you change
the i386 instances to a more non-intel friendly port. IIRC, mplayer is
(wants to be) multi-platform. (I have to spit a --target=ppc-openbsd
for mplayer's configure to understand my platform)
I deleted that bogus Makefile, and I changed the port (slightly) to give
configure --target=ppc-openbsd rather than the i386 feature set (mmx,
sse, etc). It fails, with a call to a i386 library.
./darwinfixlib.sh mplayer.o mp_msg.o xacodec.o cpudetect.o codec-cfg.o
cfgparser.o my_profile.o spudec.o playtree.o playtreeparser.o
asxparser.o vobsub.o subreader.o find_sub.o lirc_mp.o mixer.o
mp-opt-reg.o libavcodec/libavcodec.a libmpdemux/libmpdemux.a
libmpcodecs/libmpcodecs.a libao2/libao2.a liba52/liba52.a
mp3lib/libMP3.a libmpeg2/libmpeg2.a linux/libosdep.a
postproc/libpostproc.a input/libinput.a libvo/libvo.a
cc -O2 -D_THREAD_SAFE -Ilibmpdemux -Iloader -Ilibvo -o mplayer
mplayer.o mp_msg.o xacodec.o cpudetect.o codec-cfg.o cfgparser.o
my_profile.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o
subreader.o find_sub.o lirc_mp.o mixer.o mp-opt-reg.o -Llibvo -lvo
-Llibmpcodecs -lmpcodecs -Lmp3lib -lMP3 -Lliba52 -la52 -Llibmpeg2
-lmpeg2 -Llibavcodec -lavcodec -Llibmpdemux -lmpdemux -Linput -linput
-pthread -rdynamic -li386 -lossaudio -Lpostproc -lpostproc -Llinux
-losdep -ltermcap -lz -lm -Llibao2 -lao2 -L/usr/X11R6/lib -lX11
-lXext -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama
ld: cannot find -li386
gmake: *** [mplayer] Error 1
*** Error code 2
I posed a script(1) of the output to
[http://www.theapt.org/openbsd/mplayer.txt]
On Tuesday 07 May 2002 01:22 am, Björn Sandell wrote:
> On 5 May 2002, Jean-Yves Burlett wrote:
/snip/
>
> I could disable oss, would that upset anyone?
>
/snip/
>
> Yup, some things will change here. Than againg, maybe is a good thing
> to tack on --with-extra{inc,lib}dir and just use whats available?
>
> > By the way, are there reasons not to activate the gui and
> > 3dnow/sse/whatever optimisation ? (I have not tried them)
>
> Well, it will not run anymore (at least not on my machine ;).
>
>
> Björn Sandell DCE/DFS Sysadmin IT department
> Chalmers University of Technology www.dce.chalmers.se