Linux Sound subsystem development
 help / color / mirror / Atom feed
From: James Tappin <sjt@star.sr.bham.ac.uk>
To: linux-sound@vger.kernel.org
Subject: Re: opl3_oss error while compiling 2.5.15
Date: Fri, 10 May 2002 11:58:48 +0000	[thread overview]
Message-ID: <marc-linux-sound-102103213527792@msgid-missing> (raw)
In-Reply-To: <marc-linux-sound-102103113727169@msgid-missing>

On Friday 10 May 2002 12:51, Corporal Pisang wrote:
> Hi,
>
> I get this error compiling 2.5.15
>
> opl3_oss.c:28: parse error before '*' token
> opl3_oss.c:28: warning: function declaration isn't a prototype
> opl3_oss.c:29: parse error before '*' token
> 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: field name not in record or union initializer
> opl3_oss.c:50: (near initialization for `oss_callback')
> opl3_oss.c:50: warning: initialization makes integer from pointer without a
> cast
> opl3_oss.c:51: field name not in record or union initializer
> opl3_oss.c:51: (near initialization for `oss_callback')
> opl3_oss.c:51: warning: excess elements in scalar initializer
> opl3_oss.c:51: warning: (near initialization for `oss_callback')
> opl3_oss.c:52: field name not in record or union initializer
> opl3_oss.c:52: (near initialization for `oss_callback')
> opl3_oss.c:52: warning: excess elements in scalar initializer
> opl3_oss.c:52: warning: (near initialization for `oss_callback')
> opl3_oss.c:53: field name not in record or union initializer
> opl3_oss.c:53: (near initialization for `oss_callback')
> opl3_oss.c:53: warning: excess elements in scalar initializer
> opl3_oss.c:53: warning: (near initialization for `oss_callback')
> opl3_oss.c:54: field name not in record or union initializer
> opl3_oss.c:54: (near initialization for `oss_callback')
> opl3_oss.c:54: warning: excess elements in scalar initializer
> opl3_oss.c:54: warning: (near initialization for `oss_callback')
> opl3_oss.c:55: field name not in record or union initializer
> opl3_oss.c:55: (near initialization for `oss_callback')
> opl3_oss.c:55: warning: excess elements in scalar initializer
> opl3_oss.c:55: warning: (near initialization for `oss_callback')
> opl3_oss.c:56: warning: data definition has no type or storage class
> opl3_oss.c: In function `snd_opl3_oss_event_input':
> opl3_oss.c:64: structure has no member named `oss_chset'
> opl3_oss.c: In function `snd_opl3_oss_free_port':
> opl3_oss.c:74: structure has no member named `oss_chset'
> opl3_oss.c: In function `snd_opl3_oss_create_port':
> opl3_oss.c:85: structure has no member named `oss_chset'
> opl3_oss.c:86: structure has no member named `oss_chset'
> opl3_oss.c:88: structure has no member named `oss_chset'
> opl3_oss.c:99: structure has no member named `oss_chset'
> opl3_oss.c:100: structure has no member named `oss_chset'
> opl3_oss.c:106: structure has no member named `oss_chset'
> opl3_oss.c:107: structure has no member named `oss_chset'
> opl3_oss.c:108: structure has no member named `oss_chset'
> opl3_oss.c: In function `snd_opl3_init_seq_oss':
> opl3_oss.c:118: `snd_seq_oss_reg_t' undeclared (first use in this function)
> opl3_oss.c:118: (Each undeclared identifier is reported only once
> opl3_oss.c:118: for each function it appears in.)
> opl3_oss.c:118: `arg' undeclared (first use in this function)
> opl3_oss.c:121: `SNDRV_SEQ_DEV_ID_OSS' undeclared (first use in this
> function) opl3_oss.c:125: structure has no member named `oss_seq_dev'
> opl3_oss.c:129: `SYNTH_TYPE_FM' undeclared (first use in this function)
> opl3_oss.c:131: `FM_TYPE_ADLIB' undeclared (first use in this function)
> opl3_oss.c:134: `FM_TYPE_OPL3' undeclared (first use in this function)
> opl3_oss.c: In function `snd_opl3_free_seq_oss':
> opl3_oss.c:149: structure has no member named `oss_seq_dev'
> opl3_oss.c:150: structure has no member named `oss_seq_dev'
> opl3_oss.c:151: structure has no member named `oss_seq_dev'
> opl3_oss.c: At top level:
> opl3_oss.c:158: parse error before '*' token
> opl3_oss.c:159: warning: function declaration isn't a prototype
> opl3_oss.c: In function `snd_opl3_open_seq_oss':
> opl3_oss.c:160: `closure' undeclared (first use in this function)
> opl3_oss.c:163: `arg' undeclared (first use in this function)
> opl3_oss.c:170: structure has no member named `oss_chset'
> opl3_oss.c:171: structure has no member named `oss_chset'
> opl3_oss.c: At top level:
> opl3_oss.c:181: parse error before '*' token
> opl3_oss.c:182: warning: function declaration isn't a prototype
> opl3_oss.c: In function `snd_opl3_close_seq_oss':
> opl3_oss.c:185: `arg' undeclared (first use in this function)
> opl3_oss.c: At top level:
> opl3_oss.c:210: parse error before '*' token
> opl3_oss.c:212: warning: function declaration isn't a prototype
> opl3_oss.c: In function `snd_opl3_load_patch_seq_oss':
> opl3_oss.c:216: `arg' undeclared (first use in this function)
> opl3_oss.c:219: `format' undeclared (first use in this function)
> opl3_oss.c:219: `FM_PATCH' undeclared (first use in this function)
> opl3_oss.c:219: `OPL3_PATCH' undeclared (first use in this function)
> opl3_oss.c:220: storage size of `sbi' isn't known
> opl3_oss.c:232: `count' undeclared (first use in this function)
> opl3_oss.c:236: `buf' undeclared (first use in this function)
> opl3_oss.c:220: warning: unused variable `sbi'
> opl3_oss.c: At top level:
> opl3_oss.c:323: parse error before '*' token
> opl3_oss.c:325: warning: function declaration isn't a prototype
> opl3_oss.c: In function `snd_opl3_ioctl_seq_oss':
> opl3_oss.c:328: `arg' undeclared (first use in this function)
> opl3_oss.c:330: `cmd' undeclared (first use in this function)
> opl3_oss.c:331: `SNDCTL_FM_LOAD_INSTR' undeclared (first use in this
> function) opl3_oss.c:335: `SNDCTL_SYNTH_MEMAVL' undeclared (first use in
> this function) opl3_oss.c:338: `SNDCTL_FM_4OP_ENABLE' undeclared (first use
> in this function) opl3_oss.c: At top level:
> opl3_oss.c:349: parse error before '*' token
> opl3_oss.c:350: warning: function declaration isn't a prototype
> opl3_oss.c: In function `snd_opl3_reset_seq_oss':
> opl3_oss.c:353: `arg' undeclared (first use in this function)
> make[3]: *** [opl3_oss.o] Error 1
> make[3]: Leaving directory `/usr/src/linux/sound/drivers/opl3'
> make[2]: *** [_modsubdir_opl3] Error 2
> make[2]: Leaving directory `/usr/src/linux/sound/drivers'
> make[1]: *** [_modsubdir_drivers] Error 2
> make[1]: Leaving directory `/usr/src/linux/sound'
> make: *** [_mod_sound] Error 2
>
>
> Hope you guys can detect where the problem is.
>
> Regards
> -Ubaida-

A small bit of extra information from 2.5.14 where I had the same error, but 
only if I compiled ALSA as a module. If I compiled ALSA into the kernel (but 
left the drivers as modules) then it built. Not sure whether that's a usable 
setup.

James
 
-- 
+------------------------+-------------------------------+---------+
| James Tappin           | School of Physics & Astronomy |  O__    |
| sjt@star.sr.bham.ac.uk | University of Birmingham      | --  \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722                  |         |
+--------------------------------------------------------+---------+

      reply	other threads:[~2002-05-10 11:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-10 11:51 opl3_oss error while compiling 2.5.15 Corporal Pisang
2002-05-10 11:58 ` James Tappin [this message]

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=marc-linux-sound-102103213527792@msgid-missing \
    --to=sjt@star.sr.bham.ac.uk \
    --cc=linux-sound@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