[MPlayer-users] latest CVS on sparc

. konsul at ratel.ru
Sat Mar 16 10:22:01 CET 2002


hello everyone, i have a trouble with compile last mplayer on ultra5 width 
debian linux. i run following command (from debian directory doc):
<DEB_BUILD_OPTIONS="--disable-streaming --disable-gui" fakeroot debian/rules 
binary> and got error with file not found: 

 -----
in file included from pci.c:64:
sysdep/pci_linux.c:10: sys/io.h: No such file or directory
In file included from pci.c:64:
sysdep/pci_linux.c: In function `enable_os_io':
sysdep/pci_linux.c:33: warning: implicit declaration of function `iopl'
In file included from pci.c:486:
sysdep/pci_sparc.c: In function `pci_config_type':
sysdep/pci_sparc.c:23: warning: overflow in implicit constant conversion
make[2]: *** [pci.o] Error 1
make[2]: Leaving directory `/home/vlad/MPlayer-20020316/libdha'
make[1]: *** [libdha/libdha.so] Error 2
make[1]: Leaving directory `/home/vlad/MPlayer-20020316'
make: *** [build-stamp] Error 2
 ----- 

if i set-up extraincldir wich point to place io.h 
(/usr/src/linux/include/asm-sparc64) following error aquired: 

 -----
cc -c -O4  -mcpu=v8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT 
 -fPIC -I. -I.. -Wall -W -o pci.o pci.c
In file included from sysdep/pci_linux.c:10,
                from pci.c:64:
../sys/io.h:74: redefinition of `inb'
sysdep/AsmMacros_sparc.h:30: `inb' previously defined here
../sys/io.h:85: redefinition of `inw'
sysdep/AsmMacros_sparc.h:37: `inw' previously defined here
../sys/io.h:96: redefinition of `inl'
sysdep/AsmMacros_sparc.h:44: `inl' previously defined here
../sys/io.h:107: conflicting types for `outb'
sysdep/AsmMacros_sparc.h:15: previous declaration of `outb'
../sys/io.h:114: conflicting types for `outw'
sysdep/AsmMacros_sparc.h:20: previous declaration of `outw'
../sys/io.h:121: conflicting types for `outl'
sysdep/AsmMacros_sparc.h:25: previous declaration of `outl'
In file included from /usr/include/bits/fcntl.h:23,
                from /usr/include/fcntl.h:33,
                from sysdep/pci_linux.c:16,
                from pci.c:64:
../sys/types.h:13: warning: redefinition of `umode_t'
/usr/include/asm-sparc/types.h:18: warning: `umode_t' previously declared 
here
../sys/types.h:20: warning: redefinition of `__s8'
/usr/include/asm-sparc/types.h:20: warning: `__s8' previously declared here
../sys/types.h:21: warning: redefinition of `__u8'
/usr/include/asm-sparc/types.h:21: warning: `__u8' previously declared here
../sys/types.h:23: warning: redefinition of `__s16'
/usr/include/asm-sparc/types.h:23: warning: `__s16' previously declared here
../sys/types.h:24: warning: redefinition of `__u16'
/usr/include/asm-sparc/types.h:24: warning: `__u16' previously declared here
../sys/types.h:26: warning: redefinition of `__s32'
/usr/include/asm-sparc/types.h:26: warning: `__s32' previously declared here
../sys/types.h:27: warning: redefinition of `__u32'
/usr/include/asm-sparc/types.h:27: warning: `__u32' previously declared here
../sys/types.h:29: conflicting types for `__s64'
/usr/include/asm-sparc/types.h:29: previous declaration of `__s64'
../sys/types.h:30: conflicting types for `__u64'
/usr/include/asm-sparc/types.h:30: previous declaration of `__u64'
In file included from pci.c:64:
sysdep/pci_linux.c: In function `enable_os_io':
sysdep/pci_linux.c:33: warning: implicit declaration of function `iopl'
In file included from pci.c:486:
sysdep/pci_sparc.c: In function `pci_config_type':
sysdep/pci_sparc.c:14: warning: large integer implicitly truncated to 
unsigned type
sysdep/pci_sparc.c:15: warning: large integer implicitly truncated to 
unsigned type
pci.c: In function `pci_scan':
pci.c:636: warning: large integer implicitly truncated to unsigned type
pci.c:637: warning: large integer implicitly truncated to unsigned type
pci.c:648: warning: large integer implicitly truncated to unsigned type
pci.c:650: warning: large integer implicitly truncated to unsigned type
pci.c:663: warning: large integer implicitly truncated to unsigned type
pci.c:676: warning: large integer implicitly truncated to unsigned type
pci.c:690: warning: large integer implicitly truncated to unsigned type
{standard input}: Assembler messages:
{standard input}:69: Error: Architecture mismatch on "lduwa".
{standard input}:69:  (Requires v9|v9a; requested architecture is 

...(lot of analogious message) 

{standard input}:850: Error: Architecture mismatch on "stwa".
{standard input}:850:  (Requires v9|v9a; requested architecture is 
sparclite.)
{standard input}:852: Error: Architecture mismatch on "lduwa".
{standard input}:852:  (Requires v9|v9a; requested architecture is 
sparclite.)
make[2]: *** [pci.o] Error 1
make[2]: Leaving directory `/home/vlad/MPlayer-20020316/libdha'
make[1]: *** [libdha/libdha.so] Error 2
make[1]: Leaving directory `/home/vlad/MPlayer-20020316'
make: *** [build-stamp] Error 2
 --------- 


anybody compiled it on sparc? please help. 

vlad




More information about the MPlayer-users mailing list