Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266010AbUFUCHy (ORCPT ); Sun, 20 Jun 2004 22:07:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265727AbUFUCHx (ORCPT ); Sun, 20 Jun 2004 22:07:53 -0400 Received: from mail.dt.E-Technik.Uni-Dortmund.DE ([129.217.163.1]:44498 "EHLO mail.dt.e-technik.uni-dortmund.de") by vger.kernel.org with ESMTP id S266010AbUFUCGb (ORCPT ); Sun, 20 Jun 2004 22:06:31 -0400 Date: Mon, 21 Jun 2004 04:06:27 +0200 From: Matthias Andree To: Andrew Morton Cc: linux-kernel@vger.kernel.org Subject: Re: 2.6.7-mm1 linker trouble with CONFIG_FB_RIVA_I2C=y and modular I2C Message-ID: <20040621020627.GA10824@merlin.emma.line.org> Mail-Followup-To: Andrew Morton , linux-kernel@vger.kernel.org References: <20040620174632.74e08e09.akpm@osdl.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="CE+1k2dSO48ffgeK" Content-Disposition: inline In-Reply-To: <20040620174632.74e08e09.akpm@osdl.org> User-Agent: Mutt/1.5.5.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5708 Lines: 107 --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, 20 Jun 2004, Andrew Morton wrote: > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6.7-mm1/ This version causes linker trouble with CONFIG_I2C=m CONFIG_I2C_ALGOBIT=m CONFIG_FB_RIVA_I2C=y CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 drivers/built-in.o(.text+0xda101): In function `riva_setup_i2c_bus': : undefined reference to `i2c_bit_add_bus' drivers/built-in.o(.text+0xda218): In function `riva_delete_i2c_busses': : undefined reference to `i2c_bit_del_bus' drivers/built-in.o(.text+0xda237): In function `riva_delete_i2c_busses': : undefined reference to `i2c_bit_del_bus' drivers/built-in.o(.text+0xda2c9): In function `riva_do_probe_i2c_edid': : undefined reference to `i2c_transfer' make: *** [.tmp_vmlinux1] Error 1 Setting CONFIG_FB_RIVA_I2C to "n" fixes the build problem. Setting CONFIG_I2C and CONFIG_I2C_ALGOBIT to "y" (I used to use "m") also fixes the build problem. Full failing .config is attached (comments stripped, gzipped). -- Matthias Andree --CE+1k2dSO48ffgeK Content-Type: application/x-gunzip Content-Disposition: attachment; filename="failconfig.gz" Content-Transfer-Encoding: base64 H4sICEE/1kAAA2ZhaWxjb25maWcAfZo9k/MoEoDz+xlvvrX+Hk8wAUJIYi0EA8iW34S6qr3g grcu2Kqr239/jeSxugFP4jJP803T3YC4HhrZhul8+vj7H3xJKDWuiVHWWyRrxSCs5EE6FmrF VoGYDAiUGDzrV+o8G2rW60GsrLL6IoY0HfQQnDKo6I3h1N1dpeErMNrJKajPUYy4blcHYzUX zgXGuScVcI961mvIPTbBdbLxH9u3L95pb/qxXTPKy/InJ3NLK76wvnd35VbSjF5MaIqM7lEP pHa8E3UYtDY5ZS5ntWB1L/Fcfkl484nWT9djL1wKwjj0mtUr1pXTvfAiyg2zCg0FyJoC5Qh4 6tXljQq5MhPvWgonVid19NvAGXT3MeenL5m9OaFCrAGKBNa32krfKVr4ZsJN24sL+kIFcrj2 Jmm7osozD0AbVmeFW62hRSN5WqcXfRidsFybO5UBDQZWPsBI+MWNKhfv60HfVtwZ4YOHvWET JtTYM5h/67FiWyGU8UmtptBLgFLnuNec9aVB6QL0LgGKiwyAig4NIxt7ljj78YvogQFrsSJR o8SgO9l2SqDpUt7iGWFXARrOY//RKlnRUt006L/Tjb8xCxo1OiOGGucKtXSXDASozEsv9fDx 4/c///Xf3//685+7H1+ZGDdyLRJTodLaJyhqh4Vl8nhBZ4nrhTAlNpuK0LhExnjaGvNQ6z2l o/d6SGDDUvIwfDrtle+EVXjxHpWmvRFpb4y+ZUM0PJ0hsKxeJLsAZjtReFIOErD12HCnqAJz RkktrcBWPDKlUoMc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8tD34Azf/D9YfAw/ FmneZ2b5odDj5Q4r7TW3fI8j2DmNdq6s0hw/gUXvRKubadbI/Nls/EjLCvrJ47zT/w9RV+bZ Jy4AAA== --CE+1k2dSO48ffgeK-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/