From: Jeff Garzik <jeff@garzik.org>
To: Sam Ravnborg <sam@ravnborg.org>, Andrew Morton <akpm@osdl.org>,
chas williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: drivers/atm throws weird build "error"
Date: Sun, 03 Dec 2006 19:36:46 -0500 [thread overview]
Message-ID: <45736D9E.7060506@garzik.org> (raw)
Running "make allmodconfig" on current linux-2.6.git top of tree on
x86-64, I see the following when beginning a drivers/atm compile:
> make -f scripts/Makefile.build obj=drivers/atm
> include/asm/byteorder.h:5:28: error: linux/compiler.h: No such file or directory
However, the build continues just fine.
Here's the full KBUILD_VERBOSE=1 section in question:
> gcc -Wp,-MD,drivers/ata/.pata_triflex.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.1/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -march=k8 -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fstack-protector -fstack-protector-all -fno-omit-frame-pointer -fno-optimize-sibling-calls -fasynchronous-unwind-tables -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(pata_triflex)" -D"KBUILD_MODNAME=KBUILD_STR(pata_triflex)" -c -o drivers/ata/.tmp_pata_triflex.o drivers/ata/pata_triflex.c
> gcc -Wp,-MD,drivers/ata/.ata_generic.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.1/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -march=k8 -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fstack-protector -fstack-protector-all -fno-omit-frame-pointer -fno-optimize-sibling-calls -fasynchronous-unwind-tables -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ata_generic)" -D"KBUILD_MODNAME=KBUILD_STR(ata_generic)" -c -o drivers/ata/.tmp_ata_generic.o drivers/ata/ata_generic.c
> make -f scripts/Makefile.build obj=drivers/atm
> include/asm/byteorder.h:5:28: error: linux/compiler.h: No such file or directory
> rm -f drivers/atm/built-in.o; ar rcs drivers/atm/built-in.o
> gcc -Wp,-MD,drivers/atm/.zatm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.1/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -march=k8 -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fstack-protector -fstack-protector-all -fno-omit-frame-pointer -fno-optimize-sibling-calls -fasynchronous-unwind-tables -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(zatm)" -D"KBUILD_MODNAME=KBUILD_STR(zatm)" -c -o drivers/atm/.tmp_zatm.o drivers/atm/zatm.c
Regards,
Jeff
reply other threads:[~2006-12-04 0:36 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=45736D9E.7060506@garzik.org \
--to=jeff@garzik.org \
--cc=akpm@osdl.org \
--cc=chas@cmf.nrl.navy.mil \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.