Hi Stefan,

Here is the output of the command :

$ grep -r kstrtou16 /usr/src/linux-headers-2.6.32-37-generic
grep: /usr/src/linux-headers-2.6.32-37-generic/source: Aucun fichier ou dossier de ce type (/No file or folder found)/
$ uname -r
2.6.32-37-generic

It seems it cannot find 'source' which is a broken link targetting "/build/buildd/linux-2.6.32".

I didn't know that I had to upgrade to a newer version to get the latest kernel. I will try it next week and come to you if I find any problem.

Thanks you !

Denis.


On 06/01/2012 14:18, Stefan Hajnoczi wrote:
On Fri, Jan 6, 2012 at 12:44 PM, Denis Martin<[email protected]>  wrote:
CC [M] /home/denis/line6linux/driver/trunk/midi.o
/home/denis/line6linux/driver/trunk/midi.c: In function
‘midi_set_midi_mask_transmit’:
/home/denis/line6linux/driver/trunk/midi.c:314: error: implicit
declaration of function ‘kstrtou16’
kstrtou16() was introduced in Linux 2.6.39 but you have an older
2.6.32-based kernel (Ubuntu Lucid 10.04).  If you upgrade to a recent
kernel this problem would be gone.

However, I'm a little confused with the exact error you're getting: it
looks like your kernel headers are more recent than 2.6.32 and don't
match your kernel.  If they were 2.6.32 kernel headers they would not
know about kstrtou16().  But your make output does show it entering
/usr/src/linux-headers-2.6.32-37-generic, which should match your
kernel and contain no references to kstrtou16().

Please try "grep -r kstrtou16
/usr/src/linux-headers-2.6.32-37-generic" and let us know what the
output is.

Stefan


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Line6linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/line6linux-user

Reply via email to