MmgTools / mmg

open source software for bidimensional and tridimensional remeshing

Home Page:http://www.mmgtools.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clang 11 generates many multiple definitions when linking mmg

prudhomm opened this issue · comments

in clang11 the option -fno-common has been enabled as the default for all targets. Therefore, C code that uses tentative definitions as definitions of a variable in multiple translation units will trigger multiple-definition linker errors.
Generally, this occurs when the use of the extern keyword is neglected in the declaration of a variable in a header file.
In some cases, no specific translation unit provides a definition of the variable.
The previous behavior can be restored by specifying -fcommon.

I will set -fcommon but it might be good to consider these errors ?

here are the multiple definitions:

build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x10): multiple definition of `MMG5_bezierCP'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x8): multiple definition of `MMG5_chkmsh'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x40): multiple definition of `MMG5_compute_meanMetricAtMarkedPoints'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x38): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x30): multiple definition of `MMG5_grad2met_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x28): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x38): multiple definition of `MMG5_grad2metreq_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x30): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x20): multiple definition of `MMG5_indElt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x28): multiple definition of `MMG5_indPt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x18): multiple definition of `MMG5_lenSurfEdg'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x48): multiple definition of `MMG5_renumbering'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x40): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/isosiz_2d.c.o:(.bss+0x68): multiple definition of `MMG2D_caltri'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x70): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/isosiz_2d.c.o:(.bss+0x48): multiple definition of `MMG2D_defsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x50): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/isosiz_2d.c.o:(.bss+0x70): multiple definition of `MMG2D_gradsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x78): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/isosiz_2d.c.o:(.bss+0x60): multiple definition of `MMG2D_gradsizreq'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x68): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/isosiz_2d.c.o:(.bss+0x50): multiple definition of `MMG2D_intmet'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x58): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/isosiz_2d.c.o:(.bss+0x58): multiple definition of `MMG2D_lencurv'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x60): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/isosiz_2d.c.o:(.bss+0x10): multiple definition of `MMG5_bezierCP'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/isosiz_2d.c.o:(.bss+0x8): multiple definition of `MMG5_chkmsh'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/isosiz_2d.c.o:(.bss+0x0): multiple definition of `MMG5_compute_meanMetricAtMarkedPoints'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x38): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/isosiz_2d.c.o:(.bss+0x30): multiple definition of `MMG5_grad2met_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x28): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/isosiz_2d.c.o:(.bss+0x38): multiple definition of `MMG5_grad2metreq_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x30): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/isosiz_2d.c.o:(.bss+0x20): multiple definition of `MMG5_indElt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/isosiz_2d.c.o:(.bss+0x28): multiple definition of `MMG5_indPt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/isosiz_2d.c.o:(.bss+0x18): multiple definition of `MMG5_lenSurfEdg'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/isosiz_2d.c.o:(.bss+0x40): multiple definition of `MMG5_renumbering'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x40): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/libmmg2d.c.o:(.bss+0x68): multiple definition of `MMG2D_caltri'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x70): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/libmmg2d.c.o:(.bss+0x48): multiple definition of `MMG2D_defsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x50): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/libmmg2d.c.o:(.bss+0x70): multiple definition of `MMG2D_gradsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x78): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/libmmg2d.c.o:(.bss+0x60): multiple definition of `MMG2D_gradsizreq'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x68): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/libmmg2d.c.o:(.bss+0x50): multiple definition of `MMG2D_intmet'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x58): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/libmmg2d.c.o:(.bss+0x58): multiple definition of `MMG2D_lencurv'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x60): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/libmmg2d.c.o:(.bss+0x8): multiple definition of `MMG5_bezierCP'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/libmmg2d.c.o:(.bss+0x0): multiple definition of `MMG5_chkmsh'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/libmmg2d.c.o:(.bss+0x38): multiple definition of `MMG5_compute_meanMetricAtMarkedPoints'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x38): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/libmmg2d.c.o:(.bss+0x28): multiple definition of `MMG5_grad2met_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x28): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/libmmg2d.c.o:(.bss+0x30): multiple definition of `MMG5_grad2metreq_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x30): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/libmmg2d.c.o:(.bss+0x18): multiple definition of `MMG5_indElt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/libmmg2d.c.o:(.bss+0x20): multiple definition of `MMG5_indPt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/libmmg2d.c.o:(.bss+0x10): multiple definition of `MMG5_lenSurfEdg'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/libmmg2d.c.o:(.bss+0x40): multiple definition of `MMG5_renumbering'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x40): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/mmg2dexterns.c.o:(.bss+0x68): multiple definition of `MMG2D_caltri'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x70): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/mmg2dexterns.c.o:(.bss+0x48): multiple definition of `MMG2D_defsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x50): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/mmg2dexterns.c.o:(.bss+0x70): multiple definition of `MMG2D_gradsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x78): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/mmg2dexterns.c.o:(.bss+0x60): multiple definition of `MMG2D_gradsizreq'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x68): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/mmg2dexterns.c.o:(.bss+0x50): multiple definition of `MMG2D_intmet'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x58): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/mmg2dexterns.c.o:(.bss+0x58): multiple definition of `MMG2D_lencurv'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x60): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/mmg2dexterns.c.o:(.bss+0x8): multiple definition of `MMG5_bezierCP'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/mmg2dexterns.c.o:(.bss+0x0): multiple definition of `MMG5_chkmsh'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/mmg2dexterns.c.o:(.bss+0x38): multiple definition of `MMG5_compute_meanMetricAtMarkedPoints'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x38): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/mmg2dexterns.c.o:(.bss+0x28): multiple definition of `MMG5_grad2met_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x28): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/mmg2dexterns.c.o:(.bss+0x30): multiple definition of `MMG5_grad2metreq_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x30): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/mmg2dexterns.c.o:(.bss+0x18): multiple definition of `MMG5_indElt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/mmg2dexterns.c.o:(.bss+0x20): multiple definition of `MMG5_indPt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/mmg2dexterns.c.o:(.bss+0x10): multiple definition of `MMG5_lenSurfEdg'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/mmg2dexterns.c.o:(.bss+0x40): multiple definition of `MMG5_renumbering'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x40): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/variadic_2d.c.o:(.bss+0x68): multiple definition of `MMG2D_caltri'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x70): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/variadic_2d.c.o:(.bss+0x48): multiple definition of `MMG2D_defsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x50): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/variadic_2d.c.o:(.bss+0x70): multiple definition of `MMG2D_gradsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x78): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/variadic_2d.c.o:(.bss+0x60): multiple definition of `MMG2D_gradsizreq'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x68): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/variadic_2d.c.o:(.bss+0x50): multiple definition of `MMG2D_intmet'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x58): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/variadic_2d.c.o:(.bss+0x58): multiple definition of `MMG2D_lencurv'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/anisosiz_2d.c.o:(.bss+0x60): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/variadic_2d.c.o:(.bss+0x8): multiple definition of `MMG5_bezierCP'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/variadic_2d.c.o:(.bss+0x0): multiple definition of `MMG5_chkmsh'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/variadic_2d.c.o:(.bss+0x38): multiple definition of `MMG5_compute_meanMetricAtMarkedPoints'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x38): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/variadic_2d.c.o:(.bss+0x28): multiple definition of `MMG5_grad2met_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x28): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/variadic_2d.c.o:(.bss+0x30): multiple definition of `MMG5_grad2metreq_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x30): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/variadic_2d.c.o:(.bss+0x18): multiple definition of `MMG5_indElt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/variadic_2d.c.o:(.bss+0x20): multiple definition of `MMG5_indPt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/variadic_2d.c.o:(.bss+0x10): multiple definition of `MMG5_lenSurfEdg'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg2d/variadic_2d.c.o:(.bss+0x40): multiple definition of `MMG5_renumbering'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x40): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x38): multiple definition of `MMG5_bezierCP'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x30): multiple definition of `MMG5_chkmsh'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x60): multiple definition of `MMG5_compute_meanMetricAtMarkedPoints'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x38): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x50): multiple definition of `MMG5_grad2met_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x28): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x58): multiple definition of `MMG5_grad2metreq_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x30): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x40): multiple definition of `MMG5_indElt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x48): multiple definition of `MMG5_indPt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x28): multiple definition of `MMG5_lenSurfEdg'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x68): multiple definition of `MMG5_renumbering'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x40): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0xc8): multiple definition of `MMG3D_PROctreein'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xd0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x70): multiple definition of `MMG3D_defsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x78): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x78): multiple definition of `MMG3D_gradsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x80): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x80): multiple definition of `MMG3D_gradsizreq'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x88): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x48): multiple definition of `MMG3D_lenedgCoor'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x10): multiple definition of `MMG5_bezierCP'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x60): multiple definition of `MMG5_caltet'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x68): multiple definition of `MMG5_caltri'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0xc0): multiple definition of `MMG5_cavity'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xc8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x8): multiple definition of `MMG5_chkmsh'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x0): multiple definition of `MMG5_compute_meanMetricAtMarkedPoints'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x38): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x30): multiple definition of `MMG5_grad2met_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x28): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x38): multiple definition of `MMG5_grad2metreq_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x30): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x20): multiple definition of `MMG5_indElt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x28): multiple definition of `MMG5_indPt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x90): multiple definition of `MMG5_interp4bar'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x98): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x88): multiple definition of `MMG5_intmet'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x90): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x18): multiple definition of `MMG5_lenSurfEdg'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x50): multiple definition of `MMG5_lenedg'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x58): multiple definition of `MMG5_lenedgspl'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x70): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0xb0): multiple definition of `MMG5_movbdynompt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xb8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0xa8): multiple definition of `MMG5_movbdyrefpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xb0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0xa0): multiple definition of `MMG5_movbdyregpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xa8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0xb8): multiple definition of `MMG5_movbdyridpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xc0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x98): multiple definition of `MMG5_movintpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xa0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/isosiz_3d.c.o:(.bss+0x40): multiple definition of `MMG5_renumbering'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x40): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0xc8): multiple definition of `MMG3D_PROctreein'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xd0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x70): multiple definition of `MMG3D_defsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x78): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x78): multiple definition of `MMG3D_gradsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x80): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x80): multiple definition of `MMG3D_gradsizreq'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x88): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x48): multiple definition of `MMG3D_lenedgCoor'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x8): multiple definition of `MMG5_bezierCP'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x60): multiple definition of `MMG5_caltet'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x68): multiple definition of `MMG5_caltri'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0xc0): multiple definition of `MMG5_cavity'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xc8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x0): multiple definition of `MMG5_chkmsh'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x38): multiple definition of `MMG5_compute_meanMetricAtMarkedPoints'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x38): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x28): multiple definition of `MMG5_grad2met_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x28): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x30): multiple definition of `MMG5_grad2metreq_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x30): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x18): multiple definition of `MMG5_indElt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x20): multiple definition of `MMG5_indPt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x90): multiple definition of `MMG5_interp4bar'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x98): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x88): multiple definition of `MMG5_intmet'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x90): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x10): multiple definition of `MMG5_lenSurfEdg'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x50): multiple definition of `MMG5_lenedg'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x58): multiple definition of `MMG5_lenedgspl'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x70): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0xb0): multiple definition of `MMG5_movbdynompt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xb8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0xa8): multiple definition of `MMG5_movbdyrefpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xb0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0xa0): multiple definition of `MMG5_movbdyregpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xa8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0xb8): multiple definition of `MMG5_movbdyridpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xc0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x98): multiple definition of `MMG5_movintpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xa0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/libmmg3d.c.o:(.bss+0x40): multiple definition of `MMG5_renumbering'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x40): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0xc8): multiple definition of `MMG3D_PROctreein'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xd0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x70): multiple definition of `MMG3D_defsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x78): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x78): multiple definition of `MMG3D_gradsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x80): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x80): multiple definition of `MMG3D_gradsizreq'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x88): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x48): multiple definition of `MMG3D_lenedgCoor'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x8): multiple definition of `MMG5_bezierCP'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x60): multiple definition of `MMG5_caltet'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x68): multiple definition of `MMG5_caltri'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0xc0): multiple definition of `MMG5_cavity'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xc8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x0): multiple definition of `MMG5_chkmsh'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x38): multiple definition of `MMG5_compute_meanMetricAtMarkedPoints'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x38): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x28): multiple definition of `MMG5_grad2met_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x28): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x30): multiple definition of `MMG5_grad2metreq_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x30): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x18): multiple definition of `MMG5_indElt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x20): multiple definition of `MMG5_indPt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x90): multiple definition of `MMG5_interp4bar'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x98): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x88): multiple definition of `MMG5_intmet'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x90): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x10): multiple definition of `MMG5_lenSurfEdg'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x50): multiple definition of `MMG5_lenedg'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x58): multiple definition of `MMG5_lenedgspl'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x70): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0xb0): multiple definition of `MMG5_movbdynompt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xb8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0xa8): multiple definition of `MMG5_movbdyrefpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xb0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0xa0): multiple definition of `MMG5_movbdyregpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xa8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0xb8): multiple definition of `MMG5_movbdyridpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xc0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x98): multiple definition of `MMG5_movintpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xa0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/mmg3dexterns.c.o:(.bss+0x40): multiple definition of `MMG5_renumbering'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x40): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0xc8): multiple definition of `MMG3D_PROctreein'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xd0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x70): multiple definition of `MMG3D_defsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x78): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x78): multiple definition of `MMG3D_gradsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x80): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x80): multiple definition of `MMG3D_gradsizreq'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x88): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x48): multiple definition of `MMG3D_lenedgCoor'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x8): multiple definition of `MMG5_bezierCP'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x60): multiple definition of `MMG5_caltet'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x68): multiple definition of `MMG5_caltri'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0xc0): multiple definition of `MMG5_cavity'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xc8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x0): multiple definition of `MMG5_chkmsh'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x38): multiple definition of `MMG5_compute_meanMetricAtMarkedPoints'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x38): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x28): multiple definition of `MMG5_grad2met_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x28): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x30): multiple definition of `MMG5_grad2metreq_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x30): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x18): multiple definition of `MMG5_indElt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x20): multiple definition of `MMG5_indPt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x90): multiple definition of `MMG5_interp4bar'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x98): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x88): multiple definition of `MMG5_intmet'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x90): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x10): multiple definition of `MMG5_lenSurfEdg'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x50): multiple definition of `MMG5_lenedg'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x58): multiple definition of `MMG5_lenedgspl'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0x70): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0xb0): multiple definition of `MMG5_movbdynompt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xb8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0xa8): multiple definition of `MMG5_movbdyrefpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xb0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0xa0): multiple definition of `MMG5_movbdyregpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xa8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0xb8): multiple definition of `MMG5_movbdyridpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xc0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x98): multiple definition of `MMG5_movintpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/anisosiz_3d.c.o:(.bss+0xa0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmg3d/variadic_3d.c.o:(.bss+0x40): multiple definition of `MMG5_renumbering'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x40): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x20): multiple definition of `MMG5_bezierCP'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x18): multiple definition of `MMG5_chkmsh'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x48): multiple definition of `MMG5_compute_meanMetricAtMarkedPoints'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x38): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x38): multiple definition of `MMG5_grad2met_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x28): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x40): multiple definition of `MMG5_grad2metreq_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x30): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x28): multiple definition of `MMG5_indElt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x30): multiple definition of `MMG5_indPt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x10): multiple definition of `MMG5_lenSurfEdg'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x50): multiple definition of `MMG5_renumbering'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x40): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/isosiz_s.c.o:(.bss+0x10): multiple definition of `MMG5_bezierCP'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/isosiz_s.c.o:(.bss+0x58): multiple definition of `MMG5_calelt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/isosiz_s.c.o:(.bss+0x8): multiple definition of `MMG5_chkmsh'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/isosiz_s.c.o:(.bss+0x0): multiple definition of `MMG5_compute_meanMetricAtMarkedPoints'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x38): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/isosiz_s.c.o:(.bss+0x30): multiple definition of `MMG5_grad2met_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x28): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/isosiz_s.c.o:(.bss+0x38): multiple definition of `MMG5_grad2metreq_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x30): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/isosiz_s.c.o:(.bss+0x20): multiple definition of `MMG5_indElt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/isosiz_s.c.o:(.bss+0x28): multiple definition of `MMG5_indPt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/isosiz_s.c.o:(.bss+0x18): multiple definition of `MMG5_lenSurfEdg'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/isosiz_s.c.o:(.bss+0x40): multiple definition of `MMG5_renumbering'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x40): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/isosiz_s.c.o:(.bss+0x50): multiple definition of `MMGS_defsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x60): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/isosiz_s.c.o:(.bss+0x60): multiple definition of `MMGS_gradsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x68): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/isosiz_s.c.o:(.bss+0x68): multiple definition of `MMGS_gradsizreq'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x70): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/isosiz_s.c.o:(.bss+0x70): multiple definition of `intmet'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x78): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/isosiz_s.c.o:(.bss+0x48): multiple definition of `movintpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x58): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/isosiz_s.c.o:(.bss+0x78): multiple definition of `movridpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x80): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/libmmgs.c.o:(.bss+0x8): multiple definition of `MMG5_bezierCP'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/libmmgs.c.o:(.bss+0x58): multiple definition of `MMG5_calelt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/libmmgs.c.o:(.bss+0x0): multiple definition of `MMG5_chkmsh'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/libmmgs.c.o:(.bss+0x38): multiple definition of `MMG5_compute_meanMetricAtMarkedPoints'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x38): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/libmmgs.c.o:(.bss+0x28): multiple definition of `MMG5_grad2met_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x28): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/libmmgs.c.o:(.bss+0x30): multiple definition of `MMG5_grad2metreq_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x30): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/libmmgs.c.o:(.bss+0x18): multiple definition of `MMG5_indElt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/libmmgs.c.o:(.bss+0x20): multiple definition of `MMG5_indPt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/libmmgs.c.o:(.bss+0x10): multiple definition of `MMG5_lenSurfEdg'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/libmmgs.c.o:(.bss+0x40): multiple definition of `MMG5_renumbering'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x40): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/libmmgs.c.o:(.bss+0x50): multiple definition of `MMGS_defsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x60): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/libmmgs.c.o:(.bss+0x60): multiple definition of `MMGS_gradsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x68): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/libmmgs.c.o:(.bss+0x68): multiple definition of `MMGS_gradsizreq'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x70): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/libmmgs.c.o:(.bss+0x70): multiple definition of `intmet'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x78): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/libmmgs.c.o:(.bss+0x48): multiple definition of `movintpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x58): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/libmmgs.c.o:(.bss+0x78): multiple definition of `movridpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x80): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/mmgsexterns.c.o:(.bss+0x8): multiple definition of `MMG5_bezierCP'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/mmgsexterns.c.o:(.bss+0x58): multiple definition of `MMG5_calelt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/mmgsexterns.c.o:(.bss+0x0): multiple definition of `MMG5_chkmsh'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/mmgsexterns.c.o:(.bss+0x38): multiple definition of `MMG5_compute_meanMetricAtMarkedPoints'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x38): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/mmgsexterns.c.o:(.bss+0x28): multiple definition of `MMG5_grad2met_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x28): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/mmgsexterns.c.o:(.bss+0x30): multiple definition of `MMG5_grad2metreq_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x30): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/mmgsexterns.c.o:(.bss+0x18): multiple definition of `MMG5_indElt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/mmgsexterns.c.o:(.bss+0x20): multiple definition of `MMG5_indPt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/mmgsexterns.c.o:(.bss+0x10): multiple definition of `MMG5_lenSurfEdg'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/mmgsexterns.c.o:(.bss+0x40): multiple definition of `MMG5_renumbering'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x40): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/mmgsexterns.c.o:(.bss+0x50): multiple definition of `MMGS_defsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x60): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/mmgsexterns.c.o:(.bss+0x60): multiple definition of `MMGS_gradsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x68): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/mmgsexterns.c.o:(.bss+0x68): multiple definition of `MMGS_gradsizreq'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x70): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/mmgsexterns.c.o:(.bss+0x70): multiple definition of `intmet'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x78): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/mmgsexterns.c.o:(.bss+0x48): multiple definition of `movintpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x58): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/mmgsexterns.c.o:(.bss+0x78): multiple definition of `movridpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x80): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/variadic_s.c.o:(.bss+0x8): multiple definition of `MMG5_bezierCP'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/variadic_s.c.o:(.bss+0x58): multiple definition of `MMG5_calelt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x8): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/variadic_s.c.o:(.bss+0x0): multiple definition of `MMG5_chkmsh'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x0): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/variadic_s.c.o:(.bss+0x38): multiple definition of `MMG5_compute_meanMetricAtMarkedPoints'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x38): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/variadic_s.c.o:(.bss+0x28): multiple definition of `MMG5_grad2met_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x28): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/variadic_s.c.o:(.bss+0x30): multiple definition of `MMG5_grad2metreq_ani'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x30): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/variadic_s.c.o:(.bss+0x18): multiple definition of `MMG5_indElt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x18): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/variadic_s.c.o:(.bss+0x20): multiple definition of `MMG5_indPt'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x20): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/variadic_s.c.o:(.bss+0x10): multiple definition of `MMG5_lenSurfEdg'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x10): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/variadic_s.c.o:(.bss+0x40): multiple definition of `MMG5_renumbering'; CMakeFiles/libfeelpp_mmg_so.dir/src/common/mmgexterns.c.o:(.bss+0x40): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/variadic_s.c.o:(.bss+0x50): multiple definition of `MMGS_defsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x60): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/variadic_s.c.o:(.bss+0x60): multiple definition of `MMGS_gradsiz'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x68): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/variadic_s.c.o:(.bss+0x68): multiple definition of `MMGS_gradsizreq'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x70): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/variadic_s.c.o:(.bss+0x70): multiple definition of `intmet'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x78): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/variadic_s.c.o:(.bss+0x48): multiple definition of `movintpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x58): first defined here
[build] /usr/bin/ld: CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/variadic_s.c.o:(.bss+0x78): multiple definition of `movridpt'; CMakeFiles/libfeelpp_mmg_so.dir/src/mmgs/anisosiz_s.c.o:(.bss+0x80): first defined here

