mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: P Lavin <lavin.p@redpinesignals.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Error in building modules into kernel.
Date: Thu, 26 May 2005 23:37:37 -0400	[thread overview]
Message-ID: <20050527033737.GB29450@redhat.com> (raw)
In-Reply-To: <4296952A.4080309@redpinesignals.com>

On Fri, May 27, 2005 at 09:04:02AM +0530, P Lavin wrote:
 > Hi,
 > Can anyone tell me why i'm getting this error when i'm trying to build 
 > my driver into kernel ??
 > I'm using fedora-2 with linux-2.6.6
 > 
 >  CC      drivers/net/wireless/rsi_pine1/wpa/rc4.o
 >  CC      drivers/net/wireless/rsi_pine1/wpa/aes_wrap.o
 >  CC      drivers/net/wireless/rsi_pine1/wpa/md5.o
 >  CC      drivers/net/wireless/rsi_pine1/wpa/sha1.o
 >  CC      drivers/net/wireless/rsi_pine1/wpa/common.o
 >  CC      drivers/net/wireless/rsi_pine1/wpa/wpa_ap.o
 >  CC      drivers/net/wireless/rsi_pine1/wpa/ieee802_1x.o
 >  LD      drivers/net/wireless/rsi_pine1/rsiap.o
 >  LD      drivers/net/wireless/rsi_pine1/built-in.o
 >  LD      drivers/net/wireless/built-in.o
 >  LD      drivers/net/built-in.o
 >  LD      drivers/built-in.o
 >  GEN     .version
 >  CHK     include/linux/compile.h
 >  UPD     include/linux/compile.h
 >  CC      init/version.o
 >  LD      init/built-in.o
 >  LD      .tmp_vmlinux1
 > drivers/built-in.o(.exit.text+0xdab): In function `cleanup_module':
 > : multiple definition of `cleanup_module'
 > kernel/built-in.o(.text+0x18f0c): first defined here
 > ld: Warning: size of symbol `cleanup_module' changed from 1 in 
 > kernel/built-in.o to 40 in drivers/built-in.o
 > drivers/built-in.o(.init.text+0xf9fb): In function `init_module':
 > : multiple definition of `init_module'
 > kernel/built-in.o(.text+0x18580): first defined here
 > ld: Warning: size of symbol `init_module' changed from 3 in 
 > kernel/built-in.o to 166 in drivers/built-in.o
 > make: *** [.tmp_vmlinux1] Error 1

Probably something simple in the declarations of the init/cleanup routines.
Where's the source for this driver ?

		Dave

      reply	other threads:[~2005-05-27  3:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-27  3:34 P Lavin
2005-05-27  3:37 ` Dave Jones [this message]

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=20050527033737.GB29450@redhat.com \
    --to=davej@redhat.com \
    --cc=lavin.p@redpinesignals.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®