public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux 2.5.17: compile error: sound/driver/opl3/opl3_oss.c
@ 2002-05-21 10:05 Melchior FRANZ
  2002-05-21 13:47 ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Melchior FRANZ @ 2002-05-21 10:05 UTC (permalink / raw)
  To: linux-kernel

This is now the third or fourth kernel in a row that exhibits the same
compile error. The configuration is as follows:

  CONFIG_SOUND=m
  CONFIG_SND=m
  CONFIG_SND_SEQUENCER=m                      <====  [1]
  # CONFIG_SND_OSSEMUL is not set
  # CONFIG_SND_RTCTIMER is not set
  CONFIG_SND_VERBOSE_PRINTK=y
  CONFIG_SND_DEBUG=y
  CONFIG_SND_DEBUG_MEMORY=y
  CONFIG_SND_DEBUG_DETECT=y
  CONFIG_SND_MPU401=m
  CONFIG_SND_CS4232=m
  CONFIG_SND_CS4236=m
  CONFIG_SND_OPL3SA2=m


And that's what I get during "make modules":

  gcc -D__KERNEL__ -I/usr/src/linux-2.5.17/include -Wall -Wstrict-prototypes \
    -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common \
    -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE \
    -DKBUILD_BASENAME=opl3_oss -c -o opl3_oss.o opl3_oss.c
  opl3_oss.c:25: parse error before `*'
  opl3_oss.c:25: warning: function declaration isn't a prototype
  opl3_oss.c:26: parse error before `*'
  opl3_oss.c:26: warning: function declaration isn't a prototype
  opl3_oss.c:27: parse error before `*'
  opl3_oss.c:27: warning: function declaration isn't a prototype
  opl3_oss.c:28: parse error before `*'
  opl3_oss.c:28: warning: function declaration isn't a prototype
  opl3_oss.c:29: parse error before `*'
  opl3_oss.c:29: warning: function declaration isn't a prototype
  opl3_oss.c:49: parse error before `oss_callback'
  opl3_oss.c:49: warning: type defaults to `int' in declaration of `oss_callback'
  opl3_oss.c:50: unknown field `owner' specified in initializer
  opl3_oss.c:50: warning: initialization makes integer from pointer without a cast
  opl3_oss.c:51: unknown field `open' specified in initializer
  opl3_oss.c:51: warning: excess elements in scalar initializer
  [lots of further similar errors]


Seems that there are some header definitions missing, such as
sound/core/seq/oss/seq_oss_device.h and others.

[1]  The kernel compiles if I unset CONFIG_SND_SEQUENCER.

m.


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

end of thread, other threads:[~2002-05-21 16:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-21 10:05 Linux 2.5.17: compile error: sound/driver/opl3/opl3_oss.c Melchior FRANZ
2002-05-21 13:47 ` Takashi Iwai
2002-05-21 16:04   ` Melchior FRANZ

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