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

Gábor Lénárt lgb at lgb.hu
Fri Jan 11 08:09:01 CET 2002


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.

- Gabor




More information about the MPlayer-users mailing list