Menu

#1 Compile Fails under new linux kernels

open
nobody
None
5
2014-01-17
2012-09-09
grey3050
No

Gento LInux 64 bit
kernel 3.3.8

/usr/src/ft245/ft245.c: In function 'ft245_disconnect':
/usr/src/ft245/ft245.c:877:5: error: implicit declaration of function 'lock_kernel'
/usr/src/ft245/ft245.c:885:5: error: implicit declaration of function 'unlock_kernel'
make[2]: *** [/usr/src/ft245/ft245.o] Error 1
make[1]: *** [_module_/usr/src/ft245] Error 2
make[1]: Leaving directory `/usr/src/linux-3.3.8-gentoo'
make: *** [default] Error 2

Discussion

  • Ivan Volnikov

    Ivan Volnikov - 2014-01-17

    This happends because BKL (Big Kernel Lock functions) in the 2.6.37 kernel was removed for best support multiprocessor systems.
    I am attached the patch for latest kernels. See in patches.

     

    Last edit: Ivan Volnikov 2014-01-17

Log in to post a comment.