Hello Christophe,

Thanks for this feedback.

I am trying to reproduce the compiler error by building a very simple c++ program that links Mmg but for now I can't reproduce the bug (even if I enforce the -fno-common flag):

  • are you using clang on a linux distribution or on osx?
  • if on osx, does it occurs with the XCode's clang or with another version of clang?

thank you by advance,
Regards,

Algiane

@Algiane I am using it on linux ubuntu 20.04, I installed the 20.04 ubuntu packages

be careful that on osx the clang version shipped by apple does not correspond to the clang version shipped by llvm.

Hello Christophe,

Thank you for the precisions.

Running on ubuntu 20.04 with clang++-11 I was able to reproduce your compiler errors (by compiling the remesh branch of the feelpp repository).

For me the errors are linked to the 5.4.3 version of Mmg but have been removed in the 5.5.1 release (I have just replaced the feelpp/feelpp/contrib/mmg directory by the new version).

Just note that with a version of CMake >= 3.13, I had to add few lines in contrib/CMakeLists.txt to avoid the download of the Mmg tests. I attach the patch in case you find it usefull.

cmake_policy_cmp0077.txt

Please, let me know if the release 5.5.1 of Mmg solves your compilation issue.

Regards,
Algiane

Hello @prudhomm,

Can I close this thread or is it still something to fix?

Thank you by advance,
Algiane

@Algiane the problem is still there.currently it can be pushed under the rug with an option.
It would be best at some point to fix the code and be compliant.

Thanks for the feedback: it happens with both versions of Mmg (5.4.3 and 5.5.1) or only with the 5.4 one (I still fail to reproduce the error with the 5.5.1 release)?

Hi @prudhomm ,

This issue should be fixed in the 5.6.0 release.
Please, let me know if it works for you too.

Best Regards,
Algiane

I believe this is fixed 👍
Now mmg and parmmg compile nicely

Thanks for taking the time to give me this feedback!