红联Linux门户
Linux帮助

关于在redhat9.0安装drcom时出现的问题

发布时间:2008-10-06 21:52:05来源:红联作者:muye988
各位大哥
小弟在redhat9.0安装drcom时:
安装libdrcom-0.0-20050423-2通过了,但在安装drcomsuite-0.1.12时
make没有通过了,出现了错误,
那个大哥知道是怎么回事?告诉小弟下,帮小弟解决一下,
谢谢了
以下是:
[root@localhost drcomsuite-0.1.12]# gedit Makefile

(gedit:2410): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified
are supported and host-based authentication failed.
[root@localhost drcomsuite-0.1.12]# make
make -C include
make[1]: Entering directory `/home/tian/文档/drcomsuite-0.1.12/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/tian/文档/drcomsuite-0.1.12/include'
make -C drcomc
make[1]: Entering directory `/home/tian/文档/drcomsuite-0.1.12/drcomc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/tian/文档/drcomsuite-0.1.12/drcomc'
make -C drcomcd
make[1]: Entering directory `/home/tian/文档/drcomsuite-0.1.12/drcomcd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/tian/文档/drcomsuite-0.1.12/drcomcd'
make -C module
make[1]: Entering directory `/home/tian/文档/drcomsuite-0.1.12/module'
make -C Linux
make[2]: Entering directory `/home/tian/文档/drcomsuite-0.1.12/module/Linux'
make -C 2.4.x
make[3]: Entering directory `/home/tian/文档/drcomsuite-0.1.12/module/Linux/2.4.
x'
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tian/文
档/drcomsuite-0.1.12 -I/home/tian/文档/drcomsuite-0.1.12/include -O2 -isystem /l
ib/modules/2.4.20-8/build/include -D__KERNEL__ -DMODULE -c -o proc.o proc.c
In file included from proc.c:4:
/usr/include/linux/proc_fs.h:47: parse error before "off_t"
/usr/include/linux/proc_fs.h:51: parse error before "off_t"
/usr/include/linux/proc_fs.h:57: parse error before "mode_t"
/usr/include/linux/proc_fs.h:58: ISO C forbids data definition with no type or s
torage class
/usr/include/linux/proc_fs.h:59: parse error before "uid"
/usr/include/linux/proc_fs.h:59: ISO C forbids data definition with no type or s
torage class
/usr/include/linux/proc_fs.h:60: parse error before "gid"
/usr/include/linux/proc_fs.h:60: ISO C forbids data definition with no type or s
torage class
/usr/include/linux/proc_fs.h:70: parse error before "count"
/usr/include/linux/proc_fs.h:70: ISO C forbids data definition with no type or s
torage class
/usr/include/linux/proc_fs.h:72: parse error before "rdev"
/usr/include/linux/proc_fs.h:72: ISO C forbids data definition with no type or s
torage class
/usr/include/linux/proc_fs.h:176: parse error before "mode_t"
/usr/include/linux/proc_fs.h: In function `proc_net_create':
/usr/include/linux/proc_fs.h:177: `NULL' undeclared (first use in this function)
/usr/include/linux/proc_fs.h:177: (Each undeclared identifier is reported only o
nce
/usr/include/linux/proc_fs.h:177: for each function it appears in.)
/usr/include/linux/proc_fs.h: At top level:
/usr/include/linux/proc_fs.h:181: parse error before "mode_t"
/usr/include/linux/proc_fs.h: In function `create_proc_entry':
/usr/include/linux/proc_fs.h:181: `NULL' undeclared (first use in this function)
/usr/include/linux/proc_fs.h: In function `proc_symlink':
/usr/include/linux/proc_fs.h:185: `NULL' undeclared (first use in this function)
/usr/include/linux/proc_fs.h: At top level:
/usr/include/linux/proc_fs.h:186: parse error before "mode_t"
/usr/include/linux/proc_fs.h: In function `proc_mknod':
/usr/include/linux/proc_fs.h:187: `NULL' undeclared (first use in this function)
/usr/include/linux/proc_fs.h: In function `proc_mkdir':
/usr/include/linux/proc_fs.h:189: `NULL' undeclared (first use in this function)
/usr/include/linux/proc_fs.h: At top level:
/usr/include/linux/proc_fs.h:192: parse error before "mode_t"
/usr/include/linux/proc_fs.h:193: parse error before "off_t"
/usr/include/linux/proc_fs.h:193: `create_proc_read_entry' declared as function
returning a function
/usr/include/linux/proc_fs.h:196: parse error before "mode_t"
/usr/include/linux/proc_fs.h: In function `create_proc_info_entry':
/usr/include/linux/proc_fs.h:197: `NULL' undeclared (first use in this function)
/usr/include/linux/proc_fs.h: At top level:
/usr/include/linux/proc_fs.h:203: `NULL' used prior to declaration
proc.c:6:25: asm/uaccess.h: 没有那个文件或目录
proc.c:16: warning: `struct file' declared inside parameter list
proc.c:18: warning: `struct file' declared inside parameter list
proc.c:20: warning: `struct file' declared inside parameter list
proc.c:22: warning: `struct file' declared inside parameter list
proc.c:76: warning: `struct file' declared inside parameter list
proc.c:77: conflicting types for `status_write'
proc.c:16: previous declaration of `status_write'
proc.c:90: warning: `struct file' declared inside parameter list
proc.c:91: conflicting types for `auth_write'
proc.c:18: previous declaration of `auth_write'
proc.c:104: warning: `struct file' declared inside parameter list
proc.c:105: conflicting types for `iface_write'
proc.c:20: previous declaration of `iface_write'
proc.c:118: warning: `struct file' declared inside parameter list
proc.c:119: conflicting types for `except_write'
proc.c:22: previous declaration of `except_write'
proc.c: In function `init_proc':
proc.c:134: dereferencing pointer to incomplete type
proc.c:135: dereferencing pointer to incomplete type
proc.c:136: dereferencing pointer to incomplete type
proc.c:137: dereferencing pointer to incomplete type
proc.c:138: dereferencing pointer to incomplete type
proc.c:139: dereferencing pointer to incomplete type
proc.c:140: dereferencing pointer to incomplete type
proc.c:141: dereferencing pointer to incomplete type
proc.c:142: dereferencing pointer to incomplete type
proc.c:143: dereferencing pointer to incomplete type
proc.c:144: dereferencing pointer to incomplete type
proc.c:145: dereferencing pointer to incomplete type
/usr/include/linux/prefetch.h: In function `prefetch':
/usr/include/linux/prefetch.h:43: warning: unused parameter `x'
/usr/include/linux/prefetch.h: In function `prefetchw':
/usr/include/linux/prefetch.h:48: warning: unused parameter `x'
/usr/include/linux/proc_fs.h: In function `proc_net_remove':
/usr/include/linux/proc_fs.h:178: warning: unused parameter `name'
/usr/include/linux/proc_fs.h: In function `remove_proc_entry':
/usr/include/linux/proc_fs.h:183: warning: unused parameter `name'
/usr/include/linux/proc_fs.h:183: warning: unused parameter `parent'
/usr/include/linux/proc_fs.h: In function `proc_symlink':
/usr/include/linux/proc_fs.h:184: warning: unused parameter `name'
/usr/include/linux/proc_fs.h:185: warning: unused parameter `parent'
/usr/include/linux/proc_fs.h:185: warning: unused parameter `dest'
/usr/include/linux/proc_fs.h: In function `proc_mkdir':
/usr/include/linux/proc_fs.h:188: warning: unused parameter `name'
/usr/include/linux/proc_fs.h:189: warning: unused parameter `parent'
/usr/include/linux/proc_fs.h: In function `proc_tty_register_driver':
/usr/include/linux/proc_fs.h:199: warning: unused parameter `driver'
/usr/include/linux/proc_fs.h: In function `proc_tty_unregister_driver':
/usr/include/linux/proc_fs.h:200: warning: unused parameter `driver'
/usr/include/linux/proc_fs.h: At top level:
/usr/include/linux/proc_fs.h:193: warning: `create_proc_read_entry' declared `st
atic' but never defined
make[3]: *** [proc.o] Error 1
make[3]: Leaving directory `/home/tian/文档/drcomsuite-0.1.12/module/Linux/2.4.x
'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/tian/文档/drcomsuite-0.1.12/module/Linux'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tian/文档/drcomsuite-0.1.12/module'
make: *** [module] Error 2
文章评论

共有 3 条评论

  1. ohenochixin 于 2008-10-29 10:10:20发表:

    没有kernel-devel包

  2. muye988 于 2008-10-06 22:53:41发表:

    楼上的什么意思的啊``能不能说详细点的不,本人是纯粹的菜鸟

  3. rtl 于 2008-10-06 22:26:22发表:

    [code]proc.c:6:25: asm/uaccess.h: 没有那个文件或目录[/code]