0

我第一次尝试了 Hadoop Pipe (WordCount),在编译过程中出现以下错误:

/usr/bin/ld: skipping incompatible /root/hadoop-0.20.205.0/c++/Linux-amd64-64/lib/libhadooppipes.a when searching for -lhadooppipes
/usr/bin/ld: cannot find -lhadooppipes  
/usr/bin/ld: skipping incompatible /root/hadoop-0.20.205.0/c++/Linux-amd64-64/lib/libhadooputils.a when searching for -lhadooputils
/usr/bin/ld: cannot find -lhadooputils

这是否意味着我需要获取 Hadoop 源 tar 然后以某种方式编译?任何帮助将不胜感激。

4

1 回答 1

2

你可以发布你的Makefile吗?

解决我的问题的一件事是我有一个 -m32 标志需要更改为 -m64。

确保检查标志,因为您的编译器很可能对架构感到困惑。

于 2013-05-21T03:23:43.687 回答