undefined reference to `__w32_sharedptr_unexpected'

Brian Dessent brian@dessent.net
Mon Jun 2 19:56:00 GMT 2008


Aaron Patton wrote:

> Well that made the cpp stuff happy, but now the fortran stuff  yields
> the following

I had neglected the fact that this was a mixed language link.  In that
case there's no way to avoid exposing the implementation details; you'll
have to either use g++ and add -lgfortran or use gfortran and add
-lstdc++ -lsupc++.  I think the former is slightly cleaner than the
latter.

Brian



More information about the Gcc-help mailing list