Hello.
I am relatively new to Linux, and completely new at TC.
I am trying to build the driver for a optical device. I have built it for some distros before. It is just about downloading kernel source package, set the kernel's path in the module's makefile and run make, and the driver should be built.
Now, working on TC, I have downloaded linux-3.8.10-sources-env.tcz, and set the module's kernel source path to "/usr/src/linux-3.8.10", but when I run make, I am getting the follow message:
root@box:/somepath/Driver# make
make[1]: Entering directory `/usr/src/linux-3.8.10'
Makefile:323: /usr/src/linux-3.8.10/scripts/Kbuild.include: No such file or directory
Makefile:578: /usr/src/linux-3.8.10/arch/x86/Makefile: No such file or directory
/bin/bash: /usr/src/linux-3.8.10/scripts/gcc-goto.sh: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-3.8.10/arch/x86/Makefile'. Stop.
make[1]: Leaving directory `/usr/src/linux-3.8.10'
make: *** [all] Error 2
I hope that someone can help me on what else should I do, in order to build the module successfully.
Thanks.