Return-path: Received: from ey-out-2122.google.com ([74.125.78.26]:61958 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751965AbZKJM0z convert rfc822-to-8bit (ORCPT ); Tue, 10 Nov 2009 07:26:55 -0500 Received: by ey-out-2122.google.com with SMTP id 4so187455eyf.19 for ; Tue, 10 Nov 2009 04:27:00 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <921ad39e0911100419p3ca39ea4ycd5ac84322555fc2@mail.gmail.com> References: <921ad39e0911100419p3ca39ea4ycd5ac84322555fc2@mail.gmail.com> Date: Tue, 10 Nov 2009 13:26:59 +0100 Message-ID: Subject: =?windows-1252?Q?Re=3A_tw68=2Dv2=2Ftw68=2Di2c=2Ec=3A145=3A_error=3A_unknown_field_=91?= =?windows-1252?Q?client=5Fregister=92_specified_in_initializer?= From: Domenico Andreoli To: Roman Gaufman Cc: linux-media@vger.kernel.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8BIT Sender: linux-media-owner@vger.kernel.org List-ID: Hi, On Tue, Nov 10, 2009 at 1:19 PM, Roman Gaufman 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