Greetings,
I was compiling the tdfx.o module and I get these errors when I do
a make -f Makefile.linux in the
xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel directory.
make -f Makefile.linux
=== KERNEL HEADERS IN /lib/modules/2.4.2-2/build/include
=== SMP=1 MODULES=1 MODVERSIONS=1 AGP=1
=== kill_fasync has 3 parameters
=== Compiling for machine i686
=== WARNING
=== WARNING Use 2.4.x kernels ONLY !
=== WARNING
cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align
-Wstrict-prototypes -
nested-externs -Wpointer-arith -D__KERNEL__ -DMODULE
-fomit-frame-pointer -DCON
IG_AGP -DCONFIG_AGP_MODULE -D__SMP__ -DMODVERSIONS -include
/lib/modules/2.4.2-
/build/include/linux/modversions.h -DKILLFASYNCHASTHREEPARAMETERS
-DEXPORT_SYMT
B -I/lib/modules/2.4.2-2/build/include -c gamma_drv.c -o gamma_drv.o
In file included from
/lib/modules/2.4.2-2/build/include/linux/spinlock.h:35,
from /lib/modules/2.4.2-2/build/include/linux/module.h:11,
from drmP.h:43,
from gamma_drv.c:34:
/lib/modules/2.4.2-2/build/include/asm/spinlock.h:8: nondigits in number
and no
hexadecimal
/lib/modules/2.4.2-2/build/include/asm/spinlock.h:8: nondigits in number
and no
hexadecimal
/lib/modules/2.4.2-2/build/include/asm/spinlock.h:8: parse error before
`1b7d40
4'
/lib/modules/2.4.2-2/build/include/asm/spinlock.h:9: `printk_R_ver_str'
declare
as function returning a function
/lib/modules/2.4.2-2/build/include/asm/spinlock.h:9: warning: function
declarat
on isn't a prototype
In file included from drmP.h:43,
from gamma_drv.c:34:
/lib/modules/2.4.2-2/build/include/linux/module.h:173: nondigits in
number and
ot hexadecimal
/lib/modules/2.4.2-2/build/include/linux/module.h:173: nondigits in
number and
ot hexadecimal
/lib/modules/2.4.2-2/build/include/linux/module.h:173: nondigits in
number and
ot hexadecimal
/lib/modules/2.4.2-2/build/include/linux/module.h:173: nondigits in
number and
ot hexadecimal
/lib/modules/2.4.2-2/build/include/linux/module.h:173: parse error
before `62da
a05'
/lib/modules/2.4.2-2/build/include/linux/module.h:173:
`inter_module_register_R
ver_str' declared as function returning a function
/lib/modules/2.4.2-2/build/include/linux/module.h:173: warning: function
declar
tion isn't a prototype
/lib/modules/2.4.2-2/build/include/linux/module.h:174: nondigits in
number and
ot hexadecimal
/lib/modules/2.4.2-2/build/include/linux/module.h:174: missing white
space afte
number `7a9e845'
/lib/modules/2.4.2-2/build/include/linux/module.h:174: parse error
before `7a9e
45'
/lib/modules/2.4.2-2/build/include/linux/module.h:174:
`inter_module_unregister
R_ver_str' declared as function returning a function
/lib/modules/2.4.2-2/build/include/linux/module.h:174: warning: function
declar
tion isn't a prototype
/lib/modules/2.4.2-2/build/include/linux/module.h:175:
`inter_module_get_R_ver_
tr' declared as function returning a function
/lib/modules/2.4.2-2/build/include/linux/module.h:175: warning:
parameter names
(without types) in function declaration
/lib/modules/2.4.2-2/build/include/linux/module.h:176:
`inter_module_get_reques
_R_ver_str' declared as function returning a function
/lib/modules/2.4.2-2/build/include/linux/module.h:176: warning:
parameter names
(without types) in function declaration
/lib/modules/2.4.2-2/build/include/linux/module.h:177: nondigits in
number and
ot hexadecimal
/lib/modules/2.4.2-2/build/include/linux/module.h:177: nondigits in
number and
ot hexadecimal
/lib/modules/2.4.2-2/build/include/linux/module.h:177: nondigits in
number and
ot hexadecimal
/lib/modules/2.4.2-2/build/include/linux/module.h:177: parse error
before `6b99
7d8'
/lib/modules/2.4.2-2/build/include/linux/module.h:177:
`inter_module_put_R_ver_
tr' declared as function returning a function
/lib/modules/2.4.2-2/build/include/linux/module.h:177: warning: function
declar
tion isn't a prototype
/lib/modules/2.4.2-2/build/include/linux/module.h:186:
`try_inc_mod_count_R_ver
str' declared as function returning a function
/lib/modules/2.4.2-2/build/include/linux/module.h:186: warning:
parameter names
(without types) in function declaration
In file included from gamma_drv.c:94:
drm_stub.h: In function `gamma_stub_open':
drm_stub.h:58: warning: implicit declaration of function
`try_inc_mod_count_Re6
05b23'
drm_stub.h: In function `gamma_stub_putminor':
drm_stub.h:108: warning: implicit declaration of function
`inter_module_put_R6b
9f7d8'
drm_stub.h:110: warning: implicit declaration of function
`inter_module_unregis
er_R7a9e845e'
drm_stub.h: In function `gamma_stub_register':
drm_stub.h:127: warning: implicit declaration of function
`inter_module_get_Rf6
0ce24'
drm_stub.h:138: warning: implicit declaration of function
`inter_module_registe
_R62dada05'
make: *** [gamma_drv.o] Error 1
I built a sucessful one about 2 weeks ago and it built fine, on a
simalur setup. Any ideas on what I can do to get this going? Running
RedHat 7.1
Voodoo3 3000
2.4.2 kernel
glide from glide.sourceforge.net
Thanks
Nick Hudson
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel