* Compile failure with 2.5.41 in serial/core.o
@ 2002-10-07 20:53 Alastair Stevens
2002-10-07 21:56 ` Kai Germaschewski
0 siblings, 1 reply; 2+ messages in thread
From: Alastair Stevens @ 2002-10-07 20:53 UTC (permalink / raw)
To: linux-kernel
RH7.3 : gcc-2.96-112 : Athlon XP
Here's the error when doing "make modules" from a clean build. The "make
bzImage" works fine:
gcc -Wp,-MD,drivers/serial/.core.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=athlon -Iarch/i386/mach-generic -nostdinc -iwithprefix include
-DMODULE -include include/linux/modversions.h -DKBUILD_BASENAME=core
-c -o drivers/serial/core.o drivers/serial/core.c
drivers/serial/core.c:2456: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
drivers/serial/core.c:2456: warning: type defaults to `int' in
declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
drivers/serial/core.c:2456: warning: data definition has no type or
storage class
drivers/serial/core.c:2457: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
drivers/serial/core.c:2457: warning: type defaults to `int' in
declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
drivers/serial/core.c:2457: warning: data definition has no type or
storage class
drivers/serial/core.c:2458: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
drivers/serial/core.c:2458: warning: type defaults to `int' in
declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
drivers/serial/core.c:2458: warning: data definition has no type or
storage class
drivers/serial/core.c:2459: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
drivers/serial/core.c:2459: warning: type defaults to `int' in
declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
drivers/serial/core.c:2459: warning: data definition has no type or
storage class
drivers/serial/core.c:2460: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
drivers/serial/core.c:2460: warning: type defaults to `int' in
declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
drivers/serial/core.c:2460: warning: data definition has no type or
storage class
drivers/serial/core.c:2461: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
drivers/serial/core.c:2461: warning: type defaults to `int' in
declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
drivers/serial/core.c:2461: warning: data definition has no type or
storage class
drivers/serial/core.c:2462: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
drivers/serial/core.c:2462: warning: type defaults to `int' in
declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
drivers/serial/core.c:2462: warning: data definition has no type or
storage class
make[2]: *** [drivers/serial/core.o] Error 1
make[1]: *** [drivers/serial] Error 2
make: *** [drivers] Error 2
_____________________________ o
Alastair Stevens \ /-'_
Newport : Essex : UK \ . |\/(*) /\__
\__ . .(*) ___/ \______
www.altruxsolutions.co.uk \_________/ \_________
__________________________________/
GPG fingerprint = 8920 D7B7 D3DE AC8C ECA6 EE8A FEE6 AADA 09D6 2BDB
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Compile failure with 2.5.41 in serial/core.o
2002-10-07 20:53 Compile failure with 2.5.41 in serial/core.o Alastair Stevens
@ 2002-10-07 21:56 ` Kai Germaschewski
0 siblings, 0 replies; 2+ messages in thread
From: Kai Germaschewski @ 2002-10-07 21:56 UTC (permalink / raw)
To: Alastair Stevens; +Cc: linux-kernel
On 7 Oct 2002, Alastair Stevens wrote:
> Here's the error when doing "make modules" from a clean build. The "make
> bzImage" works fine:
>
> gcc -Wp,-MD,drivers/serial/.core.o.d -D__KERNEL__ -Iinclude -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=athlon -Iarch/i386/mach-generic -nostdinc -iwithprefix include
> -DMODULE -include include/linux/modversions.h -DKBUILD_BASENAME=core
> -c -o drivers/serial/core.o drivers/serial/core.c
> drivers/serial/core.c:2456: parse error before
> `this_object_must_be_defined_as_export_objs_in_the_Makefile'
Hmmh, I cannot reproduce this, nor do I see how this would happen -
Does your drivers/serial/Makefile have the line
export-objs := core.o 8250.o suncore.o
?
If you can reproduce this, could you mail me your .config?
--Kai
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-07 21:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-07 20:53 Compile failure with 2.5.41 in serial/core.o Alastair Stevens
2002-10-07 21:56 ` Kai Germaschewski
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®