lkml.org 
[lkml]   [2003]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectduplicate definition of EISA_bus compiling 2.4.22-rc2 with gcc 3.3.1
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/
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.025 / U:1.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site