Page 1 of 1

Ubuntu 12.10 kernel 3.6.6 - Compiled error

PostPosted: Sat Nov 17, 2012 3:43 am
by bl4ck
Hello
I have problem with compiled driver tbs-linux-drivers_v121105 in Ubuntu 12.10. Please help.

Code: Select All Code
Linux HTPC 3.6.6-030606-generic #201211050512 SMP Mon Nov 5 10:20:03 UTC 2012 i686 i686 i686 GNU/Linux


Code: Select All Code
03:00.0 Multimedia controller [0480]: Philips Semiconductors SAA7160 [1131:7160] (rev 03)
        Subsystem: Device [6922:0001]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at fb300000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: [40] MSI: Enable- Count=1/32 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [50] Express (v1) Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <256ns, L1 <1us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
                LnkCap: Port #1, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 <64us
                        ClockPM- Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
        Capabilities: [74] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [80] Vendor Specific Information: Len=50 <?>
        Capabilities: [100 v1] Vendor Specific Information: ID=0000 Rev=0 Len=088 <?>



Code: Select All Code
/usr/local/src/6922/linux-tbs-drivers/v4l/tda18218.c: In function 'tda18218_attach':
/usr/local/src/6922/linux-tbs-drivers/v4l/tda18218.c:302:2: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
  CC [M]  /usr/local/src/6922/linux-tbs-drivers/v4l/tda18212.o
/usr/local/src/6922/linux-tbs-drivers/v4l/tda18212.c: In function 'tda18212_attach':
/usr/local/src/6922/linux-tbs-drivers/v4l/tda18212.c:248:2: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
  LD [M]  /usr/local/src/6922/linux-tbs-drivers/v4l/saa7146.o
  LD [M]  /usr/local/src/6922/linux-tbs-drivers/v4l/saa7146_vv.o
  LD [M]  /usr/local/src/6922/linux-tbs-drivers/v4l/saa716x_core.o
  LD [M]  /usr/local/src/6922/linux-tbs-drivers/v4l/saa716x_tbs-dvb.o
  CC [M]  /usr/local/src/6922/linux-tbs-drivers/v4l/rc-adstech-dvb-t-pci.o
ld: Relocatable linking with relocations from format elf64-x86-64 (/usr/local/src/6922/linux-tbs-drivers/v4l/tbsctrl.o) to format elf32-i386 (/usr/local/src/6922/linux-tbs-drivers/v4l/saa716x_tbs-dvb.o) is not supported
make[3]: *** [/usr/local/src/6922/linux-tbs-drivers/v4l/saa716x_tbs-dvb.o] Błąd 1
make[3]: *** Oczekiwanie na niezakończone zadania....
make[2]: *** [_module_/usr/local/src/6922/linux-tbs-drivers/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.5.0-18-generic'
make[1]: *** [default] Błąd 2
make[1]: Opuszczenie katalogu `/usr/local/src/6922/linux-tbs-drivers/v4l'
make: *** [all] Błąd 2
xbmc@HTPC:/usr/local/src/6922/linux-tbs-drivers$

Re: Ubuntu 12.10 kernel 3.6.6 - Compiled error

PostPosted: Sat Nov 17, 2012 10:52 am
by SergioDanielG
Hi bl4ck.
Check your installation steps.
You are using 64 bits driver in 32 bits kernel.
Try again, remember run the correct script to select 32 bits drivers.

Best regards.

Re: Ubuntu 12.10 kernel 3.6.6 - Compiled error

PostPosted: Sat Nov 17, 2012 5:43 pm
by bl4ck
README
Code: Select All Code
- for x86 kernel 3.x (x86 32 bit installations of kernel 3.x):

# ./v4l/tbs-x86_r3.sh


Facepalm :) I'm sorry.
I had a rough day. Thank you for help.
Best regards