* can't compile
[not found] <1032676882.752.116.camel@zen8100a>
@ 2002-09-22 23:00 ` Zenaan Harkness
2002-09-23 13:10 ` Frans Ketelaars
0 siblings, 1 reply; 8+ messages in thread
From: Zenaan Harkness @ 2002-09-22 23:00 UTC (permalink / raw)
To: Zenaan Harkness; +Cc: alsa-devel
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: can't compile
2002-09-22 23:00 ` Zenaan Harkness
@ 2002-09-23 13:10 ` Frans Ketelaars
2002-09-23 23:43 ` Zenaan Harkness
0 siblings, 1 reply; 8+ messages in thread
From: Frans Ketelaars @ 2002-09-23 13:10 UTC (permalink / raw)
To: alsa-devel
On 23 Sep 2002 10:00:04 +1100
Zenaan Harkness <zen@getsystems.com> 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.
>
>
> 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
<snip>
> > 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
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: can't compile
2002-09-23 13:10 ` Frans Ketelaars
@ 2002-09-23 23:43 ` Zenaan Harkness
0 siblings, 0 replies; 8+ messages in thread
From: Zenaan Harkness @ 2002-09-23 23:43 UTC (permalink / raw)
To: Frans Ketelaars; +Cc: alsa-devel
Yes, that's it.
On Tue, 2002-09-24 at 00:10, Frans Ketelaars wrote:
> On 23 Sep 2002 10:00:04 +1100
> > > 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* can't compile
@ 2003-02-24 21:06 Michal Semler
0 siblings, 0 replies; 8+ messages in thread
From: Michal Semler @ 2003-02-24 21:06 UTC (permalink / raw)
To: rmk; +Cc: linux-kernel
Hello,
I wanted compile my own kernel for iPAQ 3630 - 2.4.21 - because of new
Bluetooth rfcomm.o support and other things, but I can't go nor through
menuconfig :( My original platform is i386 (Intel Pentium III) - debian woody
3.0r1
Liboc01:/usr/src/linux# make menuconfig ARCH=arm
rm -f include/asm-arm/arch include/asm-arm/proc
(cd include/asm-arm; ln -sf arch- arch; ln -sf proc- proc)
rm -f include/asm
( cd include ; ln -sf asm-arm asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux-2.4.20/scripts/lxdialog'
make[1]: Leaving directory `/usr/src/linux-2.4.20/scripts/lxdialog'
/bin/sh scripts/Menuconfig arch/arm/config.in
Using defaults found in arch/arm/defconfig
Preparing scripts: functions, parsingscripts/Menuconfig: line 1: 820
Segmentation fault awk "$1"
Awk died with error code 139. Giving up.
make: *** [menuconfig] Error 1
ARCH=ppc for example goes right
problem under 2.4.19, 2.4.20, 2.4.21-pre4 - older kernels I didn't tried
Michal
^ permalink raw reply [flat|nested] 8+ messages in thread
* can't compile
@ 2005-02-01 10:50 zhiyi6
0 siblings, 0 replies; 8+ messages in thread
From: zhiyi6 @ 2005-02-01 10:50 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 1332 bytes --]
Hi, I am a newbie in Xen. I just downloaded the source using bitkeeper. When
I tried to compile the source, I got the following error message:
make[3]: Entering directory `/usr/src/xen-2.0.bk/xen/common'
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix
include -Wall -Werror -pipe -I/usr/src/xen-2.0.bk/xen/include -Wno-pointer-arith
-Wredundant-decls -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686
-DNDEBUG -c ac_timer.c -o ac_timer.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix
include -Wall -Werror -pipe -I/usr/src/xen-2.0.bk/xen/include -Wno-pointer-arith
-Wredundant-decls -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686
-DNDEBUG -c dom0_ops.c -o dom0_ops.o
dom0_ops.c: In function `do_dom0_op':
/usr/src/xen-2.0.bk/xen/include/asm/mm.h:160: error: can't find a register
in class `BREG' while reloading `asm'
/usr/src/xen-2.0.bk/xen/include/asm/mm.h:160: error: can't find a register
in class `BREG' while reloading `asm'
make[3]: *** [dom0_ops.o] Error 1
make[3]: Leaving directory `/usr/src/xen-2.0.bk/xen/common'
make[2]: *** [/usr/src/xen-2.0.bk/xen/xen] Error 2
make[2]: Leaving directory `/usr/src/xen-2.0.bk/xen'
make[1]: *** [xen] Error 2
make[1]: Leaving directory `/usr/src/xen-2.0.bk'
make: *** [world] Error 2
SOS:)
[-- Attachment #2: Type: message/rfc822, Size: 2880 bytes --]
From: xen-devel-request@lists.sourceforge.net
To: zhiyi6@bluewin.ch
Subject: Welcome to the "Xen-devel" mailing list (Digest mode)
Date: Tue, 01 Feb 2005 02:24:01 -0800
Message-ID: <20050201102401.33BC488E7E@sc8-sf-spam1.sourceforge.net>
Welcome to the Xen-devel@lists.sourceforge.net mailing list!
To post to this list, send your email to:
xen-devel@lists.sourceforge.net
General information about the mailing list is at:
https://lists.sourceforge.net/lists/listinfo/xen-devel
If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:
https://lists.sourceforge.net/lists/options/xen-devel/zhiyi6%40bluewin.ch
You can also make such adjustments via email by sending a message to:
Xen-devel-request@lists.sourceforge.net
with the word `help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.
You must know your password to change your options (including changing
the password, itself) or to unsubscribe. It is:
hzyhzy
If you forget your password, don't worry, you will receive a monthly
reminder telling you what all your lists.sourceforge.net mailing list
passwords are, and how to unsubscribe or change your options. There
is also a button on your options page that will email your current
password to you.
You may also have your password mailed to you automatically off of the
Web page noted above.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Can't compile.
@ 2005-05-19 6:23 Boris de Laage
2005-05-19 6:23 ` Mark D. Studebaker
2005-05-19 6:23 ` phil
0 siblings, 2 replies; 8+ messages in thread
From: Boris de Laage @ 2005-05-19 6:23 UTC (permalink / raw)
To: lm-sensors
I can't compile the I2C modules:
gcc -I/usr/src/linux/include -O2 -DLM_SENSORS -D__KERNEL__ -DMODULE
-fomit-frame-pointer -DEXPORT_SYMTAB -c kernel/i2c-core.c -o kernel/i2c-core.o
In file included from /usr/src/linux/include/linux/module.h:21,
from kernel/i2c-core.c:25:
/usr/include/linux/modversions.h:1:2: #error Modules should never use
kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an
appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or
similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname
-r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the
currently-running kernel.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Can't compile.
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
1 sibling, 0 replies; 8+ messages in thread
From: Mark D. Studebaker @ 2005-05-19 6:23 UTC (permalink / raw)
To: lm-sensors
Haven't seen this before.
What kernel are you compiling against?
I don't see this in include/linux/modversions.h in
kernel 2.4.14.
mds
Boris de Laage wrote:
>
> I can't compile the I2C modules:
>
> gcc -I/usr/src/linux/include -O2 -DLM_SENSORS -D__KERNEL__ -DMODULE
> -fomit-frame-pointer -DEXPORT_SYMTAB -c kernel/i2c-core.c -o kernel/i2c-core.o
> In file included from /usr/src/linux/include/linux/module.h:21,
> from kernel/i2c-core.c:25:
> /usr/include/linux/modversions.h:1:2: #error Modules should never use
> kernel-headers system headers,
> /usr/include/linux/modversions.h:2:2: #error but rather headers from an
> appropriate kernel-source package.
> /usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or
> similar) to
> /usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname
> -r)/build/include
> /usr/include/linux/modversions.h:5:2: #error to build against the
> currently-running kernel.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Can't compile.
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
1 sibling, 0 replies; 8+ messages in thread
From: phil @ 2005-05-19 6:23 UTC (permalink / raw)
To: lm-sensors
I've seen this before... I think it happens when CONFIG_MODVERSIONS is
not set or if the makefile for the modules is making the wrong
assumption on versioning... something like that...
Phil
On Sun, Nov 11, 2001 at 09:29:09PM -0500, Mark D. Studebaker wrote:
> Haven't seen this before.
> What kernel are you compiling against?
> I don't see this in include/linux/modversions.h in
> kernel 2.4.14.
>
> mds
>
>
>
> Boris de Laage wrote:
> >
> > I can't compile the I2C modules:
> >
> > gcc -I/usr/src/linux/include -O2 -DLM_SENSORS -D__KERNEL__ -DMODULE
> > -fomit-frame-pointer -DEXPORT_SYMTAB -c kernel/i2c-core.c -o kernel/i2c-core.o
> > In file included from /usr/src/linux/include/linux/module.h:21,
> > from kernel/i2c-core.c:25:
> > /usr/include/linux/modversions.h:1:2: #error Modules should never use
> > kernel-headers system headers,
> > /usr/include/linux/modversions.h:2:2: #error but rather headers from an
> > appropriate kernel-source package.
> > /usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or
> > similar) to
> > /usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname
> > -r)/build/include
> > /usr/include/linux/modversions.h:5:2: #error to build against the
> > currently-running kernel.
--
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
phil@netroedge.com -- http://www.netroedge.com/~phil
PGP F16: 01 D2 FD 01 B5 46 F4 F0 3A 8B 9D 7E 14 7F FB 7A
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-05-19 6:23 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-01 10:50 can't compile zhiyi6
-- strict thread matches above, loose matches on Subject: below --
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
2003-02-24 21:06 can't compile Michal Semler
[not found] <1032676882.752.116.camel@zen8100a>
2002-09-22 23:00 ` Zenaan Harkness
2002-09-23 13:10 ` Frans Ketelaars
2002-09-23 23:43 ` Zenaan Harkness
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.