mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* duplicate definition of EISA_bus compiling 2.4.22-rc2 with gcc 3.3.1
@ 2003-08-12 14:20 Davide Prina
  0 siblings, 0 replies; only message in thread
From: Davide Prina @ 2003-08-12 14:20 UTC (permalink / raw)
  To: linux-kernel

Hi,

[1.] One line summary of the problem:    
Kernel compilation: duplicate definition of EISA_bus

[2.] Full description of the problem/report:
I'm compiling the kernel 2.4.22-rc2, I'm done a lot of compilation of that with
different parameters and only one time I have had that error: duplicate
definition of EISA_bus in:
.../include/linux/modules/i386_ksyms.ver
and
.../include/asm/processor.h

probably I have set something in .config that has generated it (I always create
.config with make xconfig)

I'm using gcc 3.3.1 on a Debian Woody

I have solved the problem changing the code of processor.h

#ifdef CONFIG_EISA
extern int EISA_bus;
#else
#define EISA_bus (0)
#endif

with the following

#ifdef CONFIG_EISA
extern int EISA_bus;
#else
#undef EISA_bus
#define EISA_bus (0)
#endif

because I don't have a EISA slot and I haven't select it in the .config file
Probably not always the CONFIG_EISA definition is set where the EISA_bus is
defined

[3.] Keywords (i.e., modules, networking, kernel):
kernel, compiling

[4.] Kernel version (from /proc/version):
I have 2.4.18 and I'm compiling 2.4.22-rc2

Ciao
Davide

=====
______________________________________________________________
OpenOffice: la migliore suite per l'ufficio                http://it.openoffice.org  
GNU/Linux: il miglior sistema operativo                 http://www.it.debian.org
______________________________________________________________

______________________________________________________________________
Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus, il filtro Anti-spam
http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-12 14:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-12 14:20 duplicate definition of EISA_bus compiling 2.4.22-rc2 with gcc 3.3.1 Davide Prina

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®