Programming and Scripting :: compile driver with gcc
Hi all,
I need help with compiling a driver. I try to compile a driver for my webcam. The driver is qc-usb-0.6.5.
I've loaded:
1. "gnu-utils.unc"
2. "gcc1-with-libs.unc"
3. "kernelsource.dsl"
All was loaded with MyDSL extension tool.
I cd to the qc-usb-0.6.5 directory and sudo make all and get:
make: cc: Command not found
make: *** qc-driver.0 Error 127
Please if there is someone who can help and explain whats wrong. It seems like gcc still isn't loaded? What do I do wrong or are there more .dsl extensions that must be loaded?
cc is/should be a link to gcc
Say that gcc is in /usr/bin. Use "which gcc" to find out location.
sudo ln -s /usr/bin/gcc /usr/bin/cc
This should provide you your "cc" command.
Thanks Roberts
That made the trick! Now I sucessfully compiled my driver! But it still doesen't work! I think I need to load v4l drivers. Is video4linux included or do I need to load them through Mydsl? I made my share if googeling but no sucess?
I got the driver to work!
For others interested I'v just used the included script quickcam.sh and then it worked. Now only for next challenge to have it permanently loaded!
original here.