Compilation problems with latest maxima



On 19 Sep 2002 14:34:41 -0500
Jay Belanger <belanger@truman.edu> wrote:

> 
> When I try compiling the latest cvs Maxima with the latest cvs gcl, I
> get an error complaining about a missing file cmpinclude.h.
> (The error message is at the end of this letter.)  
> I get the same problem with gcl-2.4.3, but not with an earlier cvs
> maxima I was using, and not with clisp.
> (Everything was compiled with gcc-3.2.)
> Is this a local problem, or has anyone else come across it?
> 
> Jay
> 
Yes, I confirm this. I have the same error messages and there were no such errors with clisp and cmucl. 
In addition, I tried gcc-2.96 and kgcc with the same effect.

I have another problem with building the latest cvs-gcl itself. Though I compiled it on Linux-P3,
I was not able to do it on Linux-Duron750. The problem is with bfd routines.
The error remains if I change the configure options to --disable-bfd --host=i586-linux-gnu. 
The building gcl-2.4.3 is OK on both systems.

Valerij.



> ~ $ cd maxima
> ~/maxima $ ./bootstrap 
> + aclocal
> + automake --add-missing --copy
> configure.in: installing `./install-sh'
> configure.in: installing `./mkinstalldirs'
> configure.in: installing `./missing'
> configure.in:6: installing `./config.guess'
> configure.in:6: installing `./config.sub'
> + autoconf
> ~/maxima $ ./configure --enable-gcl
> [Much deleted, no complaints from configure]
> 
> Summary:
> GCL enabled. Executable name gcl
> default lisp: gcl
> ~/maxima $ make
> Making all in src
> make[1]: Entering directory `/home/belanger/maxima/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
> LISPTYPE=gcl ; export LISPTYPE ;\
> GCL=gcl ; export GCL ;\
> /home/belanger/maxima/lisp-utils/maxima-run-lisp \
>         -x '(load "/home/belanger/maxima/lisp-utils/defsystem.lisp")(funcall (intern "OPERATE-ON-SYSTEM" :mk) "maxima" :compile :verbose t)' && \
>         /home/belanger/maxima/lisp-utils/maxima-run-lisp \
>         -x '(load "/home/belanger/maxima/lisp-utils/defsystem.lisp")(funcall (intern "OPERATE-ON-SYSTEM" :mk) "maxima" :load :verbose t)' \
>          -d binary-gcl/maxima
> gcl -batch -eval (let ((argv '())) (declare (ignorable argv)) (progn (load "/home/belanger/maxima/lisp-utils/defsystem.lisp")(funcall (intern "OPERATE-ON-SYSTEM" :mk) "maxima" :compile :verbose t)) (values))
> 
> Warning: REQUIRE is being redefined.
> ;  - Compiling defsystem "maxima" 
> ;    - Loading module "package" 
> ;      - Loading source file "maxima-package.lisp" 
> Loading maxima-package.lisp
> Finished loading maxima-package.lisp
> 
> ;    - Compiling module "info" 
> ;    - Compiling module "sloop" 
> ;      - Compiling source file "sloop.lisp" 
> Compiling sloop.lisp.
> ; (DEFUN FIRST-SLOOP-FOR ...) is being compiled.
> ;; The variable *LOOP-INCREMENT* is undefined.
> ;; The compiler will assume this variable is a global.
> End of Pass 1.  
> End of Pass 2.  
> sloop.c:2:24: cmpinclude.h: No such file or directory
> sloop.c: In function `init_sloop':
> sloop.c:4: `object' undeclared (first use in this function)
> sloop.c:4: (Each undeclared identifier is reported only once
> sloop.c:4: for each function it appears in.)
> sloop.c:4: parse error before ')' token
> 
> [Many many pages of similar errors]
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>