The issue doesn't occur when using CMake directly, I'll forget dunecontrol
for the moment.

Thanks,
Júlio.


2013/7/23 Júlio Hoffimann <[email protected]>

> Dear all,
>
> It's my very first time trying to build OPM. As far as I understood, we
> need to clone all repositories in the same directory and, assuming all
> dependencies are installed, run the dunecontrol tool at the root.
>
> $ dunecontrol all
>
> Again, if I understood it correctly, this is just a script that will check
> for all dune modules in the current directory and run the configure/make
> accordingly.
>
> CMake is returning me an error in the first module (opm-core):
>
> Linking CXX executable bin/test_blackoilfluid
> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o: In
> function `_start':
> (.text+0x20): undefined reference to `main'
> collect2: error: ld returned 1 exit status
> make[2]: *** [bin/test_blackoilfluid] Error 1
> make[1]: *** [CMakeFiles/test_blackoilfluid.dir/all] Error 2
> make: *** [all] Error 2
> --- Failed to build opm-core ---
> Terminating dunecontrol due to previous errors!
>
> It seems some of the unit tests are being misinterpreted. Could you please
> help me fix this?
>
> Best,
> Júlio.
>
_______________________________________________
Opm mailing list
[email protected]
http://www.opm-project.org/mailman/listinfo/opm

Reply via email to