Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: compile driver with gcc, cant compile driver with gcc< Next Oldest | Next Newest >
pethun Offline





Group: Members
Posts: 5
Joined: Nov. 2006
Posted: Dec. 28 2006,18:18 QUOTE

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?
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 28 2006,19:27 QUOTE

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.
Back to top
Profile PM WEB 
pethun Offline





Group: Members
Posts: 5
Joined: Nov. 2006
Posted: Dec. 29 2006,11:55 QUOTE

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?
Back to top
Profile PM 
pethun Offline





Group: Members
Posts: 5
Joined: Nov. 2006
Posted: Dec. 29 2006,13:14 QUOTE

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!
Back to top
Profile PM 
3 replies since Dec. 28 2006,18:18 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: compile driver with gcc

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code