|
楼主 |
发表于 2002-7-4 21:54:13
|
显示全部楼层
[root@localhost root]# cd /root/Desktop/driver
[root@localhost driver]# make clean
cd coredrv; make clean
make[1]: Entering directory `/root/Desktop/driver/coredrv'
rm -f *.o *~ core
make[1]: Leaving directory `/root/Desktop/driver/coredrv'
cd serialdrv; make clean
make[1]: Entering directory `/root/Desktop/driver/serialdrv'
rm -f *.o *~ core
make[1]: Leaving directory `/root/Desktop/driver/serialdrv'
rm -f ham.o
rm -f hamcore.o
[root@localhost driver]# make all
cd coredrv; make ham;
make[1]: Entering directory `/root/Desktop/driver/coredrv'
cc -DLINUX -Wall -O -I /usr/src/linux/include -I../inc -c -o coredrv.o coredr
v.c
In file included from /usr/include/linux/sched.h:14,
from /usr/include/linux/delay.h:12,
from coredrv.c:34:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from /usr/include/linux/delay.h:12,
from coredrv.c:34:
/usr/include/asm/signal.h:107: parse error before `sigset_t'
/usr/include/asm/signal.h:107: warning: no semicolon at end of struct or union
/usr/include/asm/signal.h:110: parse error before `}'
In file included from /usr/include/linux/timer.h:18,
from /usr/include/linux/sched.h:81,
from /usr/include/linux/delay.h:12,
from coredrv.c:34:
/usr/include/linux/spinlock.h:131: parse error before `*'
In file included from coredrv.c:36:
/usr/include/linux/proc_fs.h:50: warning: `struct file' declared inside paramete
r list
/usr/include/linux/proc_fs.h:50: warning: its scope is only this definition or d
eclaration, which is probably not what you want.
/usr/include/linux/proc_fs.h:70: parse error before `atomic_t'
/usr/include/linux/proc_fs.h:70: warning: no semicolon at end of struct or union
/usr/include/linux/proc_fs.h:73: parse error before `}'
/usr/include/linux/proc_fs.h:199: warning: `struct tty_driver' declared inside p
arameter list
以上就是我在make all时的情况 |
|