LinuxSir.cn,穿越时空的Linuxsir!

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

lfs6.5编译fluxbox错误

[复制链接]
发表于 2010-2-12 12:16:40 | 显示全部楼层 |阅读模式
make[4]: Entering directory `/blfs/fluxbox-0.9.15.1/src/FbTk'
if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2  -I/usr/local/include -DSHAPE  -I/usr/X11/include -I/usr/include/freetype2   -MT TextureRender.o -MD -MP -MF ".deps/TextureRender.Tpo" -c -o TextureRender.o TextureRender.cc; \
        then mv -f ".deps/TextureRender.Tpo" ".deps/TextureRender.Po"; else rm -f ".deps/TextureRender.Tpo"; exit 1; fi
TextureRender.cc: In member function 'void FbTk::TextureRender::hgradient()':
TextureRender.cc:1149: error: 'memcpy' was not declared in this scope
TextureRender.cc:1167: error: 'memcpy' was not declared in this scope
TextureRender.cc: In member function 'void FbTk::TextureRender::vgradient()':
TextureRender.cc:1203: error: 'memset' was not declared in this scope
TextureRender.cc:1218: error: 'memset' was not declared in this scope
TextureRender.cc:1239: error: 'memset' was not declared in this scope
make[4]: *** [TextureRender.o] Error 1
make[4]: Leaving directory `/blfs/fluxbox-0.9.15.1/src/FbTk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/blfs/fluxbox-0.9.15.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/blfs/fluxbox-0.9.15.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory


是什么原因引起的那。'memset' 是库函数呀。为什么没有声明?已经安装了GCC。
root [ /blfs/fluxbox-0.9.15.1 ]# gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.4.1/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --disable-bootstrap
Thread model: posix
gcc version 4.4.1 (GCC)
 楼主| 发表于 2010-2-12 12:40:27 | 显示全部楼层
等呀等。我着急的等呀。

今天一个桌面系统都没有建立成功。
回复 支持 反对

使用道具 举报

发表于 2010-2-12 13:20:10 | 显示全部楼层
fluxbox-0.9.x 用 gcc-4.4.x 是不會通過的,換 gcc-4.3.x 就行

新版 fluxbox-1.1.x 不知道行不

要麼換別的 wm 吧,我以前由 fluxbox 改為輕型的 hackebox,現用更輕型的 jwm
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-12 13:46:45 | 显示全部楼层
1.1也不行。郁闷呀。我也改一个。谢谢。
回复 支持 反对

使用道具 举报

发表于 2010-2-12 19:16:33 | 显示全部楼层
lfs-6.5+fluxbox-1.1.1可以
gcc 4.4.1
回复 支持 反对

使用道具 举报

发表于 2010-2-12 21:00:34 | 显示全部楼层
Just tested Fluxbox-1.1.1, it is also OK with gcc-4.5-20100211.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-12 22:46:39 | 显示全部楼层
我在官网上下了一个。 编译了也不行。难道下的不是1.1版本。我也测试一下。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-12 23:40:32 | 显示全部楼层
xauth:  creating new authority file /root/.serverauth.1305
xauth: (argv):1:  bad display name "Linux-Wang:0" in "list" command
xauth: (stdin):1:  bad display name "Linux-Wang:0" in "add" command


X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux 2.6.30.2 i686
Current Operating System: Linux Linux-Wang 2.6.30.2 #3 SMP Tue Feb 9 02:15:43 CST 2010 i686
Build Date: 11 February 2010
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Feb 13 07:37:11 2010
(==) Using config file: "/etc/X11/xorg.conf"
(EE) AIGLX: Screen 0 is not DRI capable
expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightnessDown: line 71 of pc
expected keysym, got XF86KbdBrightnessUp: line 72 of pc
Failed to read: session.ignoreBorder
Setting default value
Failed to read: session.forcePseudoTransparency
Setting default value
Failed to read: session.colorsPerChannel
Setting default value
Failed to read: session.doubleClickInterval
Setting default value
Failed to read: session.tabPadding
Setting default value
Failed to read: session.styleFile
Setting default value
Failed to read: session.styleOverlay
Setting default value
Failed to read: session.slitlistFile
Setting default value
Failed to read: session.appsFile
Setting default value
Failed to read: session.tabsAttachArea
Setting default value
Failed to read: session.cacheLife
Setting default value
Failed to read: session.cacheMax
Setting default value
Failed to read: session.autoRaiseDelay
Setting default value



启动信息,但是只有一个鼠标?我晕倒了。今天真的能不好了。
回复 支持 反对

使用道具 举报

发表于 2010-2-13 11:15:58 | 显示全部楼层
看来lfs还不少啊,我也加入进来
回复 支持 反对

使用道具 举报

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

本版积分规则

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