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] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 30 Jul 2008 03:03:44 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Toralf Förster <toralf.foerster@....de>
Cc:	ambx1@....rr.com, linux-kernel@...r.kernel.org,
	Bjorn Helgaas <bjorn.helgaas@...com>
Subject: Re: build issue #538 for v2.6.27-rc1 :undefined reference to
 `pnp_get_resource'

On Tue, 29 Jul 2008 18:11:46 +0200 Toralf F__rster <toralf.foerster@....de> wrote:

> Hello,
> 
> the build (.config attached) failed, make ends with :
> ...
>   AS      arch/x86/lib/thunk_32.o
>   CC      arch/x86/lib/usercopy_32.o
>   AR      arch/x86/lib/lib.a
>   LD      vmlinux.o
>   MODPOST vmlinux.o
> WARNING: modpost: Found 13 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
>   GEN     .version
>   CHK     include/linux/compile.h
>   UPD     include/linux/compile.h
>   CC      init/version.o
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
> drivers/built-in.o: In function `pnp_port_start':
> /home/tfoerste/devel/linux-2.6/include/linux/pnp.h:51: undefined reference to `pnp_get_resource'
> make: *** [.tmp_vmlinux1] Error 1
> 

y:/usr/src/25> grep PNP .config 
y:/usr/src/25> grep pnp_port_start $(find . -name '*.o')
Binary file ./drivers/built-in.o matches
Binary file ./drivers/telephony/built-in.o matches
Binary file ./drivers/telephony/ixj.o matches
Binary file ./vmlinux.o matches

I assume that drivers/telephony/ixj.c needs to depend on PNP.

Something like this.  Or maybe it should be ISAPNP.  Bjorn, could you
please check?


From: Andrew Morton <akpm@...ux-foundation.org>

drivers/built-in.o: In function `pnp_port_start':
/home/tfoerste/devel/linux-2.6/include/linux/pnp.h:51: undefined reference to `pnp_get_resource'

Reported-by: Toralf F_rster <toralf.foerster@....de>
Cc: Bjorn Helgaas <bjorn.helgaas@...com>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
---

 drivers/telephony/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/telephony/Kconfig~drivers-telephony-ixjc-depends-on-pnp drivers/telephony/Kconfig
--- a/drivers/telephony/Kconfig~drivers-telephony-ixjc-depends-on-pnp
+++ a/drivers/telephony/Kconfig
@@ -20,6 +20,7 @@ if PHONE
 config PHONE_IXJ
 	tristate "QuickNet Internet LineJack/PhoneJack support"
 	depends on ISA || PCI
+	depends on PNP
 	---help---
 	  Say M if you have a telephony card manufactured by Quicknet
 	  Technologies, Inc.  These include the Internet PhoneJACK and
_

--
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