[Dune] Dune on cygwin
Oliver Sander
sander at igpm.rwth-aachen.de
Wed Feb 4 22:12:02 CET 2015
Am 04.02.2015 um 21:36 schrieb Jö Fahlke:
> Am Wed, 4. Feb 2015, 19:21:24 +0000 schrieb Ganesh Diwan:
>> I don't think it is able to perform this test successfully, here is the
>> output:
>>
>> Thanks
>> Ganesh
>>
>> /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)'
>> collect2: error: ld returned 1 exit status
>> makefile:1285: recipe for target 'arraylisttest.exe' failed
>> make[4]: *** [arraylisttest.exe] Error 1
>> make[4]: Leaving directory
>
> We will probably need some more of the log from before that, in particular
> how the linker was called.
This looks very much like the error from the test for dune-geometry.
>
> (This looks like the linker was trying to link without the C++ standard
> library. Might be that the C-compiler was used for linking instead of the
> C++-compiler.)
This was the first thing that I thought, but his dune-grid config.log shows that
g++ is called instead of gcc (which is correct). Ganesh, please post the complete
log for the failing arraylisttest.exe.
Plus: Ganesh, can you build an run a simple 'Hello World' programm in c++?
Something like
#include <iostream>
int main()
{
std::cout << "Hello world!" << std::endl;
}
Cheers,
Oliver
>
> Regards,
> Jö.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150204/5f658c1b/attachment.sig>
More information about the Dune
mailing list