Tobywhc
04-02-2008, 04:26 AM
I've met a problem on compiling nrtype.f90 with gfortran, and returns the following error message:
cheng@cheng-laptop:~$ gfortran nrtype.f90
/usr/lib/gcc/i486-linux-gnu/4.2.1/libgfortranbegin.a(fmain.o): In function `main':
(.text+0x23): undefined reference to `MAIN__'
collect2: ld returned 1 exit status
cheng@cheng-laptop:~$
can anyone help me?
cheng@cheng-laptop:~$ gfortran nrtype.f90
/usr/lib/gcc/i486-linux-gnu/4.2.1/libgfortranbegin.a(fmain.o): In function `main':
(.text+0x23): undefined reference to `MAIN__'
collect2: ld returned 1 exit status
cheng@cheng-laptop:~$
can anyone help me?