- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everybody!
I am trying to compile a f90 program with /opt/intel/fce/9.1.045 (ifort) compiler on a x86-64 system (fedora core 6) and I must use the tecio64.a library, but I find the following error:
tecio64.a(tecxxx.o):(.gnu.linkonce.d.DW.ref.__gxx_personality_v0+0x0): undefined reference to `__gxx_personality_v0'
I guess some link is missing but I don't know which one. Could somebody help me, please?
Thank you very much in advance!!
Rosa
I am trying to compile a f90 program with /opt/intel/fce/9.1.045 (ifort) compiler on a x86-64 system (fedora core 6) and I must use the tecio64.a library, but I find the following error:
tecio64.a(tecxxx.o):(.gnu.linkonce.d.DW.ref.__gxx_personality_v0+0x0): undefined reference to `__gxx_personality_v0'
I guess some link is missing but I don't know which one. Could somebody help me, please?
Thank you very much in advance!!
Rosa
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ifthis library containsC++ functions built by g++ or icpc, you would likely need to add -lstdc++ in your link step.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may require the same major version of g++ to be active when you build with ifort as the one with which your library was made. Similar restrictions may apply when you run.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much for your help. I have added the library:
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/libstdc++.a
and it compiles in the right way. But when I execute, it gives me the following error:
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
converttotecplotb 0000000000406761 Unknown Unknown Unknown
converttotecplotb 00000000004080D1 Unknown Unknown Unknown
converttotecplotb 00000000004049F9 Unknown Unknown Unknown
converttotecplotb 00000000004038EA Unknown Unknown Unknown
libc.so.6 000000348061DA44 Unknown Unknown Unknown
converttotecplotb 000000000040382D Unknown Unknown Unknown
where 'converttotecplotb ' is part of the name of my f90 program. Does somebody have some idea about which can be the problem?
Thanks a lot again!
Rosa
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/libstdc++.a
and it compiles in the right way. But when I execute, it gives me the following error:
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
converttotecplotb 0000000000406761 Unknown Unknown Unknown
converttotecplotb 00000000004080D1 Unknown Unknown Unknown
converttotecplotb 00000000004049F9 Unknown Unknown Unknown
converttotecplotb 00000000004038EA Unknown Unknown Unknown
libc.so.6 000000348061DA44 Unknown Unknown Unknown
converttotecplotb 000000000040382D Unknown Unknown Unknown
where 'converttotecplotb ' is part of the name of my f90 program. Does somebody have some idea about which can be the problem?
Thanks a lot again!
Rosa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This report isn't very helpful. It could be stack overflow, which could be fixed by setting a larger stack. You may have to run with debugger to get more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have already solved the problem. Thank you very much for your help.
With kind regards :-)
Rosa
With kind regards :-)
Rosa
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page