|
when i try to install my video card driver(powervr kyro 2) under redhat 9.0(2.4.20-
some error occured during my rebuild source
it goes
===============================================
[root@localhost root]# rpmbuild --rebuild powervr-2.01.21-7.src.rpm
Installing powervr-2.01.21-7.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.84858
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf powervr-2.01.21-7
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/powervr-2.01.21-7.tgz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd powervr-2.01.21-7
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.84858
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd powervr-2.01.21-7
+ LANG=C
+ export LANG
+ make
cc -O2 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/
modversions.h -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -DLINUX -DGCC_IA3
2 -DSUPPORT_AGP -Idrm -DHAVE_VMA=1 -c -o hostfunc.o hostfunc.c
In file included from /usr/src/linux-2.4.20-8/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.20-8/include/linux/list.h:6,
from /usr/src/linux-2.4.20-8/include/linux/module.h:12,
from hostfunc.c:31:
/usr/src/linux-2.4.20-8/include/asm/processor.h:60: warning: parameter names (
without types) in function declaration
/usr/src/linux-2.4.20-8/include/asm/processor.h:60: field `loops_per_jiffy_R_v
er_str' declared as a function
/usr/src/linux-2.4.20-8/include/asm/processor.h:82: invalid suffix on integer
constant
/usr/src/linux-2.4.20-8/include/asm/processor.h:82: parse error before numeric
constant
/usr/src/linux-2.4.20-8/include/asm/processor.h:265: invalid suffix on integer
constant
/usr/src/linux-2.4.20-8/include/asm/processor.h:265: parse error before numeri
c
constant
/usr/src/linux-2.4.20-8/include/asm/processor.h:269: warning: parameter names
(without types) in function declaration
In file included from hostfunc.c:31:
/usr/src/linux-2.4.20-8/include/linux/module.h:183: invalid suffix on integer
constant
/usr/src/linux-2.4.20-8/include/linux/module.h:183: parse error before numeric
constant
/usr/src/linux-2.4.20-8/include/linux/module.h:183: `inter_module_register_R_v
er_str' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:184: invalid suffix on integer
constant
/usr/src/linux-2.4.20-8/include/linux/module.h:184: parse error before numeric
constant
/usr/src/linux-2.4.20-8/include/linux/module.h:184: `inter_module_unregister_R
_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:185: `inter_module_get_R_ver_st
r' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:185: warning: parameter names (
without types) in function declaration
/usr/src/linux-2.4.20-8/include/linux/module.h:186: `inter_module_get_request_
R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:186: warning: parameter names (
without types) in function declaration
/usr/src/linux-2.4.20-8/include/linux/module.h:187: invalid suffix on integer
constant
/usr/src/linux-2.4.20-8/include/linux/module.h:187: parse error before numeric
constant
/usr/src/linux-2.4.20-8/include/linux/module.h:187: `inter_module_put_R_ver_st
r' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:196: `try_inc_mod_count_R_ver_s
tr' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:196: warning: parameter names (
without types) in function declaration
hostfunc.c: In function `InitializeAGP':
hostfunc.c:1582: warning: assignment makes pointer from integer without a cast
make: *** [hostfunc.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.84858 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.84858 (%build)
===============================================
what can i do now?this is the only source i could find for kernel 2.4.20, no matter i try rpm or tgz it all ends with`InitializeAGP'
thanks in advance for any help |
|