gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] building maxima with gcl


From: Andrey G. Grozin
Subject: [Gcl-devel] building maxima with gcl
Date: Mon, 7 Jan 2008 20:50:49 +0600 (NOVT)

Hello *,

Recently, I cannot build maxima with gcl. In the past, this worked OK.
Then I uninstalled gcl and installed it again, and things no longer
work. I have ANSI gcl from Gentoo; it is 2.6.7 with a large patch taken
from Debian, so that it is practically 2.6.8. Here is what I get when
I try to compile maxima-5.14.0:

address@hidden ~/maxima-5.14.0 $ ./configure --enable-gcl
<skipped>
Summary:
GCL enabled. Executable name: "gcl"
default lisp: gcl
wish executable name: "wish"
address@hidden ~/maxima-5.14.0 $ make
Making all in src
make[1]: Entering directory `/home/grozin/maxima-5.14.0/src'
test -d binary-gcl || mkdir binary-gcl
test -d binary-gcl/numerical || mkdir binary-gcl/numerical
test -d binary-gcl/numerical/slatec || mkdir binary-gcl/numerical/slatec
gcl -batch -eval '(progn (load "../lisp-utils/defsystem.lisp") (compiler::emit-fn t) (funcall (intern (symbol-name 
:operate-on-system) :mk) "maxima" :compile :verbose t) (compiler::make-all-proclaims "*/*.fn" 
"*/*/*/*.fn"))' && \
        gcl -batch -eval '(progn (load "../lisp-utils/defsystem.lisp") (funcall (intern 
(symbol-name :operate-on-system) :mk) "maxima" :load :verbose t) (when (fboundp (quote 
si::sgc-on))(si::sgc-on t)) (si:save-system "binary-gcl/maxima"))'

Warning:
REQUIRE is being redefined.
Error in PROGN [or a callee]: Can't open file 
"/usr/lib/gcl-2.6.8/xgcl-2/../cmpnew/gcl_collectfn.data"

Fast links are on: do (use-fast-links nil) for debugging
Broken at PROGN.  Type :H for Help.
 1 (Continue) Retry loading file 
"/usr/lib/gcl-2.6.8/xgcl-2/../cmpnew/gcl_collectfn.o".
 2 (Abort) Return to top level.
dbl:>>

Can anybody give a hint what's going wrong? The most strange thing is
that some time ago, before re-installing gcl (the same version), everything
worked smoothly.

I also tried to do

address@hidden ~/maxima-5.14.0 $ ./configure --enable-gcl --enable-gcl-alt-link
<skipped>
Summary:
GCL enabled. Executable name: "gcl"
    GCL alternative linking method enabled.
default lisp: gcl
wish executable name: "wish"
address@hidden ~/maxima-5.14.0 $ make

It seems that most of the process was successful. However, at the end
I got

;  - Providing system maxima
binary-gcl/cl-info.o: In function `init_code':
cl-info.c:(.text+0x0): multiple definition of `init_code'
binary-gcl/nregex.o:nregex.c:(.text+0x0): first defined here
binary-gcl/sloop.o: In function `init_code':
sloop.c:(.text+0x0): multiple definition of `init_code'
binary-gcl/nregex.o:nregex.c:(.text+0x0): first defined here
binary-gcl/lmdcls.o: In function `init_code':
lmdcls.c:(.text+0x0): multiple definition of `init_code'
binary-gcl/nregex.o:nregex.c:(.text+0x0): first defined here
<a very long list of error messages skipped>
binary-gcl/openmath.o: In function `init_code':
openmath.c:(.text+0x0): multiple definition of `init_code'
binary-gcl/nregex.o:nregex.c:(.text+0x0): first defined here
collect2: ld returned 1 exit status
sh: ./binary-gcl/raw_maxima: No such file or directory
Error in LET* [or a callee]: Cannot delete the file #p"./binary-gcl/raw_maxima": "No 
such file or directory".

Fast links are on: do (use-fast-links nil) for debugging
Broken at DELETE-FILE.  Type :H for Help.
 1 (Abort) Return to top level.
dbl:>>

So, this alternative linking method also fails. What is the difference
between the two methods? How is each of them supposed to work?

Happy new year to *,
Andrey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]