← Back to team overview

sslug-teknik team mailing list archive

arrgh... hvorfor? (module probs)

 

Hej!

Nu er snart ved at gå ud af mit gode skind.
Kan nogen tyde hvad der går galt her (jeg kører RH 6.1 med kerne 2.3.41
og vil forsøge at bruge et soundmodul til mit vortex2 lydkort -
http://linux.aureal.com)

[root@fandango au88xx-1.0.4]# make install
cc -D__KERNEL__ -DMODULE -DAU8830 -O -Wall -pipe -m486
-I/usr/src/linux/include -O2 -fomit-frame-pointer   -c vortex.c -o
vortex.o
In file included from /usr/src/linux/include/linux/wait.h:17,
                 from /usr/src/linux/include/linux/fs.h:12,
                 from /usr/src/linux/include/linux/capability.h:13,
                 from /usr/src/linux/include/linux/binfmts.h:5,
                 from /usr/src/linux/include/linux/sched.h:8,
                 from vortex.c:58:
/usr/src/linux/include/asm/processor.h:107: warning: `cpu_data'
redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:72: warning: this is
the location of the previous definition
In file included from /usr/src/linux/include/linux/sched.h:21,
                 from vortex.c:58:

<masser af andre fejl>

vortex.c: In function `au_midi_read':
vortex.c:1991: warning: passing arg 1 of
`interruptible_sleep_on_Rsmp_435d298d' from incompatible pointer type
vortex.c: In function `au_midi_write':
vortex.c:2040: warning: passing arg 1 of
`interruptible_sleep_on_Rsmp_435d298d' from incompatible pointer type
vortex.c: In function `au_midi_poll':
vortex.c:2069: warning: passing arg 2 of `poll_wait' from incompatible
pointer type
vortex.c:2071: warning: passing arg 2 of `poll_wait' from incompatible
pointer type
vortex.c: In function `au_handle_midi':
vortex.c:2111: warning: passing arg 1 of `__wake_up_Rsmp_fab7ceab' from
incompatible pointer type
vortex.c:2122: warning: passing arg 1 of `__wake_up_Rsmp_fab7ceab' from
incompatible pointer type
vortex.c: In function `sound_proc_get_info':
vortex.c:2257: structure has no member named `base_address'
make: *** [vortex.o] Error 1
[root@fandango au88xx-1.0.4]#



Jeg er bange for "cpu_data" og så "warning: this is the location of the
previous definition" ... jeg bruger et SMP system.

Mvh
Morten



Follow ups