分页: 1 / 1

安装软件时出问题了

发表于 : 2013-03-21 15:17
悬崖勒马2011
./configure还没问题
然后
root@yao-Lenovo:/eclipse-5.0.0# make
configuring qfits...
compiled sysconf successfully
detecting local OS............. Linux 3.2.0-23-generic-pae - linux
detected x86 architecture...... 686
computing bits per byte........ 8
detecting byte-order........... little endian (intel)
looking for a C compiler....... using [/usr/bin/gcc]
all optimizations on
static library................. yes
shared library................. no
setting installation prefix as: [/usr/local]
detecting basic size types
sizeof(char)................... 1
sizeof(short).................. 2
sizeof(int).................... 4
sizeof(long)................... 4
sizeof(float).................. 4
sizeof(double)................. 8
done
make[1]: 正在进入目录 `/eclipse-5.0.0/qfits'
compiling src/xmemory.c ...
In file included from /usr/include/fcntl.h:252:0,
from src/xmemory.c:39:
在函数‘open’中,
内联自‘xmemory_malloc’于 src/xmemory.c:595:16:
/usr/include/i386-linux-gnu/bits/fcntl2.h:51:24: 错误: 调用‘__open_missing_mode’,声明有错误属性:open with O_CREAT in second argument needs 3 arguments
make[1]: *** [src/xmemory.o] 错误 1
make[1]:正在离开目录 `/eclipse-5.0.0/qfits'
make: *** [pkg_qfits] 错误 2

make出问题了

发表于 : 2013-03-21 15:19
悬崖勒马2011
root@yao-Lenovo:/eclipse-5.0.0# make
configuring qfits...
compiled sysconf successfully
detecting local OS............. Linux 3.2.0-23-generic-pae - linux
detected x86 architecture...... 686
computing bits per byte........ 8
detecting byte-order........... little endian (intel)
looking for a C compiler....... using [/usr/bin/gcc]
all optimizations on
static library................. yes
shared library................. no
setting installation prefix as: [/usr/local]
detecting basic size types
sizeof(char)................... 1
sizeof(short).................. 2
sizeof(int).................... 4
sizeof(long)................... 4
sizeof(float).................. 4
sizeof(double)................. 8
done
make[1]: 正在进入目录 `/eclipse-5.0.0/qfits'
compiling src/xmemory.c ...
In file included from /usr/include/fcntl.h:252:0,
from src/xmemory.c:39:
在函数‘open’中,
内联自‘xmemory_malloc’于 src/xmemory.c:595:16:
/usr/include/i386-linux-gnu/bits/fcntl2.h:51:24: 错误: 调用‘__open_missing_mode’,声明有错误属性:open with O_CREAT in second argument needs 3 arguments
make[1]: *** [src/xmemory.o] 错误 1
make[1]:正在离开目录 `/eclipse-5.0.0/qfits'
make: *** [pkg_qfits] 错误 2

Re: make出问题了

发表于 : 2013-03-21 16:23
cuihao
为什么不用源里的?