[Openmcl-devel] Cannot compile ccl-1.7 on linuxx8632
Andrey G. Grozin
A.G.Grozin at inp.nsk.su
Sat Jan 7 08:10:46 PST 2012
Hello *,
Today I tried to recompile ccl-1.7 on 2 Gentoo linux boxes (both x86
32-bit). On one of them, ccl-1.7 used to compile fine some time ago, and I
have working ccl on it. But now I get
Rebuilding Clozure Common Lisp using Version 1.7-r14925M (LinuxX8632)
;Building lisp-kernel ...> Error of type SIMPLE-ERROR: Error(s) during
kernel compilation.
> make: Entering directory
`/var/tmp/portage/dev-lisp/clozurecl-1.7/work/ccl-1.7/lisp-kernel/linuxx8632'
> m4 -DLINUX -DX86 -DX8632 -DHAVE_TLS -I../
../pad.s | as --32 -o pad.o
> m4 -DLINUX -DX86 -DX8632 -DHAVE_TLS -I../
../x86-spjump32.s | as --32 -o x86-spjump32.o
> m4 -DLINUX -DX86 -DX8632 -DHAVE_TLS -I../
../x86-spentry32.s | as --32 -o x86-spentry32.o
> m4 -DLINUX -DX86 -DX8632 -DHAVE_TLS -I../
../x86-subprims32.s | as --32 -o x86-subprims32.o
> cc -include ../platform-linuxx8632.h -c
../pmcl-kernel.c -DLINUX -D_REENTRANT -DX86 -DX8632 -D_GNU_SOURCE
-DHAVE_TLS -DUSE_FUTEX -DSVN_REVISION=Unversioned directory -g -O2
-Wno-format -m32 -o pmcl-kernel.o
> cc -include ../platform-linuxx8632.h -c
../gc-common.c -DLINUX -D_REENTRANT -DX86 -DX8632 -D_GNU_SOURCE -DHAVE_TLS
-DUSE_FUTEX -DSVN_REVISION=Unversioned directory -g -O2 -Wno-format -m32
-o gc-common.o
> cc -include ../platform-linuxx8632.h -c
../x86-gc.c -DLINUX -D_REENTRANT -DX86 -DX8632 -D_GNU_SOURCE -DHAVE_TLS
-DUSE_FUTEX -DSVN_REVISION=Unversioned directory -g -O2 -Wno-format -m32
-o x86-gc.o
> gcc: gcc: directory: No such file or
directory
> directory: No such file or directory
> gcc: directory: No such file or directory
> make: *** [pmcl-kernel.o] Error 1
This obviously is the result of
-DSVN_REVISION=Unversioned directory
(unquoted). Looking at lisp-kernel/linuxx8632/Makefile, I see
CDEFINES = ... -DSVN_REVISION=$(SVN_REVISION) ...
Who should set this $(SVN_REVISION) ? What is its correct setting?
Andrey
More information about the Openmcl-devel
mailing list