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]

 



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