我正在尝试编译
ruby-2.2.3.我已经下载了包并进行了配置.但是当我试图制作它时,它会抛出以下错误:
compiling main.c
/tmp/cc2lrvgn.s: Assembler messages:
/tmp/cc2lrvgn.s:413: Error: symbol `pread64' is already defined
make: *** [main.o] Error 1
以下是我的系统详细信息:
$lsb_release -a
LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 5.10 (Final)
Release: 5.10
Codename: Final
以下是我正在使用的编译器的版本详细信息:
gcc --version
gcc (GCC) 4.8.2
Copyright (C) 2013 Free Software Foundation,Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
我已经对这个错误做了一些调查,发现这个bug存在于libc-
头.我试图升级libc-headers.但这也没有帮助.所以如果有人解决了这个问题,请帮忙.
谢谢