* compilation error
@ 2000-09-25 13:06 bryan
2000-09-25 13:40 ` Richard June
0 siblings, 1 reply; 2+ messages in thread
From: bryan @ 2000-09-25 13:06 UTC (permalink / raw)
To: axp-list
I got the following error when compiling the new i2c package:
> In file included from /usr/src/linux/include/asm/semaphore.h:11,
> from /usr/src/linux/include/linux/sched.h:17,
> from /usr/src/linux/include/linux/mm.h:4,
> from /usr/src/linux/include/linux/slab.h:14,
> from /usr/src/linux/include/linux/malloc.h:4,
> from kernel/i2c-core.c:28:
> /usr/src/linux/include/asm/current.h:4: global register variable follows a function definition
> /usr/src/linux/include/asm/current.h:4: warning: call-clobbered register used for global register variable
> make: *** [kernel/i2c-core.o] Error 1
To my untrained eye, this looks like a kernel bug, but besides
being unlikely in the first place, I got the same thing with
kernels RH 2.2.16-3 and vanilla 2.2.17.
Can someone explain what's going on, and how I might deal
with it?
Thanks in advance.
--
Bryan Medsker
bryan@ak.net
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: compilation error
2000-09-25 13:06 compilation error bryan
@ 2000-09-25 13:40 ` Richard June
0 siblings, 0 replies; 2+ messages in thread
From: Richard June @ 2000-09-25 13:40 UTC (permalink / raw)
To: axp-list
I ran into this as well, I don't know what caused it, however adding this
#include<asm/current.h>
before anything else got it to compile
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-09-25 13:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-25 13:06 compilation error bryan
2000-09-25 13:40 ` Richard June
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox