Hi Arjen, maybe an old library is linked to, which contains differently named functions? Could you try to compile the simple fortran program from the Windows CLI? run cmd.exe, set the path with
set PATH=c:\mingw_gcc\bin;%PATH% and compile the program. MSYS maybe sets some other environment variables (e.g. LIB) where gcc looks first or something like that. Regards, Werner Arjen Markus wrote: >> Hi Arjen, >>> The official GCC compilers that I get via TDM do _not_ include >>> gfortran, however! So that seems to be the end of the line: >>> - the TDM distribution is incomplete >>> - the official distribution does not have gfortran >> The official distribution is MinGW 3.4.5 and gfortran was first >> available for gcc 4.0. So, I'm not sure, but the only other choice would >> be to use the links Alan provided and download all needed packages by >> hand from sf.net. But use 4.2.1, since they are known (as far as I >> remember) to be more stable than the 4.3.0 alpha release. > > Hi Werner, Alan, > > I installed version 4.2.1 (gcc+gfortran - sjlj version, the only one > of that version number at the site that I could find) and this > is the result on the same very basic program (F77 version): > > Command: > c:\mingw_gcc\bin\gfortran-sjlj -o fmain fmain.f > > Result: > c:/mingw_gcc/bin/../lib/gcc/mingw32/4.2.1-sjlj/libgfortran.a(write.o):write.c:(.text+0x9ce): > undefined reference to `__mingw_snprintf' > c:/mingw_gcc/bin/../lib/gcc/mingw32/4.2.1-sjlj/libgfortran.a(write.o):write.c:(.text+0xd4f): > undefined reference to `__mingw_snprintf' > collect2: ld returned 1 exit status > > I seem to be doing something wrong, I am afraid, but I do not see what! > > Regards, > > Arjen > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Plplot-devel mailing list > Plplot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/plplot-devel -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel