<div dir="ltr"><div>Yes, the foo for Hello world program runs fine:<br>$ ./foo<br>Hello world!<br><br></div>Ganesh<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 5, 2015 at 12:55 PM, Ganesh Diwan <span dir="ltr"><<a href="mailto:gcdiwan83@gmail.com" target="_blank">gcdiwan83@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Jo, Oliver-<br></div>Complete log is:<br>$ make check<br>Making check in cmake<br>make[1]: Entering directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/cmake'<br>Making check in modules<br>make[2]: Entering directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/cmake/modules'<br>make[2]: Nothing to be done for 'check'.<br>make[2]: Leaving directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/cmake/modules'<br>Making check in pkg<br>make[2]: Entering directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/cmake/pkg'<br>make[2]: Nothing to be done for 'check'.<br>make[2]: Leaving directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/cmake/pkg'<br>Making check in scripts<br>make[2]: Entering directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/cmake/scripts'<br>make[2]: Nothing to be done for 'check'.<br>make[2]: Leaving directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/cmake/scripts'<br>make[2]: Entering directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/cmake'<br>make[2]: Nothing to be done for 'check-am'.<br>make[2]: Leaving directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/cmake'<br>make[1]: Leaving directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/cmake'<br>Making check in dune<br>make[1]: Entering directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/dune'<br>Making check in common<br>make[2]: Entering directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/dune/common'<br>Making check in .<br>make[3]: Entering directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/dune/common'<br>C:/localapp/local/cygwin64/bin/sh.exe ../../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../..  -I../..   -g -O2 -Wall -MT debugallocator.lo -MD -MP -MF .deps/debugallocator.Tpo -c -o debugallocator.lo debugallocator.cc<br>libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -Wall -MT debugallocator.lo -MD -MP -MF .deps/debugallocator.Tpo -c debugallocator.cc -o debugallocator.o<br>mv -f .deps/debugallocator.Tpo .deps/debugallocator.Plo<br>C:/localapp/local/cygwin64/bin/sh.exe ../../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../..  -I../..   -g -O2 -Wall -MT fmatrixev.lo -MD -MP -MF .deps/fmatrixev.Tpo -c -o fmatrixev.lo fmatrixev.cc<br>libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -Wall -MT fmatrixev.lo -MD -MP -MF .deps/fmatrixev.Tpo -c fmatrixev.cc -o fmatrixev.o<br>mv -f .deps/fmatrixev.Tpo .deps/fmatrixev.Plo<br>C:/localapp/local/cygwin64/bin/sh.exe ../../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../..  -I../..   -g -O2 -Wall -MT dynmatrixev.lo -MD -MP -MF .deps/dynmatrixev.Tpo -c -o dynmatrixev.lo dynmatrixev.cc<br>libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -Wall -MT dynmatrixev.lo -MD -MP -MF .deps/dynmatrixev.Tpo -c dynmatrixev.cc -o dynmatrixev.o<br>mv -f .deps/dynmatrixev.Tpo .deps/dynmatrixev.Plo<br>C:/localapp/local/cygwin64/bin/sh.exe ../../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../..  -I../..   -g -O2 -Wall -MT ios_state.lo -MD -MP -MF .deps/ios_state.Tpo -c -o ios_state.lo ios_state.cc<br>libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -Wall -MT ios_state.lo -MD -MP -MF .deps/ios_state.Tpo -c ios_state.cc -o ios_state.o<br>mv -f .deps/ios_state.Tpo .deps/ios_state.Plo<br>C:/localapp/local/cygwin64/bin/sh.exe ../../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../..  -I../..   -g -O2 -Wall -MT parametertree.lo -MD -MP -MF .deps/parametertree.Tpo -c -o parametertree.lo parametertree.cc<br>libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -Wall -MT parametertree.lo -MD -MP -MF .deps/parametertree.Tpo -c parametertree.cc -o parametertree.o<br>mv -f .deps/parametertree.Tpo .deps/parametertree.Plo<br>C:/localapp/local/cygwin64/bin/sh.exe ../../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../..  -I../..   -g -O2 -Wall -MT parametertreeparser.lo -MD -MP -MF .deps/parametertreeparser.Tpo -c -o parametertreeparser.lo parametertreeparser.cc<br>libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -Wall -MT parametertreeparser.lo -MD -MP -MF .deps/parametertreeparser.Tpo -c parametertreeparser.cc -o parametertreeparser.o<br>mv -f .deps/parametertreeparser.Tpo .deps/parametertreeparser.Plo<br>C:/localapp/local/cygwin64/bin/sh.exe ../../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../..  -I../..   -g -O2 -Wall -MT path.lo -MD -MP -MF .deps/path.Tpo -c -o path.lo path.cc<br>libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -Wall -MT path.lo -MD -MP -MF .deps/path.Tpo -c path.cc -o path.o<br>mv -f .deps/path.Tpo .deps/path.Plo<br>C:/localapp/local/cygwin64/bin/sh.exe ../../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../..  -I../..   -g -O2 -Wall -MT exceptions.lo -MD -MP -MF .deps/exceptions.Tpo -c -o exceptions.lo exceptions.cc<br>libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -Wall -MT exceptions.lo -MD -MP -MF .deps/exceptions.Tpo -c exceptions.cc -o exceptions.o<br>mv -f .deps/exceptions.Tpo .deps/exceptions.Plo<br>C:/localapp/local/cygwin64/bin/sh.exe ../../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../..  -I../..   -g -O2 -Wall -MT stdstreams.lo -MD -MP -MF .deps/stdstreams.Tpo -c -o stdstreams.lo stdstreams.cc<br>libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -Wall -MT stdstreams.lo -MD -MP -MF .deps/stdstreams.Tpo -c stdstreams.cc -o stdstreams.o<br>mv -f .deps/stdstreams.Tpo .deps/stdstreams.Plo<br>C:/localapp/local/cygwin64/bin/sh.exe ../../libtool  --tag=CXX   --mode=link g++ -std=c++11  -g -O2 -Wall   -o <a href="http://libcommon.la" target="_blank">libcommon.la</a>  debugallocator.lo fmatrixev.lo dynmatrixev.lo ios_state.lo parametertree.lo parametertreeparser.lo path.lo exceptions.lo stdstreams.lo   -lm  -LC:/LocalApp/local/MinGW64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2 -LC:/LocalApp/local/MinGW64/mingw64/bin/../lib/gcc -LC:/LocalApp/local/MinGW64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/lib/../lib -LC:/LocalApp/local/MinGW64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../lib -LC:/LocalApp/local/MinGW64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/lib -LC:/LocalApp/local/MinGW64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../.. -lgfortran -lmingw32 -lmoldname -lmingwex -lmsvcrt -lquadmath -lm -lpthread -ladvapi32 -lshell32 -luser32 -liconv -lm<br>libtool: link: rm -fr  .libs/libcommon.a .libs/<a href="http://libcommon.la" target="_blank">libcommon.la</a><br>libtool: link: ar cru .libs/libcommon.a  debugallocator.o fmatrixev.o dynmatrixev.o ios_state.o parametertree.o parametertreeparser.o path.o exceptions.o stdstreams.o<br>libtool: link: ranlib .libs/libcommon.a<br>libtool: link: ( cd ".libs" && rm -f "<a href="http://libcommon.la" target="_blank">libcommon.la</a>" && ln -s "../<a href="http://libcommon.la" target="_blank">libcommon.la</a>" "<a href="http://libcommon.la" target="_blank">libcommon.la</a>" )<br>make[3]: Leaving directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/dune/common'<br>Making check in test<br>make[3]: Entering directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/dune/common/test'<br>C:/LocalApp/local/MinGW64/mingw64/bin/make  arraylisttest.exe arraytest.exe bigunsignedinttest.exe bitsetvectortest.exe check_fvector_size.exe conversiontest.exe diagonalmatrixtest.exe dynmatrixtest.exe dynvectortest.exe eigenvaluestest.exe enumsettest.exe fassigntest.exe fmatrixtest.exe fvectortest.exe gcdlcmtest.exe iteratorfacadetest.exe iteratorfacadetest2.exe lrutest.exe mpicollectivecommunication.exe mpiguardtest.exe mpihelpertest.exe mpihelpertest2.exe nullptr-test.exe pathtest.exe parametertreetest.exe poolallocatortest.exe shared_ptrtest_config.exe shared_ptrtest_dune.exe singletontest.exe static_assert_test.exe streamtest.exe testdebugallocator.exe testdebugallocator_fail1.exe testdebugallocator_fail2.exe testdebugallocator_fail3.exe testdebugallocator_fail4.exe testdebugallocator_fail5.exe testfassign1.exe testfassign2.exe testfassign3.exe testfassign4.exe testfassign_fail1.exe testfassign_fail2.exe testfassign_fail3.exe testfassign_fail4.exe testfassign_fail5.exe testfassign_fail6.exe testfconstruct.exe testfloatcmp.exe tuplestest_dune.exe tuplestest_std.exe tuplestest_tr1.exe tupleutilitytest.exe typetraitstest.exe utilitytest.exe<br>make[4]: Entering directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/dune/common/test'<br>g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../../..  -I../../..   -g -O2 -Wall -MT arraylisttest.o -MD -MP -MF .deps/arraylisttest.Tpo -c -o arraylisttest.o arraylisttest.cc<br>mv -f .deps/arraylisttest.Tpo .deps/arraylisttest.Po<br>C:/localapp/local/cygwin64/bin/sh.exe ../../../libtool  --tag=CXX   --mode=link g++ -std=c++11  -g -O2 -Wall   -o arraylisttest.exe arraylisttest.o ../../../lib/<a href="http://libdunecommon.la" target="_blank">libdunecommon.la</a> -lm<br>libtool: link: g++ -std=c++11 -g -O2 -Wall -o arraylisttest.exe arraylisttest.o  ../../../lib/.libs/libdunecommon.a -LC:/LocalApp/local/MinGW64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2 -LC:/LocalApp/local/MinGW64/mingw64/bin/../lib/gcc -LC:/LocalApp/local/MinGW64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/lib/../lib -LC:/LocalApp/local/MinGW64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../lib -LC:/LocalApp/local/MinGW64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/lib -LC:/LocalApp/local/MinGW64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../.. -lgfortran -lmingw32 -lmoldname -lmingwex -lmsvcrt -lquadmath -lpthread -liconv<br>arraylisttest.o: In function `operator<< <std::char_traits<char> >':<span class=""><br>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'<br></span>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535:(.text+0x181): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'<span class=""><br>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'<br></span>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535:(.text+0x19a): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'<span class=""><br>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'<br></span>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535:(.text+0x1b3): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'<span class=""><br>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'<br></span>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535:(.text+0x377): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'<span class=""><br>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'<br></span>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535:(.text+0x390): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'<br>arraylisttest.o:/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535: more undefined references to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)' follow<br>arraylisttest.o: In function `operator<< <std::char_traits<char> >':<br>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535:(.text+0x3a9): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'<br>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535:(.text+0x45a): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'<br>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535:(.text+0x473): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'<br>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535:(.text+0x48c): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'<br>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535:(.text+0x529): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)'<br>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/ostream:535:(.text+0x542): additional relocation overflows omitted from the output<span class=""><br>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../lib/libcygwin.a(_cygwin_crt0_common.o):_cygwin_crt0_common.cc:(.data+0x0): undefined reference to `operator new(unsigned long)'<br>collect2: error: ld returned 1 exit status<br>makefile:1285: recipe for target 'arraylisttest.exe' failed<br>make[4]: *** [arraylisttest.exe] Error 1<br></span><span class="">make[4]: Leaving directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/dune/common/test'<br>makefile:2721: recipe for target 'check-am' failed<br>make[3]: *** [check-am] Error 2<br>make[3]: Leaving directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/dune/common/test'<br>makefile:699: recipe for target 'check-recursive' failed<br>make[2]: *** [check-recursive] Error 1<br>make[2]: Leaving directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/dune/common'<br>makefile:468: recipe for target 'check-recursive' failed<br>make[1]: *** [check-recursive] Error 1<br>make[1]: Leaving directory 'C:/LocalApp/local/dune2.3.1/dune-common-2.3.1/dune'<br>makefile:630: recipe for target 'check-recursive' failed<br>make: *** [check-recursive] Error 1<br><br></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 4, 2015 at 9:12 PM, Oliver Sander <span dir="ltr"><<a href="mailto:sander@igpm.rwth-aachen.de" target="_blank">sander@igpm.rwth-aachen.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 04.02.2015 um 21:36 schrieb Jö Fahlke:<br>
<span>> Am Wed,  4. Feb 2015, 19:21:24 +0000 schrieb Ganesh Diwan:<br>
>> I don't think it is able to perform this test successfully, here is the<br>
>> output:<br>
>><br>
>> Thanks<br>
>> Ganesh<br>
>><br>
>> /usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../lib/libcygwin.a(_cygwin_crt0_common.o):_cygwin_crt0_common.cc:(.data+0x0):<br>
>> undefined reference to `operator new(unsigned long)'<br>
>> collect2: error: ld returned 1 exit status<br>
>> makefile:1285: recipe for target 'arraylisttest.exe' failed<br>
>> make[4]: *** [arraylisttest.exe] Error 1<br>
>> make[4]: Leaving directory<br>
><br>
> We will probably need some more of the log from before that, in particular<br>
> how the linker was called.<br>
<br>
</span>This looks very much like the error from the test for dune-geometry.<br>
<span><br>
><br>
> (This looks like the linker was trying to link without the C++ standard<br>
> library.  Might be that the C-compiler was used for linking instead of the<br>
> C++-compiler.)<br>
<br>
</span>This was the first thing that I thought, but his dune-grid config.log shows that<br>
g++ is called instead of gcc (which is correct).  Ganesh, please post the complete<br>
log for the failing arraylisttest.exe.<br>
<br>
Plus: Ganesh, can you build an run a simple 'Hello World' programm in c++?<br>
Something like<br>
<br>
#include <iostream><br>
int main()<br>
{<br>
  std::cout << "Hello world!" << std::endl;<br>
}<br>
<br>
Cheers,<br>
Oliver<br>
<br>
<br>
><br>
> Regards,<br>
> Jö.<br>
><br>
<br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>