mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Davide Prina" <davideprina@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: duplicate definition of EISA_bus compiling 2.4.22-rc2 with gcc 3.3.1
Date: Tue, 12 Aug 2003 16:20:53 +0200 (CEST)	[thread overview]
Message-ID: <20030812142053.99571.qmail@web41103.mail.yahoo.com> (raw)

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/

                 reply	other threads:[~2003-08-12 14:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030812142053.99571.qmail@web41103.mail.yahoo.com \
    --to=davideprina@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®