-
Notifications
You must be signed in to change notification settings - Fork 727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Centos Install fastsocket Error #15
Comments
现有Fastsocket是base在64位的CentOS-6.5内核上,在32位系统上,我们并没有做过测试。 |
你的gcc版本号是多少? |
[root@localhost kernel]$ gcc -v |
你可以自己生成一个32位的config,目前fastsocket提供的默认config是基于64位的。 |
我在centos 6.5 x_86下面编译安装fastsocket时报了一下错误 请问是什么问题??
[root@bogon kernel]# make defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
*** Default configuration is based on 'i386_defconfig'
configuration written to .config
[root@bogon kernel]# make
scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CC kernel/bounds.s
GEN include/linux/bounds.h
CC arch/x86/kernel/asm-offsets.s
GEN include/asm/asm-offsets.h
CALL scripts/checksyscalls.sh
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
scripts/mod/file2alias.c:797: 警告:‘do_x86cpu_entry’定义后未使用
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/mod/mod-extract
HOSTCC scripts/selinux/genheaders/genheaders
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/kallsyms
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
CC init/main.o
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
CC init/do_mounts.o
CC init/do_mounts_rd.o
cc1: warnings being treated as errors
In file included from include/linux/kmemtrace.h:12,
from include/linux/slub_def.h:13,
from include/linux/slab.h:162,
from include/linux/percpu.h:5,
from include/linux/percpu_counter.h:13,
from include/linux/fs.h:433,
from init/do_mounts_rd.c:3:
include/trace/events/kmem.h:528: 错误:‘struct address_space’在形参表内部声明
include/trace/events/kmem.h:528: 错误:它的作用域仅限于此定义或声明,这可能并不是您想要的
include/trace/events/kmem.h:528: 错误:‘struct address_space’在形参表内部声明
include/trace/events/kmem.h:528: 错误:‘struct address_space’在形参表内部声明
make[1]: *** [init/do_mounts_rd.o] 错误 1
make: *** [init] 错误 2
[root@bogon kernel]# uname -a
Linux bogon 2.6.32-504.1.3.el6.i686 #1 SMP Tue Nov 11 16:30:09 UTC 2014 i686 i686 i386 GNU/Linux
The text was updated successfully, but these errors were encountered: