www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon" <edwardy...@apache.org>
Subject Fwd: Hama Pipes build fails - fatal error: bits/c++config.h: No such file or directory
Date Thu, 24 Jul 2014 07:28:35 GMT
Yes, I already saw it. Unfortunately, I have no permission to access
to the build machines.

@builds community,

Hello, this is second request. Hama nightly jobs are build fails now.
Please look at this problem and solve this!

---------- Forwarded message ----------
From: Martin Illecker <martin@illecker.at>
Date: Thu, Jul 24, 2014 at 4:11 PM
Subject: Hama Pipes build fails - fatal error: bits/c++config.h: No
such file or directory
To: "Edward J. Yoon" <edwardyoon@apache.org>


Hello Edward,

I've seen that the Hama Pipes build fails with

    [exec] /usr/bin/c++    -g -Wall -O2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m32
-I<https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src/main/native/utils/api>
-I<https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src/main/native/pipes/api>
-I<https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src>
   -o CMakeFiles/DenseDoubleVector.dir/main/native/examples/impl/DenseDoubleVector.cc.o
-c <https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src/main/native/examples/impl/DenseDoubleVector.cc>
    [exec] In file included from
<https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src/main/native/utils/api/hadoop/StringUtils.hh>:22:0,
    [exec]                  from
<https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/ws/trunk/c++/src/main/native/examples/impl/DenseDoubleVector.cc>:19:
    [exec] /usr/include/c++/4.8/string:38:28: fatal error:
bits/c++config.h: No such file or directory
    [exec]  #include <bits/c++config.h>
    [exec]                             ^
    [exec] compilation terminated.
    [exec] make[2]: ***
[CMakeFiles/DenseDoubleVector.dir/main/native/examples/impl/DenseDoubleVector.cc.o]
Error 1
    [exec] make[1]: *** [CMakeFiles/DenseDoubleVector.dir/all] Error 2
    [exec] make: *** [all] Error 2

I believe the problem occurs because we are compiling with "-m32" and
there is some new native library path conflict.
Regarding to [1] we should change the compilation to 64 bit or install
the multilib package:

sudo apt-get install gcc-4.8-multilib g++-4.8-multilib

What do you think?

Martin

[1] http://stackoverflow.com/questions/4643197/missing-include-bits-cconfig-h-when-cross-compiling-64-bit-program-on-32-bit




-- 
Best Regards, Edward J. Yoon
CEO at DataSayer Co., Ltd.

Mime
View raw message