All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: Moses McKnight <m_mcknight@surfbest.net>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: 2.4.4-ac6 compile error in plip.c
Date: Fri, 11 May 2001 14:53:09 +1000	[thread overview]
Message-ID: <2514.989556789@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Thu, 10 May 2001 08:46:43 EST." <3AFA9BC3.1060207@surfbest.net>

On Thu, 10 May 2001 08:46:43 -0500, 
Moses McKnight <m_mcknight@surfbest.net> wrote:
>Hi, I get the following error trying to compile 2.4.4-ac6 using gcc 
>2.95.4 (debian package).
>
>plip.c:1412: __setup_str_plip_setup causes a section type conflict

The first __initdata is marked as const, the second is not, a section
cannot contain both const and non-const data.  Against 2.4.4-ac6.

Index: 4.16/drivers/net/plip.c
--- 4.16/drivers/net/plip.c Thu, 26 Apr 2001 12:38:49 +1000 kaos (linux-2.4/l/c/23_plip.c 1.2.1.3 644)
+++ 4.16(w)/drivers/net/plip.c Fri, 11 May 2001 14:50:39 +1000 kaos (linux-2.4/l/c/23_plip.c 1.2.1.3 644)
@@ -120,7 +120,7 @@
 
 #include <linux/parport.h>
 
-static const char version[] __initdata =
+static char version[] __initdata =
 	KERN_INFO "NET3 PLIP version 2.4-parport gniibe@mri.co.jp\n";
 
 /* Maximum number of devices to support. */


  reply	other threads:[~2001-05-11  4:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-10 13:46 2.4.4-ac6 compile error in plip.c Moses McKnight
2001-05-11  4:53 ` Keith Owens [this message]
2001-05-11  8:03   ` Ingo Oeser

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=2514.989556789@kao2.melbourne.sgi.com \
    --to=kaos@ocs.com.au \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m_mcknight@surfbest.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.