On Fri, 13 Aug 2010, Sebastian Steiger wrote:
> While trying to statically link my application which uses libmesh I > discovered that there is an int main() in libtetgen.a: > > stei...@sebuntu:~/src/app-nemo/NEMO$ nm > libs/libmesh-0.6.4/libmesh/contrib/lib/x86_64-unknown-linux-gnu_opt/libtetgen.a > | grep main > 000000000004c0f0 T main > > I think the solution is to define TETLIBRARY during the compilation of > tetgen (see tetgen.C). This looks correct, but it's pretty surprising; I don't see why an extra copy of main doesn't screw up dynamic linking too. Looks like our tetgen Makefile was defining TRILIBRARY instead; an anachronism copied over from the triangle library support I assume. It's fixed in svn now. --- Roy ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel