- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Help!
I've got a c++ library I would like to access from Fortran. I created a simple wrapper in C++ for one of the classes I would like to access and buried the class/function access in there. I've got it linked up OK (had to link through C++ compiler) and am able to access the necessary class/function, returning the appropriate information. The problem is this: when the Fortran program hits the end statement, I am getting:
"** Address Error **
End of diagnostics"
error. I've run this thing through gdb and have determined the error is coming from std::ios_base::_M_call_callbacks(...).
I have commented out all references to my C++ routines yet I get the same error, without calling any C++ stuff. Looks like some generic C++ shutdown stuff is being called.
Is there anything I have to do to get the C++ stuff to behave correctly with Fortran?? I'm linking through the C++ compiler so all the default libraries are known (i get the Fortran default libraries through the -v option). Should I be doing this some other way??
I'm running Mandrake 9.1 and just downloaded the latest and greatest Intel Fortran compiler.
Thanks
James A. Galbraith
INEEL
galbja@inel.gov
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using the standard gcc 3.2.2 tht came with my Mandrake 9.1 distribution.
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your help
Jim

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page