Re: 2.2.16 and EXPORT_SYMTAB

From: Keith Owens (kaos@ocs.com.au)
Date: Sat Jun 17 2000 - 05:11:18 EST


On Fri, 16 Jun 2000 18:32:33 +0200,
"Nathalie Barat" <nbarat@cirpack.com> wrote:
>I have a driver in which I define EXPORT_SYMTAB before including module.h,
>so that I can export symbols. This also implies that the file modversions.h
>will be included. It compiles well under Linux 2.2.14, but with Linux 2.2.15
>or 2.2.16, I have the following warnings:
>'smp_num_cpus' is defined in linux/modules/i386_ksyms.ver and REdefined in
>linux/smp.h
>'smp_call_function' is defined in linux/modules/i386_ksyms.ver and REdefined
>in linux/smp.h
>'cpu_data' is defined in linux/modules/i386_ksyms.ver and REdefined in
>asm/processor.h
>
>What should I do to avoid these warnings?

Use the standard Makefile mechanisms (MX_OBJS) instead of inventing
your own.

-
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 : Fri Jun 23 2000 - 21:00:14 EST