All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zenaan Harkness <zen@getsystems.com>
To: Zenaan Harkness <zen@getsystems.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: can't compile
Date: 23 Sep 2002 10:00:04 +1100	[thread overview]
Message-ID: <1032735604.473.34.camel@zen8100a> (raw)
In-Reply-To: <1032676882.752.116.camel@zen8100a>

Sorry if the list admin sends this through again - I didn't realise the
list was moderated, or I would have joined before sending. Anyway, my
problem report for compiling is below. Hoping someone can help.


On Sun, 2002-09-22 at 17:41, Zenaan Harkness wrote:
> I have kernel 2.4.19 + low latency patch.
> 
> Debian GNU/Linux testing/ sarge.
> 
> Here is compile error when I try to compile alsa-driver:
> 
> gcc -DALSA_BUILD -D__KERNEL__ -DMODULE=1
> -I/src/build/alsa-driver-0.9.0rc3/include -I/usr/src/linux/include -O2
> -mpreferred-stack-boundary=2 -march=i686 -DLINUX -Wall
> -Wstrict-prototypes -fomit-frame-pointer -pipe 
> -DKBUILD_BASENAME=als100   -c -o als100.o als100.c
> In file included from
> /src/build/alsa-driver-0.9.0rc3/include/adriver.h:124,
>                  from
> /src/build/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
>                  from ../alsa-kernel/isa/als100.c:23,
>                  from als100.c:1:
> /src/build/alsa-driver-0.9.0rc3/include/linux/isapnp.h:334: warning:
> `struct isapnp_card_id' declared inside parameter list
> /src/build/alsa-driver-0.9.0rc3/include/linux/isapnp.h:334: warning: its
> scope is only this definition or declaration, which is probably not what
> you want.
> In file included from als100.c:1:
> ../alsa-kernel/isa/als100.c:121: elements of array `snd_als100_pnpids'
> have incomplete type
> ../alsa-kernel/isa/als100.c:123: warning: implicit declaration of
> function `ISAPNP_CARD_ID'
> ../alsa-kernel/isa/als100.c:123: warning: excess elements in struct
> initializer
> ../alsa-kernel/isa/als100.c:123: warning: (near initialization for
> `snd_als100_pnpids[0]')
> ../alsa-kernel/isa/als100.c:123: unknown field `devs' specified in
> initializer
> ../alsa-kernel/isa/als100.c:123: extra brace group at end of initializer
> ../alsa-kernel/isa/als100.c:123: (near initialization for
> `snd_als100_pnpids[0]')
> ../alsa-kernel/isa/als100.c:123: warning: implicit declaration of
> function `ISAPNP_DEVICE_ID'
> ../alsa-kernel/isa/als100.c:123: warning: excess elements in struct
> initializer
> ../alsa-kernel/isa/als100.c:123: warning: (near initialization for
> `snd_als100_pnpids[0]')
> ../alsa-kernel/isa/als100.c:125: warning: excess elements in struct
> initializer
> ../alsa-kernel/isa/als100.c:125: warning: (near initialization for
> `snd_als100_pnpids[1]')
> ../alsa-kernel/isa/als100.c:125: unknown field `devs' specified in
> initializer
> ../alsa-kernel/isa/als100.c:125: extra brace group at end of initializer
> ../alsa-kernel/isa/als100.c:125: (near initialization for
> `snd_als100_pnpids[1]')
> ../alsa-kernel/isa/als100.c:125: warning: excess elements in struct
> initializer
> ../alsa-kernel/isa/als100.c:125: warning: (near initialization for
> `snd_als100_pnpids[1]')
> ../alsa-kernel/isa/als100.c:127: warning: excess elements in struct
> initializer
> ../alsa-kernel/isa/als100.c:127: warning: (near initialization for
> `snd_als100_pnpids[2]')
> ../alsa-kernel/isa/als100.c:127: unknown field `devs' specified in
> initializer
> ../alsa-kernel/isa/als100.c:127: extra brace group at end of initializer
> ../alsa-kernel/isa/als100.c:127: (near initialization for
> `snd_als100_pnpids[2]')
> ../alsa-kernel/isa/als100.c:127: warning: excess elements in struct
> initializer
> ../alsa-kernel/isa/als100.c:127: warning: (near initialization for
> `snd_als100_pnpids[2]')
> ../alsa-kernel/isa/als100.c:129: warning: excess elements in struct
> initializer
> ../alsa-kernel/isa/als100.c:129: warning: (near initialization for
> `snd_als100_pnpids[3]')
> ../alsa-kernel/isa/als100.c:129: unknown field `devs' specified in
> initializer
> ../alsa-kernel/isa/als100.c:129: extra brace group at end of initializer
> ../alsa-kernel/isa/als100.c:129: (near initialization for
> `snd_als100_pnpids[3]')
> ../alsa-kernel/isa/als100.c:129: warning: excess elements in struct
> initializer
> ../alsa-kernel/isa/als100.c:129: warning: (near initialization for
> `snd_als100_pnpids[3]')
> ../alsa-kernel/isa/als100.c:131: warning: excess elements in struct
> initializer
> ../alsa-kernel/isa/als100.c:131: warning: (near initialization for
> `snd_als100_pnpids[4]')
> ../alsa-kernel/isa/als100.c:131: unknown field `devs' specified in
> initializer
> ../alsa-kernel/isa/als100.c:131: extra brace group at end of initializer
> ../alsa-kernel/isa/als100.c:131: (near initialization for
> `snd_als100_pnpids[4]')
> ../alsa-kernel/isa/als100.c:131: warning: excess elements in struct
> initializer
> ../alsa-kernel/isa/als100.c:131: warning: (near initialization for
> `snd_als100_pnpids[4]')
> ../alsa-kernel/isa/als100.c:132: `ISAPNP_CARD_END' undeclared here (not
> in a function)
> ../alsa-kernel/isa/als100.c:132: warning: excess elements in struct
> initializer
> ../alsa-kernel/isa/als100.c:132: warning: (near initialization for
> `snd_als100_pnpids[5]')
> ../alsa-kernel/isa/als100.c:133: invalid use of undefined type `struct
> isapnp_card_id'
> ../alsa-kernel/isa/als100.c:135: warning: type defaults to `int' in
> declaration of `ISAPNP_CARD_TABLE'
> ../alsa-kernel/isa/als100.c:135: warning: parameter names (without
> types) in function declaration
> ../alsa-kernel/isa/als100.c:135: warning: data definition has no type or
> storage class
> ../alsa-kernel/isa/als100.c: In function `snd_card_als100_isapnp':
> ../alsa-kernel/isa/als100.c:149: dereferencing pointer to incomplete
> type
> ../alsa-kernel/isa/als100.c:149: dereferencing pointer to incomplete
> type
> ../alsa-kernel/isa/als100.c:154: dereferencing pointer to incomplete
> type
> ../alsa-kernel/isa/als100.c:154: dereferencing pointer to incomplete
> type
> ../alsa-kernel/isa/als100.c:159: dereferencing pointer to incomplete
> type
> ../alsa-kernel/isa/als100.c:159: dereferencing pointer to incomplete
> type
> ../alsa-kernel/isa/als100.c: In function `alsa_card_als100_init':
> ../alsa-kernel/isa/als100.c:371: warning: passing arg 1 of
> `isapnp_probe_cards_R1d966f40' from incompatible pointer type
> ../alsa-kernel/isa/als100.c:371: warning: passing arg 2 of
> `isapnp_probe_cards_R1d966f40' from incompatible pointer type
> make[1]: *** [als100.o] Error 1
> make[1]: Leaving directory `/src/build/alsa-driver-0.9.0rc3/isa'
> make: *** [compile] Error 1
> 
> -----------------
> Here is my compile command:
> /src/build/alsa-driver-0.9.0rc3# make install
> 
> -----------------
> I have a hammerfall RME 9652 so I don't need to compile isa drivers. It
> would be convenient to compile a drive for the on-board Intel sound:
> output from cat /proc/pci:
> 
>   Bus  0, device  31, function  5:
>     Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio
> (rev 5).
>       IRQ 5.
>       I/O at 0x1c00 [0x1cff].
>       I/O at 0x1840 [0x187f].
> 
> --------------
> uname -a:
> Linux myhost 2.4.19 #1 Fri Sep 20 21:18:31 VUT 2002 i686 unknown
> 
> TIA
> Zen



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

       reply	other threads:[~2002-09-22 23:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1032676882.752.116.camel@zen8100a>
2002-09-22 23:00 ` Zenaan Harkness [this message]
2002-09-23 13:10   ` can't compile Frans Ketelaars
2002-09-23 23:43     ` Zenaan Harkness
2003-02-24 21:06 Michal Semler
  -- strict thread matches above, loose matches on Subject: below --
2005-02-01 10:50 zhiyi6
2005-05-19  6:23 Can't compile Boris de Laage
2005-05-19  6:23 ` Mark D. Studebaker
2005-05-19  6:23 ` phil

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=1032735604.473.34.camel@zen8100a \
    --to=zen@getsystems.com \
    --cc=alsa-devel@lists.sourceforge.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.