[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: !HELP! foreign function interface to Fortran



The problem with the symbols that the loader is complaining about is
that, while used in the fortran libraries, the symbols are only
defined in the math library.  Try adding "m" to your list of
:system-libraries.

	Charley

   Date: Fri, 1 Dec 89 14:22:18 PST
   From: klin@argon.berkeley.edu (Kuang-Kuo Lin)

	[...]
   I go into CL (Allegro CL 3.1.beta.22 [Sun4]) and do the following:

       <cl> (use-package :ff)
       <cl> (require :foreign)
       <cl> (load "test.o" :system-libraries '("F77" "I77")
			   :unreferenced-lib-names '("_f_init"))
			   ; Foreign loading /home/radon1/users/hodges/klin/research/workstation_software/NAG/test/test.o with system libraries F77 I77.
       Undefined:
       _ieee_retrospective_
       __fp_convert_double_to_int
       _ir_fp_class_
       _fp_class
       Warning: Foreign load failed