<p dir="ltr">Have you installed the linux-headers package? </p>
<div class="gmail_quote">On 18 Jul 2012 18:19, "Rajarajan Rajamani" <<a href="mailto:r.rajamani@gmail.com">r.rajamani@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Wed, Jul 18, 2012 at 9:32 AM, Rajarajan Rajamani<br>
<<a href="mailto:r.rajamani@gmail.com">r.rajamani@gmail.com</a>> wrote:<br>
> On Tue, Jul 17, 2012 at 3:51 PM, malo <<a href="mailto:tension9000@yahoo.it">tension9000@yahoo.it</a>> wrote:<br>
>> Rajarajan Rajamani <r.rajamani@...> writes:<br>
>><br>
>>><br>
>>> I am trying to compile a driver for the C19A USB RF transceiver under<br>
>>> Voyage 0.8.5.<br>
>>> using the code for the driver using Neil Cherrys code for the CM19A on the<br>
>>><br>
>><br>
>><br>
>> -first you should set the correct paths for your<br>
>> env in the makefile of the driver. -second, as<br>
>> changes came up with new kernels to get rid of<br>
>> the BKL, you must<br>
>> patch the driver. i took a look to manage<br>
>> the code and it seems to be compiled<br>
>> without errors after a few mods. Here the patch:<br>
>><br>
<br>
So I made the changes manually from your diff output - for some reason<br>
due to the line wrapping in your mail, patch did not work and it was<br>
easier to do the same changes by hand. I think I have a problem with<br>
my voyage linux build directory as the error message I am getting is<br>
is that /lib/modules/x.y.z-voyage/build directory cannot be found.<br>
Though the /lib/modules/x.y.z-voyage/ directory is there, there is no<br>
subdirectory called build there. How does that get created?<br>
<br>
root@voyage:~/iplc/driver/linux-2.6# make cm19a<br>
make -C /lib/modules/3.2.17-voyage/build/<br>
SUBDIRS=/root/iplc/driver/linux-2.6/cm19a.d modules<br>
make: *** /lib/modules/3.2.17-voyage/build/: No such file or directory.  Stop.<br>
make: *** [cm19a] Error 2<br>
root@voyage:~/iplc/driver/linux-2.6# ls /lib/modules/3.2.17-voyage/<br>
kernel             modules.builtin      modules.dep.bin  modules.softdep<br>
modules.alias      modules.builtin.bin  modules.devname  modules.symbols<br>
modules.alias.bin  modules.dep          modules.order    modules.symbols.bin<br>
root@voyage:~/iplc/driver/linux-2.6#<br>
<br>
The makefile is very simple, what is usually found in the<br>
/lib/modules/x.y.z-voyage/build/ directory ??<br>
Thanks<br>
<br>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</blockquote></div>