Hi All
I am trying to compile a Fortran code on Mac OSX 10.4 ppc.
when I call using make, I get the following error.
g77 pmpb.f
/usr/bin/ld: Undefined symbols:
_MAIN__
collect2: ld returned 1 exit status
make: *** [pmpb.o] Error 1
Them Makefile lokks like this:
## Machine: Macintosh (PPC)
## CPU Type: PowerPC G4/G5
## Oper Sys: OS X 10.4 (Tiger)
## Compiler: GNU
#F77 = /usr/local/bin/g77
#F77FLAGS = -c
#OPTFLAGS = -O3 -ffast-math
#LIBFLAGS = -crusv
#LINKFLAGS = -g -ffixed-line-length-132
Could you please help me.
Thanks
Jay
University of Houston
Texas
I am trying to compile a Fortran code on Mac OSX 10.4 ppc.
when I call using make, I get the following error.
g77 pmpb.f
/usr/bin/ld: Undefined symbols:
_MAIN__
collect2: ld returned 1 exit status
make: *** [pmpb.o] Error 1
Them Makefile lokks like this:
## Machine: Macintosh (PPC)
## CPU Type: PowerPC G4/G5
## Oper Sys: OS X 10.4 (Tiger)
## Compiler: GNU
#F77 = /usr/local/bin/g77
#F77FLAGS = -c
#OPTFLAGS = -O3 -ffast-math
#LIBFLAGS = -crusv
#LINKFLAGS = -g -ffixed-line-length-132
Could you please help me.
Thanks
Jay
University of Houston
Texas