------- Comment #9 from kargl at gcc dot gnu dot org 2010-07-16 18:45 ------- (In reply to comment #8) > Here's my command line, and the results: > > % gfortran -c m_dropdead.F90 m_die.F90 m_IndexBin_char.F90 > m_IndexBin_char.F90:12.25: > > use m_die, only : die > 1 > Error: Symbol 'die' referenced at (1) not found in module 'm_die' > m_IndexBin_char.F90:18.25: > > use m_die, only : die > 1 > Error: Symbol 'die' referenced at (1) not found in module 'm_die' > > % gfortran -v > Using built-in specs. > Target: i386-apple-darwin9.0.0 > Configured with: ../gcc-4.3-20071026/configure --enable-languages=fortran > Thread model: posix > gcc version 4.3.0 20071026 (experimental) (GCC)
In that case, I think you need to update to a newer version of gfortran. gfc43 in my comment #6 is gcc version 4.3.6 20100622 (prerelease) (GCC) BUt, if you go with an upgrade, I'll suggest 4.4.x or even 4.5.x. These versions of course have many more bug fixes than in the 4.3.x branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44957