Re: [Line6linux-user] Problem installing
Status: Pre-Alpha
Brought to you by:
mgrabner
|
From: Denis M. <den...@ho...> - 2012-01-07 18:44:28
|
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<den...@ho...> 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 > > |