[MPlayer-users] compile error on sparc (latest cvs)

Nick Kurshev nickols_k at mail.ru
Sat Jan 12 09:44:02 CET 2002


Hello, GАbor!

On Sat, 12 Jan 2002 08:10:23 +0100 you wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Fri, Jan 11, 2002 at 06:30:56PM +0300, Nick Kurshev wrote:
> > [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > Hello, G?bor!
> > 
> > On Fri, 11 Jan 2002 08:02:05 +0100 you wrote:
> > 
> > > [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > > On Fri, Jan 11, 2002 at 12:59:41AM +0100, Sven Hartge wrote:
> > > > [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > > > Hi.
> > > > 
> > > > I've got another compile bug on sparc.
> > > > 
> > > > The needed logs have been uploaded to 
> > > > mplayer-cvs-20020111-00-51-sparc-compile-bug.tar.gz
> > > > 
> > > > Further information:
> > > > 
> > > > saturn:~/compile/main$ gcc -v
> > > > Reading specs from /opt/local/stow/gcc-2.95.3/gcc2/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
> > > > gcc version 2.95.3 20010315 (release)
> > > > 
> > > > saturn:~/compile/main$ uname -a
> > > > SunOS saturn 5.8 Generic_108528-12 sun4u sparc
> > > > 
> > > > saturn:~/compile/main$ ld -V
> > > > ld: Software Generation Utilities - Solaris-ELF (4.0)
> > > > 
> > > > saturn:~/compile/main$ as -V
> > > > as: Sun WorkShop 6 99/08/18
> > > > 
> > > > The interesting part is this one:
> > > > 
> > > > gmake -C libdha
> > > > gmake[1]: Entering directory `/home/hg12092/compile/main/libdha'
> > > > gcc -c -O4  -mcpu=v8 -pipe -ffast-math -fomit-frame-pointer -fPIC -I. -I.. -Wall -W -o libdha.o libdha.c
> > > > gcc -c -O4  -mcpu=v8 -pipe -ffast-math -fomit-frame-pointer -fPIC -I. -I.. -Wall -W -o pci.o pci.c
> > > > pci.c:94: sys/tss.h: No such file or directory
> > > > pci.c:100: sys/sysi86.h: No such file or directory
> > > > pci.c:107: sys/v86.h: No such file or directory
> > > > pci.c: In function `enable_os_io':
> > > > pci.c:723: warning: implicit declaration of function `sysi86'
> > > > pci.c:723: `SI86V86' undeclared (first use in this function)
> > > > pci.c:723: (Each undeclared identifier is reported only once
> > > > pci.c:723: for each function it appears in.)
> > > > pci.c:723: `V86SC_IOPL' undeclared (first use in this function)
> > > > pci.c:723: `PS_IOPL' undeclared (first use in this function)
> > > > pci.c: In function `disable_os_io':
> > > > pci.c:826: `SI86V86' undeclared (first use in this function)
> > > > pci.c:826: `V86SC_IOPL' undeclared (first use in this function)
> > > > gmake[1]: *** [pci.o] Error 1
> > > > gmake[1]: Leaving directory `/home/hg12092/compile/main/libdha'
> > > > gmake: *** [libdha/libdha.so] Error 2
> > > 
> > > Hmmm, libdha is a smart Direct Hardware Access layer, and imho it can be
> > > only used with Linux/x86. However configure should disable this on a Sparc.
> > > 
> > No - it's uniplatform stuff. It can be disable only in case if there are no developers who can
> > port or fix it on given system - architecture.
> > I hope we find out them ;)
> 
> Ahhh. So: "it will be for x86 platform if it will be ported to other OSes
> than UNIX". Is it right? Currently can it be compiled on non-Linux system?
> (eg: Solaris for x86, but imho the original mails was about Sparc and not
> x86 platform).
> 
It should work everywhere where worked X11-3.3.x.
I.e. - linux, Lynx, *bsd*, and non *nix: OS/2, Win9x
For full list of supported OSes see libdha.h
CPUS: x86, sparc, alpha, ppc.
I'll try to port this stuff from X11-4.1.99.5+ at least.
> - GАbor
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
> 


Best regards! Nick




More information about the MPlayer-users mailing list