Re: Kernel-2.6.15 compile error

From: Adrian Bunk
Date: Tue Feb 07 2006 - 07:23:30 EST


On Tue, Feb 07, 2006 at 12:29:03PM +0530, Vishal Sharma wrote:

> Hello All,

Hi Vishal,

> i am trying to install this new kenel into my machine with the option make
> oldconfig , my old kernel is 2.6.11-1.1369_FC4smp and i am using
> gcc-4.0.2.Below s the output of error i am getting :-
>
> 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(.text+0x94aea): In function `sandisk_set_iobase':
> drivers/net/wireless/hostap/hostap_cs.c:242: undefined reference to
> `pcmcia_access_configuration_register'
>...

thanks for your report.

This is a known bug.
Below is the patch I submitted to fix it in 2.6.15.4.

> Regards
> Vishal

cu
Adrian


<-- snip -->


CONFIG_PCMCIA=m, CONFIG_HOSTAP_CS=y doesn't compile.

Reported by "Gabriel C." <crazy@xxxxxxxxxxxxxxx>.

This patch was already included in 2.6.16-rc2.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.16-rc1-mm4/drivers/net/wireless/hostap/Kconfig.old 2006-01-30 19:00:44.000000000 +0100
+++ linux-2.6.16-rc1-mm4/drivers/net/wireless/hostap/Kconfig 2006-01-30 19:01:04.000000000 +0100
@@ -75,7 +75,7 @@

config HOSTAP_CS
tristate "Host AP driver for Prism2/2.5/3 PC Cards"
- depends on PCMCIA!=n && HOSTAP
+ depends on PCMCIA && HOSTAP
---help---
Host AP driver's version for Prism2/2.5/3 PC Cards.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/