QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 589|回复: 0

假如有这么一天

[复制链接]
发表于 2003-4-22 00:00:57 | 显示全部楼层 |阅读模式
[root@localhost Linux]#   我不久前装了Redhat8.0,好在系统还能识别我的显卡和声卡,但是我那“猫”就不能用了,我按照那“猫”的说明书试着在Redhat8.0装驱动,但是以前没装过,周围有没有人会装,也不知道装得没有,用Kppp来测试一下,就出现:Sorry, the modem is buys.   也不知道是什么问题,下面是我在装驱动时所出现的画面。那位不惜请教的话请发电子邮件到
[email protected]
也不知道下面这些有没有用
root@localhost root]# ln -s /usr/src/linux2.4.18 /usr/src/linux
[root@localhost root]# ls
anaconda-ks.cfg install.log install.log.syslog Linux
[root@localhost root]# cd linux
bash: cd: linux: No such file or directory
[root@localhost root]# cd Linux
[root@localhost Linux]# ls
536ep-boot 536ep-inst coredrv hamregistry inc license.txt makefile readme.txt serialdrv vssver.scc
[root@localhost Linux]# make clean
cd coredrv; make clean
make[1]: Entering directory `/root/Linux/coredrv'
rm -f *.o *~ core
make[1]: Leaving directory `/root/Linux/coredrv'
cd serialdrv; make clean
make[1]: Entering directory `/root/Linux/serialdrv'
rm -f *.o *~ core
make[1]: Leaving directory `/root/Linux/serialdrv'
rm -f *.o
rm -f *.o
[root@localhost Linux]# make 536ep
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi
cd coredrv; make \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
536ep;
make[1]: Entering directory `/root/Linux/coredrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o coredrv.o coredrv.c
In file included from ../inc/hamdefs.h:92,
from ../inc/hamcore.h:39,
from coredrv.c:33:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /usr/include/linux/fs.h:23,
from /usr/include/linux/capability.h:17,
from /usr/include/linux/binfmts.h:5,
from /usr/include/linux/sched.h:9,
from /usr/include/linux/delay.h:12,
from coredrv.c:34:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
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:110: parse error before '}' token
In file included from /usr/include/linux/sched.h:81,
from /usr/include/linux/delay.h:12,
from coredrv.c:34:
/usr/include/linux/timer.h:45: parse error before "spinlock_t"
/usr/include/linux/timer.h:53: parse error before '}' token
/usr/include/linux/timer.h:67: parse error before "tvec_base_t"
/usr/include/linux/timer.h:101: parse error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: dereferencing pointer to incomplete type
In file included from coredrv.c:34:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
In file included from coredrv.c:36:
/usr/include/linux/proc_fs.h: At top level:
/usr/include/linux/proc_fs.h:70: parse error before "atomic_t"
/usr/include/linux/proc_fs.h:73: parse error before '}' token
/usr/include/linux/proc_fs.h:203: parse error before "void"
coredrv.c:48: parse error before "config_must_be_included_before_module"
coredrv.c:48: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
coredrv.c:48: warning: data definition has no type or storage class
coredrv.c:49: parse error before "config_must_be_included_before_module"
coredrv.c:49: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
coredrv.c:49: warning: data definition has no type or storage class
coredrv.c:50: parse error before "config_must_be_included_before_module"
coredrv.c:50: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
coredrv.c:50: warning: data definition has no type or storage class
coredrv.c:51: parse error before "config_must_be_included_before_module"
coredrv.c:51: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
coredrv.c:51: warning: data definition has no type or storage class
coredrv.c:52: parse error before "config_must_be_included_before_module"
coredrv.c:52: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
coredrv.c:52: warning: data definition has no type or storage class
coredrv.c:53: parse error before "config_must_be_included_before_module"
coredrv.c:53: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
coredrv.c:53: warning: data definition has no type or storage class
coredrv.c:54: parse error before "config_must_be_included_before_module"
coredrv.c:54: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
coredrv.c:54: warning: data definition has no type or storage class
coredrv.c:55: parse error before "config_must_be_included_before_module"
coredrv.c:55: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
coredrv.c:55: warning: data definition has no type or storage class
coredrv.c:56: parse error before "config_must_be_included_before_module"
coredrv.c:56: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
coredrv.c:56: warning: data definition has no type or storage class
coredrv.c:57: parse error before "config_must_be_included_before_module"
coredrv.c:57: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
coredrv.c:57: warning: data definition has no type or storage class
coredrv.c:58: parse error before "config_must_be_included_before_module"
coredrv.c:58: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
coredrv.c:58: warning: data definition has no type or storage class
coredrv.c:59: parse error before "config_must_be_included_before_module"
coredrv.c:59: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
coredrv.c:59: warning: data definition has no type or storage class
coredrv.c:60: parse error before "config_must_be_included_before_module"
coredrv.c:60: warning: type defaults to `int' in declaration of
coredrv.c:308: `persistWriteQ' undeclared (first use in this function)
coredrv.c: In function `wake_up_interruptible_persistReadQ':
coredrv.c:313: `persistReadQ' undeclared (first use in this function)
coredrv.c: In function `interruptible_sleep_on_persistReadQ':
coredrv.c:319: warning: implicit declaration of function `interruptible_sleep_on'
coredrv.c:319: `persistReadQ' undeclared (first use in this function)
coredrv.c: In function `interruptible_sleep_on_timeout_persistWriteQ':
coredrv.c:326: warning: implicit declaration of function `interruptible_sleep_on_timeout'
coredrv.c:326: `persistWriteQ' undeclared (first use in this function)
coredrv.c: In function `interruptible_sleep_on_timeout_persistReadQ':
coredrv.c:334: `persistReadQ' undeclared (first use in this function)
coredrv.c: In function `ham_proc_shutdown_wait':
coredrv.c:343: `current' undeclared (first use in this function)
coredrv.c:344: warning: implicit declaration of function `schedule_timeout'
coredrv.c: In function `kCurrentComm':
coredrv.c:360: `current' undeclared (first use in this function)
make[1]: *** [coredrv.o] Error 1
make[1]: Leaving directory `/root/Linux/coredrv'
make: *** [536ep] Error 2
[root@localhost Linux]# make install
bash haminst
haminst: haminst: No such file or directory
make: *** [install] Error 127
[root@localhost Linux]#
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-17 22:33 , Processed in 0.065439 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表