Re: [f2py] undefined symbol: G77_date_and_time_0
Pearu Peterson <[email protected]>
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 28, 2010 at 12:03 PM, Audrey Hureau <[email protected]> wrote: > Actually, it seems to be a library problem with a lot of undefined symbols. > I found the f2c library where symbols are defined. In that case you can use `f2py -c ... -lf2c` > However, it seems that for each subroutine, f2py create a symbol. I have a > InitEntetePy routine. When I try to execute my python program, I still have > a undefined symbol initentetepy_ Usually Fortran compilers lower the cases of routine names and append underscore to the names. If they don't by default then they usually provide switches for that. For more information, please give answers to the questions below. > Do you know something about the creation of symbols with f2py? Could you give an example session how exactly do you call f2py that would give undefined symbol errors? What Fortran and C compilers (vendor and version) are you using? What Fortran compiler flags are you using? What is the name of extension module you are building? Pearu