porting julian time lib.; fortran errors
crollins666 at hotmail.com
Mon Mar 15 22:36:00 PST 2004
I'm having some trouble getting some third-party software
to compile on freebsd, and was hoping some fortran buff
out there had time to enlighten me. (I know no fortran.)
The specific software is the PDS Rings Node's Julian
Library, version 1.3.2.
(Note that ordering requires no personal information
or money, and goes through pretty fast.)
The errors I get when compiling initially are only in
one file, and are as follows:
fjulian.for: In function `fjul_parsedt':
FJul_ParseDT = GJUL_PARSEDT(array1, array2, dutc, secs)
Type disagreement between expressions at (1) and (2)
I'm not entirely code illiterate, and looking at the code
it would seem this is caused by the following lines:
integer*4 function FJul_ParseDT(string, pref, dutc, secs)
Changing the two declarations to similar types caused
the first error to go away, however many undefined
reference errors are given during linking.
/tmp/cctHLBe5.o(.text+0x2d7): undefined reference to `fjul_taiofdutc__'
All of these errors seem to occur where the C code is to
link in to the fortran code, making me believe the
symbols generated by the two are incompatible
somehow. Seeing as how f77 and gcc are part of the
same general package, though, this seems unlikely.
Anyone have any ideas?
Find things fast with the new MSN Toolbar includes FREE pop-up blocking!
More information about the freebsd-questions