LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   'make' giving errors... (http://www.linuxquestions.org/questions/linux-hardware-18/make-giving-errors-770109/)

bharathp 11-18-2009 11:36 PM

'make' giving errors...
 
Hi all,
I am tring to install a driver but resulted in some errors.

Code:

linux-dgu5:/home/bharath/microdia # make
make -C /lib/modules/2.6.27.37-0.1-default/build SUBDIRS=/home/bharath/microdia modules
make[1]: Entering directory `/usr/src/linux-2.6.27.37-0.1-obj/i386/default'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.27.37-0.1-obj/i386/default'
make: *** [driver] Error 2


what could be the problem? Are any packages missing. If so what to istall and what are the commands...

TiA

eth1 11-19-2009 12:26 AM

Did the ./configure process run without errors ? Check the README or INSTALL file inside the source directory for specific compile instructions.

bharathp 11-19-2009 12:38 AM

There was no ./configure that had to be executed..

this is what i was supposed to do...
Code:

git clone http://repo.or.cz/r/microdia.git
cd microdia
make
sudo insmod ./sn9c20x.ko


knudfl 11-19-2009 09:29 AM

Used to work :

http://www.linuxquestions.org/questi...light=microdia

May be the linux-2.6.27.37-0.1-obj isn't sufficient ?
The package kernel-source-(2.6.27.xx-xx) may be required.

# zypper in kernel-source
.....

bharathp 11-19-2009 10:57 PM

let me try it out...

bharathp 11-20-2009 08:29 AM

Hey thank you knudfl!!!

my problem got solved!!
yup, the kernel headers were missing. I installed them using YaST software manager. :)

bharathp 11-21-2009 08:59 AM

hey, the compilation went well but still no luck with the webcam. When i run 'cheese' the LEDs in my webcam blinks and then thats it.. I get a screen with color bands... What to do?

bharathp 11-21-2009 09:09 AM

Here is my out put with CHEESE and gqcam. Please Suggest Solutions!!

CHEESE:
http://img297.imageshack.us/img297/7...reenshotsq.png

gqcam:
http://img297.imageshack.us/img297/1...eenshot1eo.png

knudfl 11-21-2009 06:21 PM

As you can see in the other thread
http://www.linuxquestions.org/questi...light=microdia
.. she gave up , and bought another camera.

bharathp 11-22-2009 12:12 AM

Now there is a good trick :P.... Im off to buy logitech webcam...Thank you knudfl :)


All times are GMT -5. The time now is 12:13 PM.