[MPlayer-users] bugreprt: Error compiling radeon driver...
Aprotim Sanyal
aprotim at virginia.edu
Sat Feb 16 23:05:02 CET 2002
I get a compiler error when I try to build the MPlayer radeon driver...
full description:
from the MPLayer source root id do the following (sorry for the long
output):
cd drviers/radeon
make
and get the following output:
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraph
s -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -ffast-math
-D__KERN
EL__ -DMODULE -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/l
inux/include -c radeonfb.c
radeonfb.c:141: parse error before `__devinitdata'
radeonfb.c:141: warning: type defaults to `int' in declaration of
`__devinitdata
'
radeonfb.c:142: warning: braces around scalar initializer
radeonfb.c:142: warning: (near initialization for `__devinitdata')
radeonfb.c:142: warning: excess elements in scalar initializer
radeonfb.c:142: warning: (near initialization for `__devinitdata')
radeonfb.c:142: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:142: warning: excess elements in scalar initializer
radeonfb.c:142: warning: (near initialization for `__devinitdata')
radeonfb.c:142: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:142: warning: excess elements in scalar initializer
radeonfb.c:142: warning: (near initialization for `__devinitdata')
radeonfb.c:142: warning: excess elements in scalar initializer
radeonfb.c:142: warning: (near initialization for `__devinitdata')
radeonfb.c:142: warning: excess elements in scalar initializer
radeonfb.c:142: warning: (near initialization for `__devinitdata')
radeonfb.c:142: warning: excess elements in scalar initializer
radeonfb.c:142: warning: (near initialization for `__devinitdata')
radeonfb.c:143: warning: braces around scalar initializer
radeonfb.c:143: warning: (near initialization for `__devinitdata')
radeonfb.c:143: warning: excess elements in scalar initializer
radeonfb.c:143: warning: (near initialization for `__devinitdata')
radeonfb.c:143: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:143: warning: excess elements in scalar initializer
radeonfb.c:143: warning: (near initialization for `__devinitdata')
radeonfb.c:143: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:143: warning: excess elements in scalar initializer
radeonfb.c:143: warning: (near initialization for `__devinitdata')
radeonfb.c:143: warning: excess elements in scalar initializer
radeonfb.c:143: warning: (near initialization for `__devinitdata')
radeonfb.c:143: warning: excess elements in scalar initializer
radeonfb.c:143: warning: (near initialization for `__devinitdata')
radeonfb.c:143: warning: excess elements in scalar initializer
radeonfb.c:143: warning: (near initialization for `__devinitdata')
radeonfb.c:143: warning: excess elements in scalar initializer
radeonfb.c:143: warning: (near initialization for `__devinitdata')
radeonfb.c:144: warning: braces around scalar initializer
radeonfb.c:144: warning: (near initialization for `__devinitdata')
radeonfb.c:144: warning: excess elements in scalar initializer
radeonfb.c:144: warning: (near initialization for `__devinitdata')
radeonfb.c:144: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:144: warning: excess elements in scalar initializer
radeonfb.c:144: warning: (near initialization for `__devinitdata')
radeonfb.c:144: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:144: warning: excess elements in scalar initializer
radeonfb.c:144: warning: (near initialization for `__devinitdata')
radeonfb.c:144: warning: excess elements in scalar initializer
radeonfb.c:144: warning: (near initialization for `__devinitdata')
radeonfb.c:144: warning: excess elements in scalar initializer
radeonfb.c:144: warning: (near initialization for `__devinitdata')
radeonfb.c:144: warning: excess elements in scalar initializer
radeonfb.c:144: warning: (near initialization for `__devinitdata')
radeonfb.c:144: warning: excess elements in scalar initializer
radeonfb.c:144: warning: (near initialization for `__devinitdata')
radeonfb.c:145: warning: braces around scalar initializer
radeonfb.c:145: warning: (near initialization for `__devinitdata')
radeonfb.c:145: warning: excess elements in scalar initializer
radeonfb.c:145: warning: (near initialization for `__devinitdata')
radeonfb.c:145: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:145: warning: excess elements in scalar initializer
radeonfb.c:145: warning: (near initialization for `__devinitdata')
radeonfb.c:145: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:145: warning: excess elements in scalar initializer
radeonfb.c:145: warning: (near initialization for `__devinitdata')
radeonfb.c:145: warning: excess elements in scalar initializer
radeonfb.c:145: warning: (near initialization for `__devinitdata')
radeonfb.c:145: warning: excess elements in scalar initializer
radeonfb.c:145: warning: (near initialization for `__devinitdata')
radeonfb.c:145: warning: excess elements in scalar initializer
radeonfb.c:145: warning: (near initialization for `__devinitdata')
radeonfb.c:145: warning: excess elements in scalar initializer
radeonfb.c:145: warning: (near initialization for `__devinitdata')
radeonfb.c:146: warning: braces around scalar initializer
radeonfb.c:146: warning: (near initialization for `__devinitdata')
radeonfb.c:146: warning: excess elements in scalar initializer
radeonfb.c:146: warning: (near initialization for `__devinitdata')
radeonfb.c:146: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:146: warning: excess elements in scalar initializer
radeonfb.c:146: warning: (near initialization for `__devinitdata')
radeonfb.c:146: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:146: warning: excess elements in scalar initializer
radeonfb.c:146: warning: (near initialization for `__devinitdata')
radeonfb.c:146: warning: excess elements in scalar initializer
radeonfb.c:146: warning: (near initialization for `__devinitdata')
radeonfb.c:146: warning: excess elements in scalar initializer
radeonfb.c:146: warning: (near initialization for `__devinitdata')
radeonfb.c:146: warning: excess elements in scalar initializer
radeonfb.c:146: warning: (near initialization for `__devinitdata')
radeonfb.c:146: warning: excess elements in scalar initializer
radeonfb.c:146: warning: (near initialization for `__devinitdata')
radeonfb.c:147: warning: braces around scalar initializer
radeonfb.c:147: warning: (near initialization for `__devinitdata')
radeonfb.c:147: warning: excess elements in scalar initializer
radeonfb.c:147: warning: (near initialization for `__devinitdata')
radeonfb.c:147: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:147: warning: excess elements in scalar initializer
radeonfb.c:147: warning: (near initialization for `__devinitdata')
radeonfb.c:147: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:147: warning: excess elements in scalar initializer
radeonfb.c:147: warning: (near initialization for `__devinitdata')
radeonfb.c:147: warning: excess elements in scalar initializer
radeonfb.c:147: warning: (near initialization for `__devinitdata')
radeonfb.c:147: warning: excess elements in scalar initializer
radeonfb.c:147: warning: (near initialization for `__devinitdata')
radeonfb.c:147: warning: excess elements in scalar initializer
radeonfb.c:147: warning: (near initialization for `__devinitdata')
radeonfb.c:147: warning: excess elements in scalar initializer
radeonfb.c:147: warning: (near initialization for `__devinitdata')
radeonfb.c:148: warning: braces around scalar initializer
radeonfb.c:148: warning: (near initialization for `__devinitdata')
radeonfb.c:148: warning: excess elements in scalar initializer
radeonfb.c:148: warning: (near initialization for `__devinitdata')
radeonfb.c:148: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:148: warning: excess elements in scalar initializer
radeonfb.c:148: warning: (near initialization for `__devinitdata')
radeonfb.c:148: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:148: warning: excess elements in scalar initializer
radeonfb.c:148: warning: (near initialization for `__devinitdata')
radeonfb.c:148: warning: excess elements in scalar initializer
radeonfb.c:148: warning: (near initialization for `__devinitdata')
radeonfb.c:148: warning: excess elements in scalar initializer
radeonfb.c:148: warning: (near initialization for `__devinitdata')
radeonfb.c:148: warning: excess elements in scalar initializer
radeonfb.c:148: warning: (near initialization for `__devinitdata')
radeonfb.c:148: warning: excess elements in scalar initializer
radeonfb.c:148: warning: (near initialization for `__devinitdata')
radeonfb.c:149: warning: braces around scalar initializer
radeonfb.c:149: warning: (near initialization for `__devinitdata')
radeonfb.c:149: warning: excess elements in scalar initializer
radeonfb.c:149: warning: (near initialization for `__devinitdata')
radeonfb.c:149: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:149: warning: excess elements in scalar initializer
radeonfb.c:149: warning: (near initialization for `__devinitdata')
radeonfb.c:149: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:149: warning: excess elements in scalar initializer
radeonfb.c:149: warning: (near initialization for `__devinitdata')
radeonfb.c:149: warning: excess elements in scalar initializer
radeonfb.c:149: warning: (near initialization for `__devinitdata')
radeonfb.c:149: warning: excess elements in scalar initializer
radeonfb.c:149: warning: (near initialization for `__devinitdata')
radeonfb.c:149: warning: excess elements in scalar initializer
radeonfb.c:149: warning: (near initialization for `__devinitdata')
radeonfb.c:149: warning: excess elements in scalar initializer
radeonfb.c:149: warning: (near initialization for `__devinitdata')
radeonfb.c:150: warning: braces around scalar initializer
radeonfb.c:150: warning: (near initialization for `__devinitdata')
radeonfb.c:150: warning: excess elements in scalar initializer
radeonfb.c:150: warning: (near initialization for `__devinitdata')
radeonfb.c:150: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:150: warning: excess elements in scalar initializer
radeonfb.c:150: warning: (near initialization for `__devinitdata')
radeonfb.c:150: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:150: warning: excess elements in scalar initializer
radeonfb.c:150: warning: (near initialization for `__devinitdata')
radeonfb.c:150: warning: excess elements in scalar initializer
radeonfb.c:150: warning: (near initialization for `__devinitdata')
radeonfb.c:150: warning: excess elements in scalar initializer
radeonfb.c:150: warning: (near initialization for `__devinitdata')
radeonfb.c:150: warning: excess elements in scalar initializer
radeonfb.c:150: warning: (near initialization for `__devinitdata')
radeonfb.c:150: warning: excess elements in scalar initializer
radeonfb.c:150: warning: (near initialization for `__devinitdata')
radeonfb.c:151: warning: braces around scalar initializer
radeonfb.c:151: warning: (near initialization for `__devinitdata')
radeonfb.c:151: warning: excess elements in scalar initializer
radeonfb.c:151: warning: (near initialization for `__devinitdata')
radeonfb.c:151: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:151: warning: excess elements in scalar initializer
radeonfb.c:151: warning: (near initialization for `__devinitdata')
radeonfb.c:151: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:151: warning: excess elements in scalar initializer
radeonfb.c:151: warning: (near initialization for `__devinitdata')
radeonfb.c:151: warning: excess elements in scalar initializer
radeonfb.c:151: warning: (near initialization for `__devinitdata')
radeonfb.c:151: warning: excess elements in scalar initializer
radeonfb.c:151: warning: (near initialization for `__devinitdata')
radeonfb.c:151: warning: excess elements in scalar initializer
radeonfb.c:151: warning: (near initialization for `__devinitdata')
radeonfb.c:151: warning: excess elements in scalar initializer
radeonfb.c:151: warning: (near initialization for `__devinitdata')
radeonfb.c:152: warning: braces around scalar initializer
radeonfb.c:152: warning: (near initialization for `__devinitdata')
radeonfb.c:152: warning: excess elements in scalar initializer
radeonfb.c:152: warning: (near initialization for `__devinitdata')
radeonfb.c:152: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:152: warning: excess elements in scalar initializer
radeonfb.c:152: warning: (near initialization for `__devinitdata')
radeonfb.c:152: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:152: warning: excess elements in scalar initializer
radeonfb.c:152: warning: (near initialization for `__devinitdata')
radeonfb.c:152: warning: excess elements in scalar initializer
radeonfb.c:152: warning: (near initialization for `__devinitdata')
radeonfb.c:152: warning: excess elements in scalar initializer
radeonfb.c:152: warning: (near initialization for `__devinitdata')
radeonfb.c:152: warning: excess elements in scalar initializer
radeonfb.c:152: warning: (near initialization for `__devinitdata')
radeonfb.c:152: warning: excess elements in scalar initializer
radeonfb.c:152: warning: (near initialization for `__devinitdata')
radeonfb.c:153: warning: braces around scalar initializer
radeonfb.c:153: warning: (near initialization for `__devinitdata')
radeonfb.c:153: warning: excess elements in scalar initializer
radeonfb.c:153: warning: (near initialization for `__devinitdata')
radeonfb.c:153: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:153: warning: excess elements in scalar initializer
radeonfb.c:153: warning: (near initialization for `__devinitdata')
radeonfb.c:153: `PCI_ANY_ID' undeclared here (not in a function)
radeonfb.c:153: warning: excess elements in scalar initializer
radeonfb.c:153: warning: (near initialization for `__devinitdata')
radeonfb.c:153: warning: excess elements in scalar initializer
radeonfb.c:153: warning: (near initialization for `__devinitdata')
radeonfb.c:153: warning: excess elements in scalar initializer
radeonfb.c:153: warning: (near initialization for `__devinitdata')
radeonfb.c:153: warning: excess elements in scalar initializer
radeonfb.c:153: warning: (near initialization for `__devinitdata')
radeonfb.c:153: warning: excess elements in scalar initializer
radeonfb.c:153: warning: (near initialization for `__devinitdata')
radeonfb.c:154: warning: braces around scalar initializer
radeonfb.c:154: warning: (near initialization for `__devinitdata')
radeonfb.c:154: warning: excess elements in scalar initializer
radeonfb.c:154: warning: (near initialization for `__devinitdata')
radeonfb.c:155: warning: data definition has no type or storage class
radeonfb.c:156: warning: type defaults to `int' in declaration of
`MODULE_DEVICE
_TABLE'
radeonfb.c:156: warning: parameter names (without types) in function
declaration
radeonfb.c:156: warning: data definition has no type or storage class
radeonfb.c:671: parse error before `radeon_set_fbinfo'
radeonfb.c:671: warning: type defaults to `int' in declaration of
`radeon_set_fb
info'
radeonfb.c:671: warning: data definition has no type or storage class
radeonfb.c:672: parse error before `radeon_init_disp'
radeonfb.c:672: warning: type defaults to `int' in declaration of
`radeon_init_d
isp'
radeonfb.c:672: warning: data definition has no type or storage class
radeonfb.c:676: parse error before `radeonfb_pci_unregister'
radeonfb.c:676: warning: type defaults to `int' in declaration of
`radeonfb_pci_
unregister'
radeonfb.c:676: warning: data definition has no type or storage class
radeonfb.c:699: variable `radeonfb_driver' has initializer but incomplete
type
radeonfb.c:700: unknown field `name' specified in initializer
radeonfb.c:700: warning: excess elements in struct initializer
radeonfb.c:700: warning: (near initialization for `radeonfb_driver')
radeonfb.c:701: unknown field `id_table' specified in initializer
radeonfb.c:701: `radeonfb_pci_table' undeclared here (not in a function)
radeonfb.c:701: warning: excess elements in struct initializer
radeonfb.c:701: warning: (near initialization for `radeonfb_driver')
radeonfb.c:702: unknown field `probe' specified in initializer
radeonfb.c:702: warning: excess elements in struct initializer
radeonfb.c:702: warning: (near initialization for `radeonfb_driver')
radeonfb.c:703: unknown field `remove' specified in initializer
radeonfb.c:703: warning: excess elements in struct initializer
radeonfb.c:703: warning: (near initialization for `radeonfb_driver')
radeonfb.c: In function `radeonfb_init':
radeonfb.c:797: warning: implicit declaration of function
`pci_module_init'
radeonfb.c: At top level:
radeonfb.c:801: parse error before `radeonfb_exit'
radeonfb.c:802: warning: return-type defaults to `int'
radeonfb.c: In function `radeonfb_exit':
radeonfb.c:803: warning: implicit declaration of function
`pci_unregister_driver
'
radeonfb.c:804: warning: control reaches end of non-void function
radeonfb.c: In function `radeonfb_setup':
radeonfb.c:814: warning: implicit declaration of function `strsep'
radeonfb.c:814: warning: assignment makes pointer from integer without a
cast
radeonfb.c: In function `__cleanup_module_inline':
radeonfb.c:845: warning: return from incompatible pointer type
radeonfb.c: In function `radeonfb_pci_register':
radeonfb.c:999: warning: implicit declaration of function
`pci_enable_device'
radeonfb.c:1007: warning: implicit declaration of function
`pci_resource_start'
radeonfb.c:1011: warning: implicit declaration of function
`request_mem_region'
radeonfb.c:1021: warning: implicit declaration of function
`release_mem_region'
radeonfb.c:1205: warning: implicit declaration of function
`pci_set_drvdata'
radeonfb.c: At top level:
radeonfb.c:1246: parse error before `radeonfb_pci_unregister'
radeonfb.c:1247: warning: return-type defaults to `int'
radeonfb.c: In function `radeonfb_pci_unregister':
radeonfb.c:1248: warning: implicit declaration of function
`pci_get_drvdata'
radeonfb.c:1248: warning: initialization makes pointer from integer
without a ca
st
radeonfb.c:1251: warning: `return' with no value, in function returning
non-void
radeonfb.c:1271: warning: control reaches end of non-void function
radeonfb.c: At top level:
radeonfb.c:2047: parse error before `radeon_set_fbinfo'
radeonfb.c:2048: warning: return-type defaults to `int'
radeonfb.c:2073: parse error before `radeon_init_disp'
radeonfb.c:2074: warning: return-type defaults to `int'
radeonfb.c: In function `radeon_init_disp_var':
radeonfb.c:2109: warning: implicit declaration of function `fb_find_mode'
radeonfb.c: In function `radeonfb_get_fix':
radeonfb.c:2195: warning: assignment makes pointer from integer without a
cast
radeonfb.c:2208: warning: assignment makes pointer from integer without a
cast
make: *** [radeonfb.o] Error 1
++++++++++++++++++++++++++
System info is as follows:
Running Slackware 8.0
Kernel info: Linux optimus 2.4.5 #10 Fri Jun 22 02:20:21 PDT 2001 i686
unknown
libc-2.2.3
XFree86 Version 4.1.0 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.2.19 i686 [ELF]
Module Loader present
gcc version 2.95.3 20010315 (release)
GNU ld version 2.11.90.0.19 (with BFD 2.11.90.0.19)
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 10
cpu MHz : 1004.518
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 mmx fxsr sse
bogomips : 2005.40
ATI All-in-Wonder Radeon using Radeon driver in X w/ DRI
SB!Live using emu10k driver from creative, if it matters...
More information about the MPlayer-users
mailing list