public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.5-ac15 -- Unresolved symbols "gameport_register_port"
Date: Wed, 20 Jun 2001 00:30:05 +1000	[thread overview]
Message-ID: <20509.992961005@ocs3.ocs-net> (raw)
In-Reply-To: Your message of "Tue, 19 Jun 2001 14:48:09 +0200." <Pine.LNX.4.31.0106191444410.6488-200000@neon.hh59.org>

On Tue, 19 Jun 2001 14:48:09 +0200 (CEST), 
<axel@rayfun.org> wrote:
>something similar is happening with my kernel 2.4.5-ac15 compilation.
>drivers/sound/sounddrivers.o: In function `es1371_probe':
>drivers/sound/sounddrivers.o(.text.init+0xddb): undefined reference to
>`gameport_register_port'

Gameports and joysticks should not be available unless input core
support is selected first.  Invalid configs were slipping through.

Index: 5.37/drivers/char/joystick/Config.in
--- 5.37/drivers/char/joystick/Config.in Wed, 06 Jun 2001 11:47:52 +1000 kaos (linux-2.4/Y/b/35_Config.in 1.1.1.3 644)
+++ 5.37(w)/drivers/char/joystick/Config.in Wed, 20 Jun 2001 00:06:14 +1000 kaos (linux-2.4/Y/b/35_Config.in 1.1.1.3 644)
@@ -5,15 +5,20 @@
 mainmenu_option next_comment
 comment 'Joysticks'
 
-tristate 'Game port support' CONFIG_INPUT_GAMEPORT
-   dep_tristate '  Classic ISA/PnP gameports' CONFIG_INPUT_NS558 $CONFIG_INPUT_GAMEPORT
-   dep_tristate '  PDPI Lightning 4 gamecard' CONFIG_INPUT_LIGHTNING $CONFIG_INPUT_GAMEPORT
-   dep_tristate '  Aureal Vortex and Trident 4DWave gameports' CONFIG_INPUT_PCIGAME $CONFIG_INPUT_GAMEPORT
-   dep_tristate '  Crystal SoundFusion gameports' CONFIG_INPUT_CS461X  $CONFIG_INPUT_GAMEPORT
-   dep_tristate '  SoundBlaster Live! gameports' CONFIG_INPUT_EMU10K1 $CONFIG_INPUT_GAMEPORT
-
-tristate 'Serial port device support' CONFIG_INPUT_SERIO
-   dep_tristate '  Serial port input line discipline' CONFIG_INPUT_SERPORT $CONFIG_INPUT_SERIO
+if [ "$CONFIG_INPUT" != "n" ]; then
+   tristate 'Game port support' CONFIG_INPUT_GAMEPORT
+      dep_tristate '  Classic ISA/PnP gameports' CONFIG_INPUT_NS558 $CONFIG_INPUT_GAMEPORT
+      dep_tristate '  PDPI Lightning 4 gamecard' CONFIG_INPUT_LIGHTNING $CONFIG_INPUT_GAMEPORT
+      dep_tristate '  Aureal Vortex and Trident 4DWave gameports' CONFIG_INPUT_PCIGAME $CONFIG_INPUT_GAMEPORT
+      dep_tristate '  Crystal SoundFusion gameports' CONFIG_INPUT_CS461X  $CONFIG_INPUT_GAMEPORT
+      dep_tristate '  SoundBlaster Live! gameports' CONFIG_INPUT_EMU10K1 $CONFIG_INPUT_GAMEPORT
+   tristate 'Serial port device support' CONFIG_INPUT_SERIO
+      dep_tristate '  Serial port input line discipline' CONFIG_INPUT_SERPORT $CONFIG_INPUT_SERIO
+else
+   # Must explicitly set to n for drivers/sound/Config.in
+   define_tristate CONFIG_INPUT_GAMEPORT n
+   comment 'Input core support is needed for gameports'
+fi
 
 if [ "$CONFIG_INPUT" != "n" ]; then
    comment 'Joysticks'


  reply	other threads:[~2001-06-19 14:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-19 12:48 2.4.5-ac15 -- Unresolved symbols "gameport_register_port" and "gameport_unregister_port" in char/joystick/[cs461x.o, emu10k1-gp.o, lightning.o, ns558.o, pcigame.o] (fwd) axel
2001-06-19 14:30 ` Keith Owens [this message]
2001-06-19 14:35   ` 2.4.5-ac15 -- Unresolved symbols "gameport_register_port" Vojtech Pavlik
2001-06-19 14:43     ` Keith Owens
2001-06-19 17:33       ` Vojtech Pavlik
2001-06-19 22:22         ` Keith Owens
2001-06-20  8:26           ` Vojtech Pavlik

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=20509.992961005@ocs3.ocs-net \
    --to=kaos@ocs.com.au \
    --cc=alan@lxorguk.ukuu.org.uk \
    --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