LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 699|回复: 3

初来乍到请多关照[mark]

[复制链接]
发表于 2006-6-12 21:58:44 | 显示全部楼层 |阅读模式
拜山拜水拜码头请各位大大    以后多多关照 !!!

才装好gentoo 刚从turbolinux 10D 迁徙过来 系统装了一个星期  感觉gentoo很好  我很喜欢

下面是我emerge ZHCON 时碰到的问题 请帮助~
发表于 2006-6-12 23:04:29 | 显示全部楼层
欢迎加入Gentoo阵营!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-13 01:34:47 | 显示全部楼层
emerge zhcon 出错  。。。

source='uniconinputserver.cpp' object='uniconinputserver.o' libtool=no \
depfile='.deps/uniconinputserver.Po' tmpdepfile='.deps/uniconinputserver.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=k6-2 -pipe -O2 -funsigned-char -march=i586 -DNDEBUG -Wall -c -o uniconinputserver.o `test -f uniconinputserver.cpp || echo './'`uniconinputserver.cpp
source='configserver.cpp' object='configserver.o' libtool=no \
depfile='.deps/configserver.Po' tmpdepfile='.deps/configserver.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=k6-2 -pipe -O2 -funsigned-char -march=i586 -DNDEBUG -Wall -c -o configserver.o `test -f configserver.cpp || echo './'`configserver.cpp
inputmanager.cpp: In member function `bool InputManager:oadImm(ImmInfo&)':
inputmanager.cpp:398: warning: unused variable 'r'
In file included from /usr/include/linux/keyboard.h:14,
                 from inputmanager.cpp:517:
/usr/include/linux/wait.h: In function `int wait_on_bit(void*, int, int (*)(void*), unsigned int)':
/usr/include/linux/wait.h:376: error: invalid conversion from `void*' to `const volatile long unsigned int*'
/usr/include/linux/wait.h:376: error:   initializing argument 2 of `int constant_test_bit(int, const volatile long unsigned int*)'
/usr/include/linux/wait.h:376: error: invalid conversion from `void*' to `const volatile long unsigned int*'
/usr/include/linux/wait.h:376: error:   initializing argument 2 of `int variable_test_bit(int, const volatile long unsigned int*)'
/usr/include/linux/wait.h: In function `int wait_on_bit_lock(void*, int, int (*)(void*), unsigned int)':
/usr/include/linux/wait.h:400: error: invalid conversion from `void*' to `volatile long unsigned int*'
/usr/include/linux/wait.h:400: error:   initializing argument 2 of `int test_and_set_bit(int, volatile long unsigned int*)'
make[3]: *** [inputmanager.o] 错误 1
make[3]: *** 正在等待未完成的任务....
make[3]: Leaving directory `/var/tmp/portage/zhcon-0.2.3-r1/work/zhcon-0.2.3/src'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/var/tmp/portage/zhcon-0.2.3-r1/work/zhcon-0.2.3/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/var/tmp/portage/zhcon-0.2.3-r1/work/zhcon-0.2.3'
make: *** [all] 错误 2

!!! ERROR: app-i18n/zhcon-0.2.3-r1 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message




winchester ~ # emerge --info
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.16-gentoo-r9 i586)
=================================================================
System uname: 2.6.16-gentoo-r9 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=k6-2 -pipe -O2"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k6-2 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp"
LANG="zh_CN.UTF-8"
LC_ALL="zh_CN.UTF-8"
LINGUAS="zh en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cjk cli crypt cups dri eds emboss encode esd exif expat fam foomaticdb fortran gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml idn imlib isdnlog jpeg lcms libg++ libwww mad mikmod mng motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python readline reflection sdl session spl ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis xml xml2 xmms xorg xv zlib linguas_zh linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-14 10:35:17 | 显示全部楼层
1.open  /usr/include/linux/wait.h
2.replace  "bit,word"  by "bit,(volatile long unsigned int *)word"
3.emerge  zhcon
4.succeed !

refer to  http://www.linuxsir.cn/bbs/showt ... amp;highlight=zhcon
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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