|
From: Raymond T. <to...@rt...> - 2002-03-26 14:47:39
|
>>>>> "Nicolas" == Nicolas Neuss <Nic...@iw...> writes:
Nicolas> Raymond Toy <to...@rt...> writes:
>> Don't think rebuilding will help, but you never know.
>>
>> Can you tell me what load-blas-&-lapack-libraries in lazy-loader.lisp
>> looks like? We obviously aren't able to find the fstat function, so
>> I'm thinking we aren't linking with libc for some reason.
>>
>> Ray
>>
Nicolas> Sorry, I had overlooked the second part of your first reponse at the
Nicolas> beginning. The function reads:
Nicolas> (defun load-blas-&-lapack-libraries ()
Nicolas> (ext::load-foreign "matlisp:lib;lazy-loader.o"
Nicolas> :libraries (tokenize-ld-args
Nicolas> (concatenate 'string
Nicolas> ""
Nicolas> " "
Nicolas> ""
Nicolas> " "
Nicolas> "-L"
Nicolas> (namestring
Nicolas> (translate-logical-pathname "matlisp:lib"))
Nicolas> " "
Nicolas> "-R"
Nicolas> (namestring
Nicolas> (translate-logical-pathname "matlisp:lib"))
Nicolas> " "
Nicolas> "-lmatlisp"
Nicolas> " "
Nicolas> " -L/usr/lib/gcc-lib/i386-linux/2.95.4 -lg2c -lm"))))
Ok, before -lm, can you add -lc? Like so:
" -L/usr/lib/gcc-lib/i386-linux/2.95.4 -lg2c -lc -lm"))))
Then try rebuilding. I hope that takes care of the problem. If so,
then it's my problem to figure out why configure isn't adding -lc.
Ray
|