Date: Tue, 16 Mar 2004 06:35:59 +0000 From: "clayton rollins" <crollins666@hotmail.com> To: freebsd-questions@freebsd.org Subject: porting julian time lib.; fortran errors Message-ID: <Sea1-F22LAPDVXLuSbh0004e5ae@hotmail.com>
next in thread | raw e-mail | index | archive | help
Hi List, 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. overview: http://ringmaster.arc.nasa.gov/toolkits/julian_132_html/aareadme.html download: http://ringmaster.arc.nasa.gov/toolkits/order.html (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': fjulian.for:120: FJul_ParseDT = GJUL_PARSEDT(array1, array2, dutc, secs) 1 2 Type disagreement between expressions at (1) and (2) (happens 3x) 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) logical*4 GJul_ParseDT Changing the two declarations to similar types caused the first error to go away, however many undefined reference errors are given during linking. Sample: /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? Thanks, Clayton _________________________________________________________________ Find things fast with the new MSN Toolbar – includes FREE pop-up blocking! http://clk.atdmt.com/AVE/go/onm00200414ave/direct/01/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Sea1-F22LAPDVXLuSbh0004e5ae>