Skip to contentSkip to conversation

can't compile

DISCUSSION Zenaan Harkness 2 participants 3 messages Sep 22, 2002 – Sep 23, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1032676882.752.116.camel@zen8100a

#1 lore raw

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.

Quoted 146 lines · Zenaan Harkness

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

(quoted diff) +0 -4
-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].
Quoted 6 lines

--------------
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

#2 lore raw
Quoted 31 lines · On 23 Sep 2002 10:00:04 +1100 Zenaan Harkness <[email protected]> wrote:

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.

Quoted 25 lines · Zenaan Harkness

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

(quoted diff) +0 -4
-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

<snip>

Quoted 20 lines
Quoted 20 lines

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].
Quoted 6 lines
Quoted 6 lines

--------------
uname -a:
Linux myhost 2.4.19 #1 Fri Sep 20 21:18:31 VUT 2002 i686 unknown

TIA
Zen

See http://www.alsa-project.org/ :

Latest News page 1 of 4 2002-08-22 Note for compiling alsa-driver-0.9.0rc3:
Please remove the file - alsa-driver-0.9.0rc3/include/linux/isapnp.h - before
running the configure script.

HTH,

-Frans

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

#3 lore raw

Yes, that's it.

Quoted 10 lines · Frans Ketelaars

On 23 Sep 2002 10:00:04 +1100

Quoted 2 lines
Quoted 2 lines

TIA
Zen

See http://www.alsa-project.org/ :

Latest News page 1 of 4 2002-08-22 Note for compiling alsa-driver-0.9.0rc3:
Please remove the file - alsa-driver-0.9.0rc3/include/linux/isapnp.h - before
running the configure script.

I'd compiled it on another machine multiple times, so I didn't think to go check the web page again. Thanks to all,

Zen

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