public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: "André Dahlqvist" <andre.dahlqvist@telia.com>
Cc: "Ruben Püttmann" <ruben.puettmann@freenet-ag.de>,
	linux-kernel@vger.kernel.org
Subject: Re: Problems compiling 2.4.18-pre6
Date: Wed, 23 Jan 2002 14:25:08 -0800	[thread overview]
Message-ID: <3C4F3844.2CAC3D13@zip.com.au> (raw)
In-Reply-To: <3C4F32F5.6080807@freenet-ag.de>, <3C4F32F5.6080807@freenet-ag.de> <20020123222650.GA5005@telia.com>

André Dahlqvist wrote:
> 
> Ruben Püttmann <ruben.puettmann@freenet-ag.de> wrote:
> 
> > i want test the pre 6 but I ever get this message:
> >
> > drivers/sound/sounddrivers.o (.data+0xB4): undefined reference to 'local
> > symbols in discarded section .text.exit'
> 
> As a workaround, compile VIA82CXXX as a module. I'm pretty sure Andrew
> Morton (?) came up with a patch for this before, but it seams it did't get
> included.

hmm.  So I did.

--- linux-2.4.18-pre1/drivers/sound/via82cxxx_audio.c	Fri Dec 21 11:19:13 2001
+++ linux-akpm/drivers/sound/via82cxxx_audio.c	Fri Dec 28 10:27:51 2001
@@ -365,7 +365,7 @@ static struct pci_driver via_driver = {
 	name:		VIA_MODULE_NAME,
 	id_table:	via_pci_tbl,
 	probe:		via_init_one,
-	remove:		via_remove_one,
+	remove:		__devexit_p(via_remove_one),
 };
 
 
@@ -3271,7 +3271,7 @@ err_out:
 }
 
 
-static void __exit via_remove_one (struct pci_dev *pdev)
+static void __devexit via_remove_one (struct pci_dev *pdev)
 {
 	struct via_info *card;

  reply	other threads:[~2002-01-23 22:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-23 22:02 Problems compiling 2.4.18-pre6 Ruben Püttmann
2002-01-23 22:26 ` André Dahlqvist
2002-01-23 22:25   ` Andrew Morton [this message]
     [not found] <Pine.LNX.4.33.0201231710330.24338-100000@coffee.psychology.mcmaster.ca>
2002-01-24  0:39 ` Ruben Puettmann
2002-01-24  2:42   ` David Weinehall

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=3C4F3844.2CAC3D13@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=andre.dahlqvist@telia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ruben.puettmann@freenet-ag.de \
    /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