gmsh.so: undefined reference to `main'
When compiling Gmsh, I'm getting the link error
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
when liking gmsh.so
. Full details here.