From: Eyal Lebedinsky <eyal@eyal.emu.id.au>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.4.19-pre5: bad config
Date: Sat, 30 Mar 2002 11:11:12 +1100 [thread overview]
Message-ID: <3CA502A0.54547786@eyal.emu.id.au> (raw)
In-Reply-To: <Pine.LNX.4.21.0203291842530.6417-100000@freak.distro.conectiva>
[-- Attachment #1: Type: text/plain, Size: 2729 bytes --]
Marcelo Tosatti wrote:
>
> Hi,
>
> Here goes pre5. I've trimmed down the changelog because its just too big,
> and the ones who actually want to see all changelog can get it from
> linux.bkbits.net.
gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -malign-functions=4 -DMODULE -DMODVERSIONS -include
/data2/usr/local/src/linux-2.4-pre/include/linux/modversions.h
-DKBUILD_BASENAME=sa1100_generic -c -o sa1100_generic.o
sa1100_generic.c
sa1100_generic.c:40: linux/cpufreq.h: No such file or directory
sa1100_generic.c:50: linux/cpufreq.h: No such file or directory
sa1100_generic.c:58: asm/hardware.h: No such file or directory
sa1100_generic.c:62: asm/arch/assabet.h: No such file or directory
sa1100_generic.c: In function `sa1100_pcmcia_set_io_map':
sa1100_generic.c:595: warning: implicit declaration of function
`cpufreq_get'
sa1100_generic.c:597: `MECR' undeclared (first use in this function)
sa1100_generic.c:597: (Each undeclared identifier is reported only once
sa1100_generic.c:597: for each function it appears in.)
sa1100_generic.c: In function `sa1100_pcmcia_set_mem_map':
sa1100_generic.c:703: `MECR' undeclared (first use in this function)
sa1100_generic.c: In function `sa1100_pcmcia_proc_status':
sa1100_generic.c:751: `MECR' undeclared (first use in this function)
sa1100_generic.c: In function `sa1100_pcmcia_driver_init':
sa1100_generic.c:1079: warning: implicit declaration of function
`_PCMCIA'
sa1100_generic.c:1079: `PCMCIASp' undeclared (first use in this
function)
sa1100_generic.c:1095: warning: implicit declaration of function
`_PCMCIAAttr'
sa1100_generic.c:1096: warning: implicit declaration of function
`_PCMCIAMem'
sa1100_generic.c:1097: warning: implicit declaration of function
`_PCMCIAIO'
sa1100_generic.c:1110: `MECR' undeclared (first use in this function)
sa1100_generic.c: In function `sa1100_pcmcia_driver_shutdown':
sa1100_generic.c:1165: `PCMCIASp' undeclared (first use in this
function)
make[2]: *** [sa1100_generic.o] Error 1
make[2]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre/drivers/pcmcia'
The source of the problem seems to be a bad dependency in the pcmcia
config.
Since CONFIG_ARCH_SA1100 is undefined, it cannot be used on the shell
command
line for the dep_tristate.
I guess inside the ARM arch tree it is always defined and is safe on
command
lines as used in many places there.
In drivers/mtd/maps/Config.in CONFIG_ARM is used in the condition, so
maybe a better patch will be to do the same here? I leave this to the
experts.
--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
[-- Attachment #2: 2.4.19-pre5-sa1100.patch --]
[-- Type: text/plain, Size: 459 bytes --]
--- linux/drivers/pcmcia/Config.in.orig Sat Mar 30 10:48:11 2002
+++ linux/drivers/pcmcia/Config.in Sat Mar 30 10:57:18 2002
@@ -24,6 +24,8 @@
dep_tristate ' HD64465 host bridge support' CONFIG_HD64465_PCMCIA $CONFIG_PCMCIA
fi
fi
-dep_tristate ' SA1100 support' CONFIG_PCMCIA_SA1100 $CONFIG_ARCH_SA1100 $CONFIG_PCMCIA
+if [ "$CONFIG_ARCH_SA1100" = "y" ]; then
+ dep_tristate ' SA1100 support' CONFIG_PCMCIA_SA1100 $CONFIG_PCMCIA
+fi
endmenu
next prev parent reply other threads:[~2002-03-30 0:11 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-29 21:47 Linux 2.4.19-pre5 Marcelo Tosatti
2002-03-30 0:11 ` Eyal Lebedinsky [this message]
2002-03-30 9:06 ` Linux 2.4.19-pre5: bad config Russell King
2002-03-30 10:19 ` Russell King
2002-03-30 17:46 ` Alan Cox
2002-03-30 19:13 ` Russell King
2002-03-30 0:23 ` Linux 2.4.19-pre5: neofb.c compile failure Eyal Lebedinsky
2002-03-30 20:40 ` Linux 2.4.19-pre5 Michal Jaegermann
2002-03-30 23:34 ` Keith Owens
2002-03-31 1:41 ` Michal Jaegermann
2002-03-31 0:39 ` Linux 2.4.19-pre5: hotplug config Eyal Lebedinsky
2002-03-31 14:02 ` Alan Cox
2002-03-31 17:53 ` Greg KH
2002-04-01 0:11 ` Alan Cox
2002-04-04 19:50 ` Linux 2.4.19-pre5 Adrian Bunk
2002-04-04 21:41 ` Marcelo Tosatti
2002-04-09 2:42 ` Reworked CONFIG_IDE_TASKFILE_IO help text Thomas Zimmerman
2002-04-09 6:01 ` Andre Hedrick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3CA502A0.54547786@eyal.emu.id.au \
--to=eyal@eyal.emu.id.au \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®