Doubts compiling/crosscompiling ibrdtn bundle
Hello,
I've got a large question about compiling/crosscompiling ibr-dtn bundle, so I would thank if you could help me a bit with it. My question can be split in two parts.
Firstly, I wanted to download the sources of ibr-dtn, so I have gone to the site http://www.ibr.cs.tu-bs.de/trac/ibr-dtn/wiki/source , after following the svn repository explanation if I open eclipse and I try to open the project which I have just download, I cannot see the sources, I mean, I don't know where are the .cpp or .h of the project. Should I go to other directory or website to get just the sources (without compiling)?
On the other hand, if I want to crosscompile the bundle for an arm architecture,(I have already read this post http://www.ietf.org/mail-archive/web/dtn-users/current/msg00198.html), I'm using the following command for configuring the crosscompiling
*t@t-ThinkCentre-M57e:~/ibrdtn-svn$ ./configure --host=i686-linux --target=arm-mv5sft-linux-gnueabi CC=~/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/arm-mv5sft-linux-gnueabi-gcc*
and then I do
*t@t-ThinkCentre-M57e:~/ibrdtn-svn$ make*
However, I get an compilation error which can be read at the end the following compiling output
*t@t-ThinkCentre-M57e:~/ibrdtn-svn$ make Making all in ibrcommon make[1]: Entering directory `/home/t/ibrdtn-svn/ibrcommon' Making all in ibrcommon make[2]: Entering directory `/home/t/ibrdtn-svn/ibrcommon/ibrcommon' make all-recursive make[3]: Entering directory `/home/t/ibrdtn-svn/ibrcommon/ibrcommon' Making all in data make[4]: Entering directory `/home/t/ibrdtn-svn/ibrcommon/ibrcommon/data' CXX BLOB.lo CXX ConfigFile.lo CXX File.lo CXX BloomFilter.lo CXX iobuffer.lo CXX Base64Stream.lo CXX Base64Reader.lo CXX Base64.lo CXXLD libdata.la make[4]: Leaving directory `/home/t/ibrdtn-svn/ibrcommon/ibrcommon/data' Making all in link make[4]: Entering directory `/home/t/ibrdtn-svn/ibrcommon/ibrcommon/link' CXX LinkManager.lo CXX LinkEvent.lo CXX NetLinkManager.lo CXXLD liblink.la make[4]: Leaving directory `/home/t/ibrdtn-svn/ibrcommon/ibrcommon/link' Making all in net make[4]: Entering directory `/home/t/ibrdtn-svn/ibrcommon/ibrcommon/net' CXX socket.lo CXX socketstream.lo CXX stopandwait.lo CXX vsocket.lo CXX vinterface.lo CXX vaddress.lo CXXLD libnet.la make[4]: Leaving directory `/home/t/ibrdtn-svn/ibrcommon/ibrcommon/net' Making all in thread make[4]: Entering directory `/home/t/ibrdtn-svn/ibrcommon/ibrcommon/thread' CXX Conditional.lo CXX Mutex.lo CXX MutexLock.lo CXX Semaphore.lo CXX Thread.lo CXX Timer.lo CXX AtomicCounter.lo CXX ObjectLock.lo CXX RWMutex.lo CXX RWLock.lo CXXLD libthread.la make[4]: Leaving directory `/home/t/ibrdtn-svn/ibrcommon/ibrcommon/thread' make[4]: Entering directory `/home/t/ibrdtn-svn/ibrcommon/ibrcommon' CXX appstreambuf.lo CXX SyslogStream.lo CXX TimeMeasurement.lo CXX Logger.lo CXXLD libibrcommon.la make[4]: Leaving directory `/home/t/ibrdtn-svn/ibrcommon/ibrcommon' make[3]: Leaving directory `/home/t/ibrdtn-svn/ibrcommon/ibrcommon' make[2]: Leaving directory `/home/t/ibrdtn-svn/ibrcommon/ibrcommon' Making all in tests make[2]: Entering directory `/home/t/ibrdtn-svn/ibrcommon/tests' Making all in unittests make[3]: Entering directory `/home/t/ibrdtn-svn/ibrcommon/tests/unittests' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/t/ibrdtn-svn/ibrcommon/tests/unittests' Making all in stress make[3]: Entering directory `/home/t/ibrdtn-svn/ibrcommon/tests/stress' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/t/ibrdtn-svn/ibrcommon/tests/stress' make[3]: Entering directory `/home/t/ibrdtn-svn/ibrcommon/tests' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/t/ibrdtn-svn/ibrcommon/tests' make[2]: Leaving directory `/home/t/ibrdtn-svn/ibrcommon/tests' make[2]: Entering directory `/home/t/ibrdtn-svn/ibrcommon' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/home/t/ibrdtn-svn/ibrcommon' make[1]: Leaving directory `/home/t/ibrdtn-svn/ibrcommon' Making all in ibrdtn make[1]: Entering directory `/home/t/ibrdtn-svn/ibrdtn' Making all in ibrdtn make[2]: Entering directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn' make all-recursive make[3]: Entering directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn' Making all in api make[4]: Entering directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn/api' CXX BLOBBundle.lo CXX FileBundle.lo CXX StringBundle.lo CXX Bundle.lo CXX APIClient.lo CXX Client.lo CXX PlainSerializer.lo CXXLD libapi.la make[4]: Leaving directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn/api' Making all in data make[4]: Entering directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn/data' CXX Serializer.lo Serializer.cpp: In member function 'virtual dtn::data::Deserializer& dtn::data::DefaultDeserializer::operator>>(dtn::data::MetaBundle&)': Serializer.cpp:731:81: warning: 'static size_t dtn::utils::Clock::getExpireTime(size_t, size_t)' is deprecated (declared at ../../ibrdtn/utils/Clock.h:54) [-Wdeprecated-declarations] CXX AgeBlock.lo CXX ScopeControlHopLimitBlock.lo CXX Block.lo CXX Bundle.lo CXX BundleID.lo CXX BundleList.lo CXX BundleMerger.lo CXX BundleString.lo CXX CustodySignalBlock.lo CXX Dictionary.lo CXX DTNTime.lo CXX EID.lo CXX ExtensionBlock.lo CXX MetaBundle.lo CXX PayloadBlock.lo CXX PrimaryBlock.lo PrimaryBlock.cpp: In member function 'bool dtn::data::PrimaryBlock::isExpired() const': PrimaryBlock.cpp:110:73: warning: 'static bool dtn::utils::Clock::isExpired(size_t, size_t)' is deprecated (declared at ../../ibrdtn/utils/Clock.h:46) [-Wdeprecated-declarations] CXX SDNV.lo CXX StatusReportBlock.lo CXX BundleFragment.lo CXX StreamBlock.lo CXXLD libdata.la make[4]: Leaving directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn/data' Making all in streams make[4]: Entering directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn/streams' CXX StreamBuffer.lo CXX StreamConnection.lo CXX StreamContactHeader.lo CXX StreamDataSegment.lo CXXLD libstreams.la make[4]: Leaving directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn/streams' Making all in utils make[4]: Entering directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn/utils' CXX Utils.lo CXX Clock.lo CXX Random.lo CXXLD libutils.la make[4]: Leaving directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn/utils' make[4]: Entering directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn' CCLD libibrdtn.la /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) api/.libs/libapi.a(BLOBBundle.o): could not read symbols: File in wrong format collect2: ld returned 1 exit status make[4]: *** [libibrdtn.la] Error 1 make[4]: Leaving directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/t/ibrdtn-svn/ibrdtn' make: *** [all-recursive] Error 1*
Here I attach the Configuration.log file
*This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
It was created by ibrdtnsuite configure 0.8.0, which was* * generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --host=i686-linux --target=arm-mv5sft-linux-**gnueabi CC=/home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-** mv5sft-linux-gnueabi-gcc
## --------- ##* * ## Platform. ## ## --------- ##
hostname = t-ThinkCentre-M57e uname -m = i686 uname -r = 3.2.0-32-generic-pae uname -s = Linux uname -v = #51-Ubuntu SMP Wed Sep 26 21:54:23 UTC 2012
/usr/bin/uname -p = unknown* * /bin/uname -X = unknown
/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown
PATH: /usr/lib/lightdm/lightdm PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games
## ----------- ## ## Core tests. ## ## ----------- ##
configure:2265: checking for a BSD-compatible install configure:2333: result: /usr/bin/install -c configure:2344: checking whether build environment is sane configure:2394: result: yes configure:2443: checking for i686-linux-strip configure:2473: result: no configure:2483: checking for strip configure:2499: found /usr/bin/strip configure:2510: result: strip configure:2535: checking for a thread-safe mkdir -p configure:2574: result: /bin/mkdir -p configure:2587: checking for gawk configure:2603: found /usr/bin/gawk configure:2614: result: gawk configure:2625: checking whether make sets $(MAKE) configure:2647: result: yes configure:2737: checking for i686-linux-gcc configure:2764: result: /home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc configure:3033: checking for C compiler version configure:3042: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc --version >&5 arm-mv5sft-linux-gnueabi-gcc (sdk3.2rc1-ct-ng-1.4.1) 4.3.2 Copyright (C) 2008 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.
configure:3053: $? = 0 configure:3042: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -v >&5 Using built-in specs. Target: arm-mv5sft-linux-gnueabi Configured with: /home/seugene/sdk/targets/src/**gcc-4.3.2/configure --build=i486-build_pc-linux-**gnu --host=i486-build_pc-linux-gnu --target=arm-mv5sft-linux-**gnueabi --prefix=/home/seugene/sdk/** targets/arm-mv5sft-linux-**gnueabi/cross --with-sysroot=/home/seugene/** sdk/targets/arm-mv5sft-linux-**gnueabi/cross/arm-mv5sft-**linux-gnueabi//sys-root --enable-languages=c,c++,**fortran,java --disable-multilib --with-arch=armv5te --with-float=soft --with-gmp=/home/seugene/sdk/** targets/arm-mv5sft-linux-**gnueabi/cross --with-mpfr=/home/seugene/sdk/** targets/arm-mv5sft-linux-**gnueabi/cross --with-pkgversion=sdk3.2rc1-**ct-ng-1.4.1 --disable-sjlj-exceptions --enable-__cxa_atexit --with-local-prefix=/home/** seugene/sdk/targets/arm-**mv5sft-linux-gnueabi/cross/** arm-mv5sft-linux-gnueabi//sys-**root --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99 --enable-long-long --enable-target-optspace Thread model: posix gcc version 4.3.2 (sdk3.2rc1-ct-ng-1.4.1) configure:3053: $? = 0 configure:3042: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -V >&5 arm-mv5sft-linux-gnueabi-gcc: '-V' option must have argument configure:3053: $? = 1 configure:3042: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -qversion >&5 arm-mv5sft-linux-gnueabi-gcc: unrecognized option '-qversion' arm-mv5sft-linux-gnueabi-gcc: no input files configure:3053: $? = 1 configure:3073: checking whether the C compiler works configure:3095: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc conftest.c >&5 configure:3099: $? = 0 configure:3147: result: yes configure:3150: checking for C compiler default output file name configure:3152: result: a.out configure:3158: checking for suffix of executables configure:3165: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -o conftest conftest.c >&5 configure:3169: $? = 0 configure:3191: result: configure:3213: checking whether we are cross compiling configure:3221: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -o conftest conftest.c >&5 configure:3225: $? = 0 configure:3232: ./conftest ./configure: line 3234: ./conftest: cannot execute binary file configure:3236: $? = 126 configure:3251: result: yes configure:3256: checking for suffix of object files configure:3278: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c conftest.c >&5 configure:3282: $? = 0 configure:3303: result: o configure:3307: checking whether we are using the GNU C compiler configure:3326: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c conftest.c >&5 configure:3326: $? = 0 configure:3335: result: yes configure:3344: checking whether /home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc accepts -g configure:3364: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g conftest.c >&5 configure:3364: $? = 0 configure:3405: result: yes configure:3422: checking for /home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc option to accept ISO C89 configure:3486: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 conftest.c >&5 configure:3486: $? = 0 configure:3499: result: none needed configure:3530: checking for style of include used by make configure:3558: result: GNU configure:3584: checking dependency style of /home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc configure:3695: result: gcc3 configure:3715: checking how to run the C preprocessor configure:3746: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -E conftest.c configure:3746: $? = 0 configure:3760: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -E conftest.c conftest.c:11:28: error: ac_nonexistent.h: No such file or directory configure:3760: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "ibrdtnsuite" | #define PACKAGE_TARNAME "ibrdtnsuite" | #define PACKAGE_VERSION "0.8.0" | #define PACKAGE_STRING "ibrdtnsuite 0.8.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "ibrdtnsuite" | #define VERSION "0.8.0" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:3785: result: /home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -E configure:3805: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -E conftest.c configure:3805: $? = 0 configure:3819: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -E conftest.c conftest.c:11:28: error: ac_nonexistent.h: No such file or directory configure:3819: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "ibrdtnsuite" | #define PACKAGE_TARNAME "ibrdtnsuite" | #define PACKAGE_VERSION "0.8.0" | #define PACKAGE_STRING "ibrdtnsuite 0.8.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "ibrdtnsuite" | #define VERSION "0.8.0" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:3861: checking for i686-linux-g++ configure:3891: result: no configure:3861: checking for i686-linux-c++ configure:3891: result: no configure:3861: checking for i686-linux-gpp configure:3891: result: no configure:3861: checking for i686-linux-aCC configure:3891: result: no configure:3861: checking for i686-linux-CC configure:3891: result: no configure:3861: checking for i686-linux-cxx configure:3891: result: no configure:3861: checking for i686-linux-cc++ configure:3891: result: no configure:3861: checking for i686-linux-cl.exe configure:3891: result: no configure:3861: checking for i686-linux-FCC configure:3891: result: no configure:3861: checking for i686-linux-KCC configure:3891: result: no configure:3861: checking for i686-linux-RCC configure:3891: result: no configure:3861: checking for i686-linux-xlC_r configure:3891: result: no configure:3861: checking for i686-linux-xlC configure:3891: result: no configure:3905: checking for g++ configure:3921: found /usr/bin/g++ configure:3932: result: g++ configure:3948: WARNING: using cross tools not prefixed with host triplet configure:3959: checking for C++ compiler version configure:3968: g++ --version >&5 g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Copyright (C) 2011 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.
configure:3979: $? = 0 configure:3968: g++ -v >&5 Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/**gcc/i686-linux-gnu/4.6/lto-**wrapper Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/**Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/**share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,**fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/**include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) configure:3979: $? = 0 configure:3968: g++ -V >&5 g++: error: unrecognized option '-V' g++: fatal error: no input files compilation terminated. configure:3979: $? = 4 configure:3968: g++ -qversion >&5 g++: error: unrecognized option '-qversion' g++: fatal error: no input files compilation terminated. configure:3979: $? = 4 configure:3983: checking whether we are using the GNU C++ compiler configure:4002: g++ -c conftest.cpp >&5 configure:4002: $? = 0 configure:4011: result: yes configure:4020: checking whether g++ accepts -g configure:4040: g++ -c -g conftest.cpp >&5 configure:4040: $? = 0 configure:4081: result: yes configure:4106: checking dependency style of g++ configure:4217: result: gcc3 configure:4232: checking whether ln -s works configure:4236: result: yes configure:4272: checking build system type configure:4286: result: i686-pc-linux-gnu configure:4306: checking host system type configure:4319: result: i686-pc-linux-gnu configure:4360: checking how to print strings configure:4387: result: printf configure:4408: checking for a sed that does not truncate output configure:4472: result: /bin/sed configure:4490: checking for grep that handles long lines and -e configure:4548: result: /bin/grep configure:4553: checking for egrep configure:4615: result: /bin/grep -E configure:4620: checking for fgrep configure:4682: result: /bin/grep -F configure:4717: checking for ld used by /home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc configure:4784: result: /home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/arm-mv5sft-**linux-gnueabi/bin/ld configure:4791: checking if the linker (/home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/arm-mv5sft-**linux-gnueabi/bin/ld) is GNU ld configure:4806: result: yes configure:4818: checking for BSD- or MS-compatible name lister (nm) configure:4867: result: /usr/bin/nm -B configure:4997: checking the name lister (/usr/bin/nm -B) interface configure:5004: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 conftest.c >&5 configure:5007: /usr/bin/nm -B "conftest.o" configure:5010: output 00000000 b $d 00000000 N $d 00000000 B some_variable configure:5017: result: BSD nm configure:5021: checking the maximum length of command line arguments configure:5151: result: 1572864 configure:5168: checking whether the shell understands some XSI constructs configure:5178: result: yes configure:5182: checking whether the shell understands "+=" configure:5188: result: yes configure:5223: checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format configure:5263: result: func_convert_file_noop configure:5270: checking how to convert i686-pc-linux-gnu file names to toolchain format configure:5290: result: func_convert_file_noop configure:5297: checking for /home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/arm-mv5sft-**linux-gnueabi/bin/ld option to reload object files configure:5304: result: -r configure:5338: checking for i686-linux-objdump configure:5368: result: no configure:5378: checking for objdump configure:5394: found /usr/bin/objdump configure:5405: result: objdump configure:5437: checking how to recognize dependent libraries configure:5639: result: pass_all configure:5684: checking for i686-linux-dlltool configure:5714: result: no configure:5724: checking for dlltool configure:5754: result: no configure:5784: checking how to associate runtime and link libraries configure:5811: result: printf %s\n configure:5828: checking for i686-linux-ar configure:5858: result: no configure:5872: checking for ar configure:5888: found /usr/bin/ar configure:5899: result: ar configure:5936: checking for archiver @FILE support configure:5953: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 conftest.c >&5 configure:5953: $? = 0 configure:5956: ar cru libconftest.a @conftest.lst >&5 configure:5959: $? = 0 configure:5964: ar cru libconftest.a @conftest.lst >&5 ar: conftest.o: No such file or directory configure:5967: $? = 1 configure:5979: result: @ configure:5997: checking for i686-linux-strip configure:6024: result: strip configure:6096: checking for i686-linux-ranlib configure:6126: result: no configure:6136: checking for ranlib configure:6152: found /usr/bin/ranlib configure:6163: result: ranlib configure:6265: checking command to parse /usr/bin/nm -B output from /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc object configure:6385: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 conftest.c >&5 configure:6388: $? = 0 configure:6392: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]([ABCDGIRSTW][ABCDGIRSTW]*)**[ ][ ]*([_A-Za-z][_A-Za-z0-9]*)$/**\1 \2 \2/p' | sed '/ __gnu_lto/d' > conftest.nm configure:6395: $? = 0 configure:6461: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -o conftest -g -O2 conftest.c conftstm.o >&5 configure:6464: $? = 0 configure:6502: result: ok configure:6539: checking for sysroot configure:6569: result: no configure:6785: checking for i686-linux-mt configure:6815: result: no configure:6825: checking for mt configure:6841: found /bin/mt configure:6852: result: mt configure:6875: checking if mt is a manifest tool configure:6881: mt '-?' configure:6889: result: no configure:7527: checking for ANSI C header files configure:7547: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 conftest.c >&5 configure:7547: $? = 0 configure:7631: result: yes configure:7644: checking for sys/types.h configure:7644: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 conftest.c >&5 configure:7644: $? = 0 configure:7644: result: yes configure:7644: checking for sys/stat.h configure:7644: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 conftest.c >&5 configure:7644: $? = 0 configure:7644: result: yes configure:7644: checking for stdlib.h configure:7644: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 conftest.c >&5 configure:7644: $? = 0 configure:7644: result: yes configure:7644: checking for string.h configure:7644: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 conftest.c >&5 configure:7644: $? = 0 configure:7644: result: yes configure:7644: checking for memory.h configure:7644: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 conftest.c >&5 configure:7644: $? = 0 configure:7644: result: yes configure:7644: checking for strings.h configure:7644: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 conftest.c >&5 configure:7644: $? = 0 configure:7644: result: yes configure:7644: checking for inttypes.h configure:7644: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 conftest.c >&5 configure:7644: $? = 0 configure:7644: result: yes configure:7644: checking for stdint.h configure:7644: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 conftest.c >&5 configure:7644: $? = 0 configure:7644: result: yes configure:7644: checking for unistd.h configure:7644: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 conftest.c >&5 configure:7644: $? = 0 configure:7644: result: yes configure:7658: checking for dlfcn.h configure:7658: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 conftest.c >&5 configure:7658: $? = 0 configure:7658: result: yes configure:7875: checking for objdir configure:7890: result: .libs configure:8161: checking if /home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions configure:8179: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:8183: $? = 0 configure:8196: result: no configure:8523: checking for /home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc option to produce PIC configure:8530: result: -fPIC -DPIC configure:8538: checking if /home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc PIC flag -fPIC -DPIC works configure:8556: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:8560: $? = 0 configure:8573: result: yes configure:8602: checking if /home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc static flag -static works configure:8630: result: yes configure:8645: checking if /home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc supports -c -o file.o configure:8666: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:8670: $? = 0 configure:8692: result: yes configure:8700: checking if /home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc supports -c -o file.o configure:8747: result: yes configure:8780: checking whether the /home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc linker (/home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/arm-mv5sft-**linux-gnueabi/bin/ld) supports shared libraries configure:9937: result: yes configure:9974: checking whether -lc should be explicitly linked in configure:9982: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -c -g -O2 conftest.c >&5 configure:9985: $? = 0 configure:10000: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2>&1 | /bin/grep -lc >/dev/null 2>&1 configure:10003: $? = 0 configure:10017: result: no configure:10177: checking dynamic linker characteristics configure:10688: /home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:10688: $? = 0 configure:10922: result: GNU/Linux ld.so configure:11029: checking how to hardcode library paths into programs configure:11054: result: immediate configure:11594: checking whether stripping libraries is possible configure:11599: result: yes configure:11634: checking if libtool supports shared libraries configure:11636: result: yes configure:11639: checking whether to build shared libraries configure:11660: result: yes configure:11663: checking whether to build static libraries configure:11667: result: yes configure:11690: checking how to run the C++ preprocessor configure:11717: g++ -E conftest.cpp configure:11717: $? = 0 configure:11731: g++ -E conftest.cpp conftest.cpp:23:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:11731: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "ibrdtnsuite" | #define PACKAGE_TARNAME "ibrdtnsuite" | #define PACKAGE_VERSION "0.8.0" | #define PACKAGE_STRING "ibrdtnsuite 0.8.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "ibrdtnsuite" | #define VERSION "0.8.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:11756: result: g++ -E configure:11776: g++ -E conftest.cpp configure:11776: $? = 0 configure:11790: g++ -E conftest.cpp conftest.cpp:23:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:11790: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "ibrdtnsuite" | #define PACKAGE_TARNAME "ibrdtnsuite" | #define PACKAGE_VERSION "0.8.0" | #define PACKAGE_STRING "ibrdtnsuite 0.8.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "ibrdtnsuite" | #define VERSION "0.8.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:11959: checking for ld used by g++ configure:12026: result: /home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/arm-mv5sft-**linux-gnueabi/bin/ld configure:12033: checking if the linker (/home/t/M/arm-mv5sft-linux-** gnueabi/SW3.2p1/arm-mv5sft-**linux-gnueabi/bin/ld) is GNU ld configure:12048: result: yes configure:12103: checking whether the g++ linker (/home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/arm-mv5sft-**linux-gnueabi/bin/ld) supports shared libraries configure:13108: result: yes configure:13144: g++ -c -g -O2 conftest.cpp >&5 configure:13147: $? = 0 configure:13667: checking for g++ option to produce PIC configure:13674: result: -fPIC -DPIC configure:13682: checking if g++ PIC flag -fPIC -DPIC works configure:13700: g++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5 configure:13704: $? = 0 configure:13717: result: yes configure:13740: checking if g++ static flag -static works configure:13768: result: yes configure:13780: checking if g++ supports -c -o file.o configure:13801: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 configure:13805: $? = 0 configure:13827: result: yes configure:13832: checking if g++ supports -c -o file.o configure:13879: result: yes configure:13909: checking whether the g++ linker (/home/t/M/arm-mv5sft-linux-**gnueabi/SW3.2p1/arm-mv5sft-**linux-gnueabi/bin/ld) supports shared libraries configure:13948: result: yes configure:14089: checking dynamic linker characteristics configure:14768: result: GNU/Linux ld.so configure:14821: checking how to hardcode library paths into programs configure:14846: result: immediate configure:15084: creating ./config.status
## ---------------------- ## ## Running config.status. ## ## ---------------------- ##
This file was extended by ibrdtnsuite config.status 0.8.0, which was generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status
on t-ThinkCentre-M57e
config.status:1075: creating Makefile config.status:1247: executing depfiles commands config.status:1247: executing libtool commands configure:17466: === configuring in ibrcommon (/home/t/ibrdtn-svn/ibrcommon) configure:17529: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' '--host=i686-linux' '--target=arm-mv5sft-linux-**gnueabi' 'CC=/home/t/M/arm-mv5sft-**linux-gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc' 'host_alias=i686-linux' 'target_alias=arm-mv5sft-**linux-gnueabi' --cache-file=/dev/null --srcdir=. configure:17466: === configuring in ibrdtn (/home/t/ibrdtn-svn/ibrdtn) configure:17529: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' '--host=i686-linux' '--target=arm-mv5sft-linux-**gnueabi' 'CC=/home/t/M/arm-mv5sft-**linux-gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc' 'host_alias=i686-linux' 'target_alias=arm-mv5sft-**linux-gnueabi' --cache-file=/dev/null --srcdir=. configure:17466: === configuring in daemon (/home/t/ibrdtn-svn/daemon) configure:17529: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' '--host=i686-linux' '--target=arm-mv5sft-linux-**gnueabi' 'CC=/home/t/M/arm-mv5sft-**linux-gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc' 'host_alias=i686-linux' 'target_alias=arm-mv5sft-**linux-gnueabi' --cache-file=/dev/null --srcdir=. configure:17466: === configuring in tools (/home/t/ibrdtn-svn/tools) configure:17529: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' '--host=i686-linux' '--target=arm-mv5sft-linux-**gnueabi' 'CC=/home/t/M/arm-mv5sft-**linux-gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc' 'host_alias=i686-linux' 'target_alias=arm-mv5sft-**linux-gnueabi' --cache-file=/dev/null --srcdir=.
## ---------------- ##* * ## Cache variables. ## ## ---------------- ##
ac_cv_build=i686-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/t/M/**arm-mv5sft-linux-gnueabi/SW3.** 2p1/bin/arm-mv5sft-linux-**gnueabi-gcc ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=**i686-linux ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=**arm-mv5sft-linux-gnueabi ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=i686-pc-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_install='/usr/bin/**install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CC=/home/t/M/arm-**mv5sft-linux-gnueabi/SW3.2p1/** bin/arm-mv5sft-linux-gnueabi-**gcc ac_cv_prog_CPP='/home/t/M/arm-**mv5sft-linux-gnueabi/SW3.2p1/** bin/arm-mv5sft-linux-gnueabi-**gcc -E' ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_STRIP=strip ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_MANIFEST_**TOOL=mt ac_cv_prog_ac_ct_OBJDUMP=**objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_**compiler_type=gcc3 am_cv_CXX_dependencies_**compiler_type=gcc3 lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=**pass_all lt_cv_file_magic_cmd='$MAGIC_**CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/home/t/M/arm-**mv5sft-linux-gnueabi/SW3.2p1/** arm-mv5sft-linux-gnueabi/bin/**ld lt_cv_path_LDCXX=/home/t/M/**arm-mv5sft-linux-gnueabi/SW3.** 2p1/arm-mv5sft-linux-gnueabi/**bin/ld lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=**yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_CXX='-**fPIC -DPIC' lt_cv_prog_compiler_pic_works=**yes lt_cv_prog_compiler_pic_works_**CXX=yes lt_cv_prog_compiler_rtti_**exceptions=no lt_cv_prog_compiler_static_**works=yes lt_cv_prog_compiler_static_**works_CXX=yes lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_sharedlib_from_linklib_**cmd='printf %s\n' lt_cv_shlibpath_overrides_**runpath=yes lt_cv_sys_global_symbol_pipe='**sed -n -e '''s/^.*[ ]([ABCDGIRSTW][ABCDGIRSTW]*)**[ ][ ]*([_A-Za-z][_A-Za-z0-9]*)$/* *\1 \2 \2/p''' | sed '''/ __gnu_lto/d'''' lt_cv_sys_global_symbol_to_c_**name_address='sed -n -e '''s/^: ([^ ]*)[ ]*$/ {"\1", (void *) 0},/p''' -e '''s/^[ABCDGIRSTW]* ([^ ]*) ([^ ]*)$/ {"\2", (void *) &\2},/p'''' lt_cv_sys_global_symbol_to_c_**name_address_lib_prefix='sed -n -e '''s/^: ([^ ]*)[ ]*$/ {"\1", (void *) 0},/p''' -e '''s/^[ABCDGIRSTW]* ([^ ]*) (lib[^ ]*)$/ {"\2", (void *) &\2},/p''' -e '''s/^[ABCDGIRSTW]* ([^ ]*) ([^ ]*)$/ {"lib\2", (void *) &\2},/p'''' lt_cv_sys_global_symbol_to_**cdecl='sed -n -e '''s/^T .* (.*)$/extern int \1();/p''' -e '''s/^[ABCDGIRSTW]* .* (.*)$/extern char \1;/p'''' lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_**convert_file_noop lt_cv_to_tool_file_cmd=func_**convert_file_noop
## ----------------- ## ## Output variables. ## ## ----------------- ##
ACLOCAL='${SHELL} /home/t/ibrdtn-svn/missing --run aclocal-1.11' AMDEPBACKSLASH='' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AR='ar' AUTOCONF='${SHELL} /home/t/ibrdtn-svn/missing --run autoconf' AUTOHEADER='${SHELL} /home/t/ibrdtn-svn/missing --run autoheader' AUTOMAKE='${SHELL} /home/t/ibrdtn-svn/missing --run automake-1.11' AWK='gawk' CC='/home/t/M/arm-mv5sft-**linux-gnueabi/SW3.2p1/bin/arm-** mv5sft-linux-gnueabi-gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CPP='/home/t/M/arm-mv5sft-**linux-gnueabi/SW3.2p1/bin/arm-**mv5sft-linux-gnueabi-gcc -E' CPPFLAGS='' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2' CYGPATH_W='echo' DEFS='-DPACKAGE_NAME="**ibrdtnsuite" -DPACKAGE_TARNAME="**ibrdtnsuite" -DPACKAGE_VERSION="0.8.0" -DPACKAGE_STRING="**ibrdtnsuite\ 0.8.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="ibrdtnsuite" -DVERSION="0.8.0" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/"' DEPDIR='.deps' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' FGREP='/bin/grep -F' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(**install_sh) -c -s' LD='/home/t/M/arm-mv5sft-**linux-gnueabi/SW3.2p1/arm-** mv5sft-linux-gnueabi/bin/ld' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /home/t/ibrdtn-svn/missing --run makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='ibrdtnsuite' PACKAGE_BUGREPORT='' PACKAGE_NAME='ibrdtnsuite' PACKAGE_STRING='ibrdtnsuite 0.8.0' PACKAGE_TARNAME='ibrdtnsuite' PACKAGE_URL='' PACKAGE_VERSION='0.8.0' PATH_SEPARATOR=':' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='strip' VERSION='0.8.0' ac_ct_AR='ar' ac_ct_CC='' ac_ct_CXX='g++' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${**PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='i686-pc-linux-gnu' host_alias='i686-linux' host_cpu='i686' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/t/ibrdtn-svn/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/**libexec' localedir='${datarootdir}/**locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,**' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs=' ibrcommon ibrdtn daemon tools' sysconfdir='${prefix}/etc' target_alias='arm-mv5sft-**linux-gnueabi'
## ----------- ## ## confdefs.h. ## ## ----------- ##
/* confdefs.h */ #define PACKAGE_NAME "ibrdtnsuite" #define PACKAGE_TARNAME "ibrdtnsuite" #define PACKAGE_VERSION "0.8.0" #define PACKAGE_STRING "ibrdtnsuite 0.8.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "ibrdtnsuite" #define VERSION "0.8.0" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/"
configure: exit 0*
Thanks in advance,
Juan
Hello,
I've got a large question about compiling/crosscompiling ibr-dtn bundle, so I would thank if you could help me a bit with it. My question can be split in two parts.
Firstly, I wanted to download the sources of ibr-dtn, so I have gone to the site http://www.ibr.cs.tu-bs.de/trac/ibr-dtn/wiki/source , after following the svn repository explanation if I open eclipse and I try to open the project which I have just download, I cannot see the sources, I mean, I don't know where are the .cpp or .h of the project. Should I go to other directory or website to get just the sources (without compiling)?
On the other hand, if I want to crosscompile the bundle for an arm architecture,(I have already read this post http://www.ietf.org/mail-archive/web/dtn-users/current/msg00198.html), I'm using the following command for configuring the crosscompiling
*t@t-ThinkCentre-M57e:~/ibrdtn-svn$ ./configure --host=i686-linux --target=arm-mv5sft-linux-gnueabi CC=~/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/arm-mv5sft-linux-gnueabi-gcc*
and then I do
*t@t-ThinkCentre-M57e:~/ibrdtn-svn$ make*
However, I get an compilation error which can be read at the end the following compiling output
* /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) api/.libs/libapi.a(BLOBBundle.o): could not read symbols: File in wrong format collect2: ld returned 1 exit status make[4]: *** [libibrdtn.la] Error 1 make[4]: Leaving directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/t/ibrdtn-svn/ibrdtn' make: *** [all-recursive] Error 1*
Thanks in advance,
Juan
Hello Francisco,
the post you are referring to eals with building DTN2, so it does not necessarily work with IBR-DTN. However thismight point into the right direction
1. Johannes is the guru here, but as far as I know we largely use Buildroot (http://buildroot.uclibc.org) to create embedded Builds. You should take a look at that
2. The approach you posted: Just a guess, but judging form your command line maybe you are using the C Cross Compiler but the standard C++ one. That would explain why it is confused with teh generated object files. Try adding a CXX parameter wit the appropriate g++ Crosscompiler to the command line
MfG
Sebastian
Am 10.12.2012 um 10:18 schrieb Francisco Cuesta ndarkness@gmail.com:
Hello,
I've got a large question about compiling/crosscompiling ibr-dtn bundle, so I would thank if you could help me a bit with it. My question can be split in two parts.
Firstly, I wanted to download the sources of ibr-dtn, so I have gone to the site http://www.ibr.cs.tu-bs.de/trac/ibr-dtn/wiki/source , after following the svn repository explanation if I open eclipse and I try to open the project which I have just download, I cannot see the sources, I mean, I don't know where are the .cpp or .h of the project. Should I go to other directory or website to get just the sources (without compiling)?
On the other hand, if I want to crosscompile the bundle for an arm architecture,(I have already read this post http://www.ietf.org/mail-archive/web/dtn-users/current/msg00198.html), I'm using the following command for configuring the crosscompiling
t@t-ThinkCentre-M57e:~/ibrdtn-svn$ ./configure --host=i686-linux --target=arm-mv5sft-linux-gnueabi CC=~/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/arm-mv5sft-linux-gnueabi-gcc
and then I do
t@t-ThinkCentre-M57e:~/ibrdtn-svn$ make
However, I get an compilation error which can be read at the end the following compiling output
/home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) /home/t/M/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/../lib/gcc/arm-mv5sft-linux-gnueabi/4.3.2/../../../../arm-mv5sft-linux-gnueabi/bin/ld: api/.libs/libapi.a(BLOBBundle.o): Relocations in generic ELF (EM: 3) api/.libs/libapi.a(BLOBBundle.o): could not read symbols: File in wrong format collect2: ld returned 1 exit status make[4]: *** [libibrdtn.la] Error 1 make[4]: Leaving directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/t/ibrdtn-svn/ibrdtn/ibrdtn' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/t/ibrdtn-svn/ibrdtn' make: *** [all-recursive] Error 1
Thanks in advance,
Juan
-- !! This message is brought to you via the `ibr-dtn' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to ibr-dtn-request@ibr.cs.tu-bs.de !! or look at https://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.
participants (2)
-
Francisco Cuesta
-
Sebastian Schildt