Compile failure with 2.5.41 in serial/core.o

From: Alastair Stevens (alastair@altruxsolutions.co.uk)
Date: Mon Oct 07 2002 - 15:53:44 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:01:00 EST