lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130324064458.GF21804@intel.com>
Date:	Sun, 24 Mar 2013 08:44:58 +0200
From:	Mika Westerberg <mika.westerberg@...ux.intel.com>
To:	Corey Richardson <corey@...ayn.net>
Cc:	Mark Brown <broonie@...nsource.wolfsonmicro.com>,
	Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
	"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
	Mike Turquette <mturquette@...aro.org>,
	linux-kernel@...r.kernel.org
Subject: Re: clk: x86: build failure

On Sat, Mar 23, 2013 at 01:57:01PM -0400, Corey Richardson wrote:
> With the attached config, I get the following build failure:
> 
>   LD      init/built-in.o
> drivers/built-in.o:clk-lpt.c:function v4l2_device_unregister: error:
> undefined reference to 'i2c_unregister_device'

I get following with your config:

LD      init/built-in.o
drivers/built-in.o: In function `v4l2_device_unregister':
(.text+0x1186cb): undefined reference to `i2c_unregister_device'
make: *** [vmlinux] Error 1

and it looks like it wants to build in videodev.o (which provides
v4l2_device_unregister()):

CONFIG_VIDEO_DEV=y

This function calls i2c_unregister_device() if IS_ENABLED(CONFIG_I2C) but
i2c support is compiled as a module:

CONFIG_I2C=m

which explains the link error.

However, this has nothing to do with clk-lpt.c or anything related to clock
framework as far as I can tell.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