Suse 10.0 x86_64
François-Xavier Coudert
fxcoudert@gmail.com
Mon Jan 29 13:23:00 GMT 2007
> braun@ifh-lewb07:/home/braun/braun/works> gcc hello.f95
> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../lib64/crt1.o: In function
> `_start':
> ../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
> /tmp/cc4Eu28t.o: In function `MAIN__':
> hello.f95:(.text+0x7): undefined reference to `_gfortran_filename'
> hello.f95:(.text+0x11): undefined reference to `_gfortran_line' ....
In addition to what was said about gfortran-4.0.2 not really being a
usable gfortran version, the compiler should be called 'gfortran
hello.f95' and not 'gcc hello.f95'.
FX
More information about the Fortran
mailing list