Subject: Re: Mplayer
To: None <port-i386@netbsd.org>
From: Frank Knappe <knappe@tu-harburg.de>
List: port-i386
Date: 05/06/2002 21:34:13
On Thu, 2 May 2002, Frederick Bruckman wrote:
> > > >> Exactly. "mplayer" needs the new toolchain only available in NetBSD-current
> > > >> to be compiled.
> > > > Will the new toolchain available in 1.5.3 ...
> > >
> > > No, 1.5.3 will still use the egcs and the old binutils.
> > >
> > > > ... or do I have to wait for 1.6?
> > >
> > > Unfortunately yes.
> 
> Oh, but Thomas has updated the "binutils" and "mplayer" packages so
> that "mplayer" will build on 1.5.x Give it a try!

That's what I've tried today. Unfortunatly it doesn't worked. Here's the
end of the make output:
/usr/pkg/gcc-2.95.3/bin/cc -c -I/usr/pkgsrc/graphics/mplayer/work/.buildlink/include -O2 -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibmpdemux -Iloader -Ilibvo -I/usr/pkgsrc/graphics/mplayer/work/.buildlink/include   -o mencoder.o mencoder.c
In file included from mencoder.c:49:
/usr/pkgsrc/graphics/mplayer/work/.buildlink/include/lame/lame.h:37: warning: `CDECL' redefined
loader/wine/windef.h:134: warning: this is the location of the previous definition
mencoder.c: In function `main':
mencoder.c:601: warning: assignment makes pointer from integer without a cast
mencoder.c:603: warning: assignment makes pointer from integer without a cast
mencoder.c:605: warning: assignment makes pointer from integer without a cast
mencoder.c:607: warning: assignment makes pointer from integer without a cast
mencoder.c:609: warning: assignment makes pointer from integer without a cast
mencoder.c:616: warning: assignment makes pointer from integer without a cast
mencoder.c:617: warning: assignment makes pointer from integer without a cast
mencoder.c:856: warning: passing arg 2 of `lame_encode_buffer_interleaved' from incompatible pointer type
mencoder.c:871: warning: passing arg 2 of `lame_encode_buffer_interleaved' from incompatible pointer type
mencoder.c:961: warning: assignment from incompatible pointer type
/usr/pkg/gcc-2.95.3/bin/cc -c -I/usr/pkgsrc/graphics/mplayer/work/.buildlink/include -O2 -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibmpdemux -Iloader -Ilibvo -I/usr/pkgsrc/graphics/mplayer/work/.buildlink/include   -o divx4_vbr.o divx4_vbr.c
/usr/pkg/gcc-2.95.3/bin/cc -c -I/usr/pkgsrc/graphics/mplayer/work/.buildlink/include -O2 -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibmpdemux -Iloader -Ilibvo -I/usr/pkgsrc/graphics/mplayer/work/.buildlink/include   -o me-opt-reg.o me-opt-reg.c
/usr/pkg/gcc-2.95.3/bin/cc -I/usr/pkgsrc/graphics/mplayer/work/.buildlink/include -O2 -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibmpdemux -Iloader -Ilibvo -I/usr/pkgsrc/graphics/mplayer/work/.buildlink/include   -o mencoder mencoder.o xacodec.o cpudetect.o mp_msg.o codec-cfg.o cfgparser.o my_profile.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o find_sub.o libao2/afmt.o divx4_vbr.o libvo/aclib.o libvo/osd.o libvo/sub.o libvo/font_load.o me-opt-reg.o dll_init.o -Llibmpcodecs -lmpencoders -Llibmpcodecs -lmpcodecs -Lmp3lib -lMP3 -Lliba52 -la52 -Llibmpeg2 -lmpeg2 -Llibavcodec -lavcodec -Llibfame -lfame -Llibmpdemux -lmpdemux  -Linput -linput  -Lloader -lloader -Lloader/dshow -lDS_Filter       -ldvdread -lpthread  -rdynamic -li386 -lossaudio  -Lpostproc -lpostproc  -Llinux -losdep -ltermcap   -lz  -lpng -lz -ljpeg -lm -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lmp3lame


Is the gcc-2.95.3 the reason?
I don't know why I installed it.

Ciao , Frank .