hadoop管道编译错误

hadoop管道编译错误,hadoop,mapreduce,Hadoop,Mapreduce,我第一次尝试Hadoop管道(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 /r

我第一次尝试Hadoop管道(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,然后以某种方式进行编译?任何帮助都将不胜感激

你能发布你的Makefile吗

有一件事解决了我的问题,那就是我有一个-m32标志,需要改成-m64


请确保检查您的标志,因为您的编译器可能会对体系结构感到困惑。

谢谢,但自从这篇文章发表后,我放弃了使用hadoop管道。如果我下次再试一次,我将重新访问此帖子。