From: Pavel Machek <pavel@ucw.cz>
To: kernel list <linux-kernel@vger.kernel.org>
Subject: 2.5.17: compilation ignores errors?!
Date: Tue, 21 May 2002 23:51:48 +0200 [thread overview]
Message-ID: <20020521215148.GA14121@elf.ucw.cz> (raw)
Hi!
It seems compilation now ignores errors...
I introduced parse error into init/main.c, and:
pavel@amd:/usr/src/linux$ time make bzImage
make[1]: Entering directory `/usr/src/linux/init'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=i386
-DKBUILD_BASENAME=main -c -o main.o main.c
main.c:529: parse error before `bar'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Generating ../include/linux/compile.h
../include/linux/compile.h is unchanged
ld -m elf_i386 -r -o init.o main.o version.o do_mounts.o
ld: cannot open main.o: No such file or directory
make[1]: Leaving directory `/usr/src/linux/init'
make[1]: Entering directory `/usr/src/linux/kernel'
make[1]: Nothing to be done for `first_rule'.
make[1]: Leaving directory `/usr/src/linux/kernel'
make[1]: Entering directory `/usr/src/linux/lib'
make[2]: Entering directory `/usr/src/linux/lib/zlib_inflate'
...
ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/init.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o \
/usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
/usr/src/linux/arch/i386/lib/lib.a \
drivers/acpi/acpi.o drivers/pci/driver.o drivers/base/base.o
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o
drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pcmcia/pcmcia.o
drivers/video/video.o drivers/usb/usbdrv.o drivers/input/inputdrv.o
drivers/input/serio/seriodrv.o drivers/i2c/i2c.o arch/i386/pci/pci.o \
net/network.o \
--end-group \
-o vmlinux
ld: cannot open init/init.o: No such file or directory
make: *** [vmlinux] Error 1
7.18user 5.22system 44.64 (0m44.649s) elapsed 27.77%CPU
That's not too helpfull :(.
Pavel
--
(about SSSCA) "I don't say this lightly. However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa
reply other threads:[~2002-05-21 22:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20020521215148.GA14121@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
/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®