public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.7 build failure : esssolo1.c troubles
@ 2001-07-21 12:25 Sven Vermeulen
  2001-07-21 12:47 ` Alexander Griesser
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Vermeulen @ 2001-07-21 12:25 UTC (permalink / raw)
  To: Linux-kernel Mailinglist

gcc -D__KERNEL__ -I/home/nitro/src/linux-2.4.7/include -Wall \
  -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer \
  -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 \
  -march=k6    -c -o esssolo1.o esssolo1.c \
esssolo1.c:2455: warning: initialization from incompatible pointer type
esssolo1.c:2457: warning: initialization from incompatible pointer type

and

drivers/sound/sounddrivers.o: In function `solo1_probe':
drivers/sound/sounddrivers.o(.text.init+0x3ab): undefined reference to \
  `gameport_register_port'
drivers/sound/sounddrivers.o: In function `solo1_remove':
drivers/sound/sounddrivers.o(.text.init+0x4d7): undefined reference to \
  `gameport_unregister_port'
make: *** [vmlinux] Error 1


-- 
 Sven Vermeulen            -    Key-ID CDBA2FDB 
 LUG: http://www.lugwv.be  -    http://www.keyserver.net


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.4.7 build failure : esssolo1.c troubles
  2001-07-21 12:25 2.4.7 build failure : esssolo1.c troubles Sven Vermeulen
@ 2001-07-21 12:47 ` Alexander Griesser
  2001-07-21 14:56   ` Sven Vermeulen
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Griesser @ 2001-07-21 12:47 UTC (permalink / raw)
  To: Sven Vermeulen; +Cc: Linux-kernel Mailinglist

On Sat, Jul 21, 2001 at 02:25:39PM +0200, you wrote:
> drivers/sound/sounddrivers.o: In function `solo1_probe':
> drivers/sound/sounddrivers.o(.text.init+0x3ab): undefined reference to \
>   `gameport_register_port'
> drivers/sound/sounddrivers.o: In function `solo1_remove':
> drivers/sound/sounddrivers.o(.text.init+0x4d7): undefined reference to \
>   `gameport_unregister_port'
> make: *** [vmlinux] Error 1

AFAIK, gameport_register_port and gameport_unregister_port are defined
in <linux/gameport.h>, which is included at the beginning of esssolo1.c
with the following code:

#if defined(CONFIG_INPUT_ANALOG) || defined(CONFIG_INPUT_ANALOG_MODULE)¶
#include <linux/gameport.h>¶
#else¶

Maybe one of those Values (CONFIG_INPUT_ANALOG{_MODULE, }) is not
defined?

regards, alexx
-- 
|   .-.   | Alexander Griesser <tuxx@aon.at> -=- ICQ:63180135 |  .''`. |
|   /v\   |  http://www.tuxx-home.at -=- Linux Version 2.4.6  | : :' : |
| /(   )\ |  FAQ zu at.linux:  http://alfie.ist.org/LinuxFAQ  | `. `'  |
|  ^^ ^^  `---------------------------------------------------´   `-   |

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.4.7 build failure : esssolo1.c troubles
  2001-07-21 12:47 ` Alexander Griesser
@ 2001-07-21 14:56   ` Sven Vermeulen
  0 siblings, 0 replies; 4+ messages in thread
From: Sven Vermeulen @ 2001-07-21 14:56 UTC (permalink / raw)
  To: Alexander Griesser; +Cc: Linux-kernel Mailinglist

On Sat, Jul 21, 2001 at 02:47:24PM +0200, Alexander Griesser wrote:
> AFAIK, gameport_register_port and gameport_unregister_port are defined
> in <linux/gameport.h>, which is included at the beginning of esssolo1.c
> with the following code:
> 
> #if defined(CONFIG_INPUT_ANALOG) || defined(CONFIG_INPUT_ANALOG_MODULE)¶
> #include <linux/gameport.h>¶
> #else¶

No(t anymore):

[snip from esssolo1.c]
#include <asm/uaccess.h>
#include <asm/hardirq.h>
#include <linux/gameport.h>
[snip]

gameport.h is automatically included AFAIK

-- 
 Sven Vermeulen            -    Key-ID CDBA2FDB 
 LUG: http://www.lugwv.be  -    http://www.keyserver.net


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.4.7 build failure : esssolo1.c troubles
  2001-07-21 15:07 Frank Davis
@ 2001-07-21 15:12 ` Keith Owens
  0 siblings, 0 replies; 4+ messages in thread
From: Keith Owens @ 2001-07-21 15:12 UTC (permalink / raw)
  To: Frank Davis; +Cc: Sven Vermeulen, PENG Zhaowang, linux-kernel

On Sat, 21 Jul 2001 11:07:31 -0400 (EDT), 
Frank Davis <fdavis@andrew.cmu.edu> wrote:
>    I'm sure Keith and others fixed this problem a while ago through
>fixing the config options...

It was fixed in the -ac patches.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-07-21 15:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-21 12:25 2.4.7 build failure : esssolo1.c troubles Sven Vermeulen
2001-07-21 12:47 ` Alexander Griesser
2001-07-21 14:56   ` Sven Vermeulen
  -- strict thread matches above, loose matches on Subject: below --
2001-07-21 15:07 Frank Davis
2001-07-21 15:12 ` 2.4.7 " Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox