View Single Post
  #2   Report Post  
Old October 24th 06, 09:23 PM posted to rec.radio.amateur.antenna
Brian Howie Brian Howie is offline
external usenet poster
 
First recorded activity by RadioBanter: Jul 2006
Posts: 112
Default NEC-1.2 compile error with g77 FORTRAN

In message om,
WaveMaker writes
I downloaded the NEC source code from http://www.qsl.net/m5aiq/nec.html

My compiler is GNU FORTRAN (g77).

The compile error is: "Reference to intrinsic function 'SECNDS' as if
it were a subroutine at (^)"

My FORTRAN is a bit rusty, before I go climb that hill, can a wise old
coder offer a fix?

It's used to work out execution time

There is a call to a subroutine SECNDS . SECNDS is a built in function
in gnu FORTRAN that interrogates the computer clock

http://gcc.gnu.org/onlinedocs/gcc-4....an/SECNDS.html

remove the "CALL" and it should work


Brian GM4DIJ
--
Brian Howie