View: 3653|Reply: 0

Help Compiling device Driver from source

[Copy link]

13

threads

77

posts

444

credits

Intermediate member

Rank: 3Rank: 3

credits
444
Published in 2016-1-15 16:27:55 | Show all floors |Read mode
I am a complete noob, completely new to linux.
Please Help.

I have downloaded file "OrangePI-Kernel" and extracted to desktop of orangepi os.
Edited the symlink present in "/lib/modules/3.4.39-01-lobo/build" to  /home/orangepi/Desktop/OrangePI-Kernel/linux-3.4using following command
ln -s  /home/orangepi/Desktop/OrangePI-Kernel/linux-3.4 build
ln -s  /home/orangepi/Desktop/OrangePI-Kernel/linux-3.4 source

downloaded the driver of rtl8192cu from website to orangepi desktop

and ran "make" command i am getting following error

make[1]: Entering directory '/home/orangepi/Desktop/OrangePI-Kernel/linux-3.4'
Makefile:567: /home/orangepi/Desktop/OrangePI-Kernel/linux-3.4/arch/armv7l/Makefile: No such file or directory
make[1]: *** No rule to make target '/home/orangepi/Desktop/OrangePI-Kernel/linux-3.4/arch/armv7l/Makefile'.  Stop.
make[1]: Leaving directory '/home/orangepi/Desktop/OrangePI-Kernel/linux-3.4'
Makefile:220: recipe for target 'modules' failed
make: *** [modules] Error 2


Other wise please post a complete noob like guide for me to compile the drivers

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list