Page 1 of 1

Problems compiling driver v120709

PostPosted: Fri Aug 10, 2012 12:28 pm
by tordyvel
Hi,
I'm tying to compile the driver (v120709) on my Ubuntu machine.
I'ts Ubuntu 12.04 with kernel 3.2.0-27.
I enter the directory linux-tbs-drivers/ and type make, this is the error I get:
CC [M] /home/twik/linux-tbs-drivers/v4l/cx25840-vbi.o
CC [M] /home/twik/linux-tbs-drivers/v4l/cx25840-ir.o
CC [M] /home/twik/linux-tbs-drivers/v4l/cx88-dvb.o
make[3]: *** No rule to make target `/home/twik/linux-tbs-drivers/v4l/tbs8921ctrl.o', needed by `/home/twik/linux-tbs-drivers/v4l/media.o'. Stop.
make[2]: *** [_module_/home/twik/linux-tbs-drivers/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-27-generic-pae'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/twik/linux-tbs-drivers/v4l'
make: *** [all] Error 2


By the way is it possible to compile ONLY the driver for TBS5922 (Now I'm using make which seems to build all) ?
Thanks in advance
Tommy

Re: Problems compiling driver v120709

PostPosted: Fri Aug 10, 2012 5:06 pm
by tordyvel
Ok, found the answer to the first question in a thread for TBS5928...
I had to specify which architecture I'm using with a script in v4l/.

Although I'm still interested in how I can limit the drivers to only my TBS5922!
Thanks
Tommy

Re: Problems compiling driver v120709

PostPosted: Sun Aug 12, 2012 9:44 am
by updatelee
it'll compile them all, no matter though your computer will still only load what it needs to