I am trying to call a C routine (which uses C++ libraries) from a Fortran main program. To deal with the name mangling i need to link with a c++ linker. I've done this before, and it worked. But now I keep getting told "Cannot find main". Can't work out what I'm doing differently to before. Can anyone help?