g95: undefined symbol
From: Dominique Orban (Dominique.Orban_at_polymtl.ca)
Date: 12/16/04
- Next message: Gordon Sande: "Re: question on the svd"
- Previous message: glen herrmannsfeldt: "Re: Assignment of undefined variables"
- Next in thread: Dr Ivan D. Reid: "Re: g95: undefined symbol"
- Reply: Dr Ivan D. Reid: "Re: g95: undefined symbol"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 16 Dec 2004 13:32:27 GMT
Hello,
I am building shared libraries to be loaded from within Python. I don't
believe my question is Python-specific and I am most likely missing
something obvious. The libraries are made of F77, F90 and C source code.
library1.so contains only F77 and F90 code and this F90 code has defined
modules.
library2.so contains an F90 interface to the code in library1.so and a C
interface to Python. When i compile it, i specify where to find module
information.
All compiles well and runs well with the Intel compiler.
All compiles well with g95, but when i try to run an example using
library2.so, i get
undefined symbol '_g95_section_info'
'nm' reveals that this symbol is indeed undefined in library2.so, but is
defined in library1.so.
As an additional clue, when i merge all the sources making up
library1.so and library2.so into a single library, all compiles and runs
well. I can't reasonably keep them merged though, for licensing reasons.
I must have missed something obvious, but what it is just isn't striking
me. I would really appreciate any help.
Thanks in advance,
Dominique
- Next message: Gordon Sande: "Re: question on the svd"
- Previous message: glen herrmannsfeldt: "Re: Assignment of undefined variables"
- Next in thread: Dr Ivan D. Reid: "Re: g95: undefined symbol"
- Reply: Dr Ivan D. Reid: "Re: g95: undefined symbol"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|