[epic] Bad compile for epic100
Kent Jefferies
jkjefferies@gmpexpress.net
Thu Mar 21 12:07:02 2002
--Compile line
gcc -c epic100.c -DMODULE -I/usr/src/linux/include -Wall
-Wstrict-prototypes -O6 -o epic100.o
--Rresults
In file included from epic100.c:97:
/usr/src/linux/include/linux/interrupt.h:10: warning: `struct pt_regs'
declared inside parameter list
/usr/src/linux/include/linux/interrupt.h:10: warning: its scope is only
this definition or declaration, which is probably not what you want.
In file included from /usr/src/linux/include/linux/interrupt.h:52,
from epic100.c:97:
/usr/src/linux/include/asm/hardirq.h: In function `release_irqlock':
/usr/src/linux/include/asm/hardirq.h:37: `NO_PROC_ID' undeclared (first
use in this function)
/usr/src/linux/include/asm/hardirq.h:37: (Each undeclared identifier is
reported only once
/usr/src/linux/include/asm/hardirq.h:37: for each function it appears
in.)
In file included from /usr/src/linux/include/linux/interrupt.h:53,
from epic100.c:97:
/usr/src/linux/include/asm/softirq.h: At top level:
/usr/src/linux/include/asm/softirq.h:13: parse error before
`i386_bh_lock_Rsmp_d084430b'
/usr/src/linux/include/asm/softirq.h:13: warning: type defaults to `int'
in declaration of `i386_bh_lock_Rsmp_d084430b'
/usr/src/linux/include/asm/softirq.h:13: warning: data definition has no
type or storage class
/usr/src/linux/include/asm/softirq.h: In function `init_bh':
/usr/src/linux/include/asm/softirq.h:86: warning: implicit declaration
of function `spin_lock_irqsave'
/usr/src/linux/include/asm/softirq.h:88: warning: implicit declaration
of function `spin_unlock_irqrestore'
make: *** [epic] Error 1