LinuxSir.cn,穿越时空的Linuxsir!

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

scim compile error under gcc 3.4.1

[复制链接]
发表于 2004-7-12 20:11:56 | 显示全部楼层 |阅读模式
scim_utility.cpp: In function `void scim::scim_usleep(unsigned int)':
scim_utility.cpp:1060: error: `errno' undeclared (first use this function)
scim_utility.cpp:1060: error: (Each undeclared identifier is reported only once for each function it appears in.)
scim_utility.cpp:1060: error: `EINTR' undeclared (first use this function)
make[2]: *** [scim_utility.lo] Error 1
make[2]: Leaving directory `/mnt/storage/cache/abs/local/scim/src/scim-0.99.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/storage/cache/abs/local/scim/src/scim-0.99.3'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...


James please give me any clue, thanks.
发表于 2004-7-12 22:15:33 | 显示全部楼层
It's my fault. Please add #include<errno.h> into scim_utility.cpp.

But gcc 3.3.x can compile this file without this line.
 楼主| 发表于 2004-7-13 12:06:42 | 显示全部楼层
Thanks, I will diff it.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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