Re: 2.3.50 does not compile

From: Keith Owens (kaos@ocs.com.au)
Date: Wed Mar 08 2000 - 21:34:17 EST


On Wed, 8 Mar 2000 16:12:04 +0200,
Catalin Muresan <cata@codec.ro> wrote:
>On Wed, Mar 08, 2000 at 01:30:28PM +0100, f5ibh wrote:
> > gcc -D__KERNEL__ -I/usr/src/kernel-source-2.3.50/include -Wall
> > -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce
> > -DCPU=586 -DMODULE -c -o sound_syms.o sound_syms.c
> > sound_syms.c:17: parse error before `EXPORT_SYMTAB_not_defined'
> > sound_syms.c:17: warning: data definition has no type or storage class
>
> include before #include <linux/module.h>, #define EXPORT_SYMTAB
> in each file the compiler complains, or in the Makefile.

WRONG! module.h is designed to map EXPORT_SYMTAB to
"EXPORT_SYMTAB_not_defined" when the gcc command is incorrect. In this
case the problem is the gcc line does include "-DEXPORT_SYMTAB", the
real problem is an incorrect Makefile. Do not edit the source files,
take it up with whoever changed drivers/sound/Makefile in 2.3.50. Alas
there is no change entry in Makefile so it is difficult to work out who
changed it.

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



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:15 EST