繁体   English   中英

在Centos7上安装HAWQ时出现编译错误:

[英]Compile error when I install HAWQ on Centos7:

我想在我的Centos7.5上安装HAWQ
当我运行时: make -j8 ./configuremake -j8
我得到这个:

g++ --shared -o cwrapper.o cwrapper.cpp -Lformat -lorc_format
/usr/bin/ld: /tmp/ccjv719I.o: relocation R_X86_64_PC32 against symbol `_Z9func_testv' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status

如果我运行make install next
我无法在hawq中获取所有文件

但是当我重试./configuremake -j8make install
ccjv719I.o将更改,可能是cc4U41Di.o或其他

当我运行时: ./configure CFLAGES=-fPIC CXXFLAGES=-fPIC --enable-shared
我遇到了同样的错误。
我该怎么办?

尝试:

./configure --prefix=/hawq/install/path --with-python --with-perl

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM