Re: tw68-v2/tw68-i2c.c:145: error: unknown field ‘client_register’ specified in initializer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, managed to compile but getting -1 Unknown symbol in module now
- any ideas?

# make
make -C /lib/modules/2.6.31-14-generic/build M=/root/tw68-v2 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
  CC [M]  /root/tw68-v2/tw68-core.o
  CC [M]  /root/tw68-v2/tw68-cards.o
  CC [M]  /root/tw68-v2/tw68-video.o
  CC [M]  /root/tw68-v2/tw68-controls.o
  CC [M]  /root/tw68-v2/tw68-fileops.o
  CC [M]  /root/tw68-v2/tw68-ioctls.o
  CC [M]  /root/tw68-v2/tw68-vbi.o
  CC [M]  /root/tw68-v2/tw68-ts.o
  CC [M]  /root/tw68-v2/tw68-risc.o
  CC [M]  /root/tw68-v2/tw68-input.o
  CC [M]  /root/tw68-v2/tw68-tvaudio.o
  LD [M]  /root/tw68-v2/tw68.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /root/tw68-v2/tw68.mod.o
  LD [M]  /root/tw68-v2/tw68.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
# insmod tw68.ko
insmod: error inserting 'tw68.ko': -1 Unknown symbol in module
# uname -a
Linux xanview-dev 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01
UTC 2009 x86_64 GNU/Linux


2009/11/10 Domenico Andreoli <cavokz@xxxxxxxxx>:
> Hi,
>
> On Tue, Nov 10, 2009 at 1:19 PM, Roman Gaufman <hackeron@xxxxxxxxx> wrote:
>> Hey, I'm trying to compile tw68 and I'm getting the following:
>>
>> make -C /lib/modules/2.6.31-14-generic/build M=/root/tw68-v2 modules
>> make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
>>  CC [M]  /root/tw68-v2/tw68-core.o
>>  CC [M]  /root/tw68-v2/tw68-cards.o
>>  CC [M]  /root/tw68-v2/tw68-i2c.o
>> /root/tw68-v2/tw68-i2c.c:145: error: unknown field ‘client_register’
>> specified in initializer
>> /root/tw68-v2/tw68-i2c.c:145: warning: missing braces around initializer
>> /root/tw68-v2/tw68-i2c.c:145: warning: (near initialization for
>> ‘tw68_adap_sw_template.dev_released’)
>> /root/tw68-v2/tw68-i2c.c:145: warning: initialization makes integer
>> from pointer without a cast
>> /root/tw68-v2/tw68-i2c.c:145: error: initializer element is not
>> computable at load time
>> /root/tw68-v2/tw68-i2c.c:145: error: (near initialization for
>> ‘tw68_adap_sw_template.dev_released.done’)
>> make[2]: *** [/root/tw68-v2/tw68-i2c.o] Error 1
>> make[1]: *** [_module_/root/tw68-v2] Error 2
>> make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
>> make: *** [all] Error 2
>>
>> Any ideas?
>
> yes, the i2c part got outdated by some kernel change. anyway it is still
> not used so you can safely remove tw68-i2c.c from Makefile.
>
> regards,
> Domenico
>
> -----[ Domenico Andreoli, aka cavok
>  --[ http://www.dandreoli.com/gpgkey.asc
>   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux