Hi, I have a very much problem to cross-compiling the rt73 module. I tried: ARCH=arm CROSS_COMPILE=arm-linux- make arm but it give me errors: andrea@andrea-lap:~/Desktop/rt73-cvs-2009041204/Module$ ARCH=arm CROSS_COMPILE=arm-linux- make arm make[1]: arm-linux-gcc: Command not found make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic' /bin/sh: cannot create /home/andrea/Desktop/rt73-cvs-2009041204/Module/modules.order: Permission denied make[2]: *** [/home/andrea/Desktop/rt73-cvs-2009041204/Module/modules.order] Error 2 make[1]: *** [_module_/home/andrea/Desktop/rt73-cvs-2009041204/Module] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic' rt73.ko failed to build! make: *** [arm] Error 1 I have also tried to change the kernel dir but without successfully. Do you have any ideas??? Thank
Cross-compile rt73 module
Sorry, the error is this one: make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic' Building modules, stage 2. MODPOST 0 modules make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic' rt73.ko failed to build! make: *** [arm] Error 1
It's good practice to change the .bashrc file in your home directory and place there the PATH indication to your compiler. After all he didn't find the compiler command "make[1]: arm-linux-gcc: Command not found" Also change the permissions on the directory where you have your module. Something like "sudo chmod 777 your_directory" because "/bin/sh: cannot create /home/andrea/Desktop/rt73-cvs-2009041204/Module/modules.order: Permission denied" Best regards, LDS