[MPlayer-dev-eng] libdha on Alpha Linux

Falk Hueffner falk.hueffner at student.uni-tuebingen.de
Sat Jan 12 14:22:15 CET 2002


Nick Kurshev <nickols_k at mail.ru> writes:

> > here's a patch to make libdha compile on Alpha Linux.  I have no
> > idea whether it works, it just removes out? and pciconfig_*, since
> > they are present in sys/io.h. Perhaps you should also check the
> > XFree86 source for a newer version of AsmMacros.h?
> > 
> Did you test this patch?

No, because I have no idea how :)

> Why current stuff causes problems?

make -C libdha
make[1]: Entering directory `/data/src/mplayer/libdha'
gcc -c -O4  -mcpu=21164pc -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -fPIC -I. -I.. -Wall -W -o libdha.o libdha.c
libdha.c: In function `map_phys_mem':
libdha.c:106: warning: cast from pointer to integer of different size
libdha.c: In function `INPORT8':
libdha.c:122: warning: implicit declaration of function `_inb'
libdha.c: In function `INPORT16':
libdha.c:127: warning: implicit declaration of function `_inw'
libdha.c: In function `INPORT32':
libdha.c:132: warning: implicit declaration of function `_inl'
libdha.c: In function `OUTPORT8':
libdha.c:137: warning: implicit declaration of function `_outb'
libdha.c: In function `OUTPORT16':
libdha.c:142: warning: implicit declaration of function `_outw'
libdha.c: In function `OUTPORT32':
libdha.c:147: warning: implicit declaration of function `_outl'
gcc -c -O4  -mcpu=21164pc -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -fPIC -I. -I.. -Wall -W -o pci.o pci.c
pci.c:20: warning: `outb' redefined
AsmMacros.h:73: warning: this is the location of the previous definition
pci.c:21: warning: `outl' redefined
AsmMacros.h:75: warning: this is the location of the previous definition
pci.c:22: warning: `inb' redefined
AsmMacros.h:70: warning: this is the location of the previous definition
pci.c:23: warning: `inl' redefined
AsmMacros.h:72: warning: this is the location of the previous definition
pci.c:272: sys/perm.h: No such file or directory
pci.c: In function `enable_os_io':
pci.c:727: warning: implicit declaration of function `iopl'
pci.c: In function `pci_scan':
pci.c:875: warning: unused variable `do_mode2_scan'
pci.c:872: warning: unused variable `tmp2'
pci.c:872: warning: unused variable `tmp1'
pci.c:871: warning: unused variable `config_cmd'
pci.c:871: warning: unused variable `tmplong2'
pci.c:871: warning: unused variable `tmplong1'
make[1]: *** [pci.o] Error 1
make[1]: Leaving directory `/data/src/mplayer/libdha'
make: *** [libdha/libdha.so] Error 2

        Falk



More information about the MPlayer-dev-eng mailing list