当前时区 GMT+8, 现在时间是 2008-7-6 07:25
游客:
注册
登录
仅登录论坛
|
搜索
帮助
中国Linux公社论坛
»
中文GNOME用户交流区
» garnome2.14编译时的问题..helpme!!
‹‹ 上一主题
|
下一主题 ››
投票
交易
悬赏
活动
打印
|
推荐
|
订阅
|
收藏
标题: garnome2.14编译时的问题..helpme!!
anywherecall
新手上路
UID 214013
精华 0
积分 10
帖子 4
阅读权限 10
注册 2006-3-24
状态 离线
#1
发表于 2006-3-24 04:39
资料
短消息
加为好友
garnome2.14编译时的问题..helpme!!
[===== NOW BUILDING: gamin-0.1.7 =====]
[fetch] complete for gamin.
[checksum] complete for gamin.
[extract] complete for gamin.
[patch] complete for gamin.
[fixup] complete for gamin.
[configure] complete for gamin.
==> Running make in work/main.d/gamin-0.1.7
make[7]: Entering directory `/root/garnome-2.14.0/bootstrap/gamin/work/main.d/gamin-0.1.7'
make all-recursive
make[8]: Entering directory `/root/garnome-2.14.0/bootstrap/gamin/work/main.d/gamin-0.1.7'
Making all in lib
make[9]: Entering directory `/root/garnome-2.14.0/bootstrap/gamin/work/main.d/gamin-0.1.7/lib'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory `/root/garnome-2.14.0/bootstrap/gamin/work/main.d/gamin-0.1.7/lib'
Making all in libgamin
make[9]: Entering directory `/root/garnome-2.14.0/bootstrap/gamin/work/main.d/gamin-0.1.7/libgamin'
if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\""/opt/garnome/libexec"\" -DBUILDDIR=\"".."\" -I/opt/garnome/include -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -O2 -MT gam_data.lo -MD -MP -MF ".deps/gam_data.Tpo" -c -o gam_data.lo gam_data.c; \
then mv -f ".deps/gam_data.Tpo" ".deps/gam_data.Plo"; else rm -f ".deps/gam_data.Tpo"; exit 1; fi
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/opt/garnome/libexec\" -DBUILDDIR=\"..\" -I/opt/garnome/include -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -O2 -MT gam_data.lo -MD -MP -MF .deps/gam_data.Tpo -c gam_data.c -fPIC -DPIC -o .libs/gam_data.o
gam_data.c: In function `gamin_data_new':
gam_data.c:460: `pthread_mutexattr_settype' undeclared (first use in this function)
gam_data.c:460: (Each undeclared identifier is reported only once
gam_data.c:460: for each function it appears in.)
gam_data.c:475: `pthread_mutexattr_settype' used prior to declaration
gam_data.c:475: warning: implicit declaration of function `pthread_mutexattr_settype'
make[9]: *** [gam_data.lo] Error 1
make[9]: Leaving directory `/root/garnome-2.14.0/bootstrap/gamin/work/main.d/gamin-0.1.7/libgamin'
make[8]: *** [all-recursive] Error 1
make[8]: Leaving directory `/root/garnome-2.14.0/bootstrap/gamin/work/main.d/gamin-0.1.7'
make[7]: *** [all] Error 2
make[7]: Leaving directory `/root/garnome-2.14.0/bootstrap/gamin/work/main.d/gamin-0.1.7'
make[6]: *** [build-work/main.d/gamin-0.1.7/Makefile] Error 2
make[6]: Leaving directory `/root/garnome-2.14.0/bootstrap/gamin'
make[5]: *** [../../bootstrap/gamin/cookies/main.d/install] Error 2
make[5]: Leaving directory `/root/garnome-2.14.0/platform/gnome-vfs'
make[4]: *** [../../platform/gnome-vfs/cookies/main.d/install] Error 2
make[4]: Leaving directory `/root/garnome-2.14.0/platform/libgnome'
make[3]: *** [../../platform/libgnome/cookies/main.d/install] Error 2
make[3]: Leaving directory `/root/garnome-2.14.0/platform/libbonoboui'
make[2]: *** [../../platform/libbonoboui/cookies/main.d/install] Error 2
make[2]: Leaving directory `/root/garnome-2.14.0/platform/libgnomeui'
make[1]: *** [../../platform/libgnomeui/cookies/main.d/install] Error 2
make[1]: Leaving directory `/root/garnome-2.14.0/desktop/bug-buddy'
make: *** [paranoid-install] Error 2
怎样解决这个问题....
随便问一下gamin这个东西是干吗的...
郁闷死了。。
yangh
版主
UID 40061
精华
3
积分 3192
帖子 1625
阅读权限 255
注册 2003-5-26
来自 China
状态 离线
#2
发表于 2006-3-24 10:18
资料
主页
短消息
加为好友
gamin 是 fam 的替代工具。 http://www.gnome.org/~veillard/gamin/
pthread_mutexattr_settype 定义在 /usr/include/pthread.h 中,你检查一下代码看看 include 有没有问题。另外连接时需要 -lpthread
GNOME中文用户门户网站
授之于鱼不如授之于渔
由软件文化
||
自由软件不完全手册
||
开源文集
anywherecall
新手上路
UID 214013
精华 0
积分 10
帖子 4
阅读权限 10
注册 2006-3-24
状态 离线
#3
发表于 2006-3-24 11:07
资料
短消息
加为好友
具体一点好伐...
-lpthread 是什么
新手...以前不用Xwindow的...
anywherecall
新手上路
UID 214013
精华 0
积分 10
帖子 4
阅读权限 10
注册 2006-3-24
状态 离线
#4
发表于 2006-3-24 11:16
资料
短消息
加为好友
extern int pthread_mutexattr_settype (pthread_mutexattr_t *_ _attr, int _ _kind)
_ _THROW;
不懂...要怎么改?
anywherecall
新手上路
UID 214013
精华 0
积分 10
帖子 4
阅读权限 10
注册 2006-3-24
状态 离线
#5
发表于 2006-3-24 12:11
资料
短消息
加为好友
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
这样??
投票
交易
悬赏
活动
论坛跳转 ...
> 公告区
> 系统安装
> 硬件配置
> 共创 LINUX 专区
> 新华 LINUX 专区
> Magic Linux技术支持区
> Magic Linux开发培训版
> 中文化与桌面美化
> 桌面使用小技巧
> 命令行使用小技巧与SHELL编程
> 网络工具
> 办公软件
> 多媒体应用
> 游戏乐园
> 服务器与网络安全
> Linux资源共享区
> Debian/LFS/Gentoo专题版
> Linux高质量字体研究
> easyright计算机研究所
> Linux认证考试专题版
> 应用编程技术与项目孵化
> 网站开发技术与项目孵化
> 参与国际开源项目
> 翻译汉化
> 中文GNOME用户交流区
> Skyeye项目专栏
> lumit项目专栏
> eva项目专栏
> fanx项目专栏
> 连连看for Linux项目专栏
> OurLinux杂志专区
> BitStorm项目专栏
> AVS项目专栏
> VirgoFTP项目专栏
> EGui开源项目
> RT-Thread实时操作系统
> 内核源代码阅读交流
> 内核安装和升级
> 嵌入式开发
> 校园行动联盟
> Linux与公社文化杂谈
> 求职与招聘
> 公社接待中心
Powered by
Discuz!
5.5.0
© 2001-2007
Comsenz Inc.
TOP
清除 Cookies
-
联系我们
-
中国Linux公社
-
WAP