Menu

#31 kernel module compilation problem under FC4

open
nobody
5
2005-12-10
2005-12-10
Anonymous
No

I have the latest update of FC4 and i Can not compile
kernel module for btsco. It worked fine for FC3.

/home/Install/btsco/kernel/btsco.c:894: error:
‘current’ undeclared (first use in this function)
/home/Install/btsco/kernel/btsco.c:910: error:
dereferencing pointer to incomplete type
/home/Install/btsco/kernel/btsco.c:1088: error:
dereferencing pointer to incomplete type
/home/Install/btsco/kernel/btsco.c:1089: error:
dereferencing pointer to incomplete type
/home/Install/btsco/kernel/btsco.c:864: warning: unused
variable ‘iov’
/home/Install/btsco/kernel/btsco.c:863: warning: unused
variable ‘msg’
/home/Install/btsco/kernel/btsco.c:1101: warning:
control reaches end of non-void function
/home/Install/btsco/kernel/btsco.c: In function
‘snd_card_bt_private_free’:
/home/Install/btsco/kernel/btsco.c:1105: error:
‘bt_sco’ undeclared (first use in this function)
/home/Install/btsco/kernel/btsco.c:1109: error:
‘SIGTERM’ undeclared (first use in this function)
/home/Install/btsco/kernel/btsco.c: In function
‘snd_card_bt_sco_probe’:
/home/Install/btsco/kernel/btsco.c:1126: error:
‘bt_sco’ undeclared (first use in this function)
/home/Install/btsco/kernel/btsco.c:1127: warning: ISO
C90 forbids mixed declarations and code
/home/Install/btsco/kernel/btsco.c:1134: error:
‘ENOMEM’ undeclared (first use in this function)
/home/Install/btsco/kernel/btsco.c:1146: warning:
implicit declaration of function ‘init_MUTEX_LOCKED’
/home/Install/btsco/kernel/btsco.c:1147: warning:
implicit declaration of function ‘init_MUTEX’
/home/Install/btsco/kernel/btsco.c:1158: warning:
implicit declaration of function ‘kernel_thread’
/home/Install/btsco/kernel/btsco.c: In function
‘alsa_card_bt_sco_init’:
/home/Install/btsco/kernel/btsco.c:1205: error:
‘ENODEV’ undeclared (first use in this function)
make[2]: *** [/home/Install/btsco/kernel/btsco.o] Error 1
make[1]: *** [_module_/home/Install/btsco/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14'
make: *** [default] Error 2

Here is the error message.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.