Re: Compilation problem with CMUCL
Nicolas Neuss <[email protected]>
| Newsgroups | gmane.lisp.matlisp.user |
|---|---|
| Message-ID | <[email protected]> |
Raymond Toy <[email protected]> writes: > >>>>> "Nicolas" == Nicolas Neuss <[email protected]> writes: > > Nicolas> Raymond Toy <[email protected]> writes: > >> > >> 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 > > Nicolas> Doesn't work, unfortunately... > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > Nicolas> /usr/bin/lisp -noinit -eval '(progn (load "start.lisp"))' > Nicolas> ; Loading #p"/usr/local/src/matlisp/start.lisp". > Nicolas> Converted SETLOGICALROOT. > Nicolas> Converted GETLOGICALROOT. > Nicolas> Converted DEFLOGICALPATH. > Nicolas> ;; Loading #p"/usr/local/src/matlisp/system.dcl". > Nicolas> ;; Loading #p"/usr/local/src/matlisp/config.lisp". > > > Nicolas> Error in function SYSTEM::LOAD-OBJECT-FILE: > Nicolas> Can't open object "/tmp/29938AG0": "/usr/local/src/matlisp/lib/libmatlisp.so: undefined symbol: fstat" > > Are you sure that the new lazy-loader is being loaded? Your output > doesn't really say. > I'm very sure: after the error appeared, I did: (function-lambda-expression #'matlisp::load-blas-&-lapack-libraries) with the result: (LAMBDA () (BLOCK MATLISP:LOAD-BLAS-&-LAPACK-LIBRARIES (LOAD-FOREIGN "matlisp:lib;lazy-loader.o" :LIBRARIES (MATLISP::TOKENIZE-LD-ARGS (CONCATENATE 'STRING "" " " "" " " "-L" (NAMESTRING (TRANSLATE-LOGICAL-PATHNAME "matlisp:lib")) " " "-R" (NAMESTRING (TRANSLATE-LOGICAL-PATHNAME "matlisp:lib")) " " "-lmatlisp" " " " -L/usr/lib/gcc-lib/i386-linux/2.95.4 -lg2c -lc -lm"))))) NIL MATLISP:LOAD-BLAS-&-LAPACK-LIBRARIES > If you're sure that the right lazy-loader is being used, then, I'll > have to try this on my Linux box at home. It's not debian, but that > shouldn't matter when building matlisp. > > Ray That would be nice. Thank you. Nicolas.