* drivers/atm throws weird build "error"
@ 2006-12-04 0:36 Jeff Garzik
0 siblings, 0 replies; only message in thread
From: Jeff Garzik @ 2006-12-04 0:36 UTC (permalink / raw)
To: Sam Ravnborg, Andrew Morton, chas williams - CONTRACTOR; +Cc: Linux Kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-12-04 0:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-04 0:36 drivers/atm throws weird build "error" Jeff Garzik
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.