[Openmcl-devel] build issue

R. Matthew Emerson rme at clozure.com
Fri Jan 7 08:38:24 PST 2011


On Jan 7, 2011, at 10:01 AM, Antony wrote:

> Hi
> 
> I ran into a issue and logged  a bug
> http://trac.clozure.com/ccl/ticket/793
> I thought this may be because I have not built CCL when I updated, so tried building.
> 
> The build is failing.
> I am using the mingw stuff from cygwin.
> CCL is from
> http://svn.clozure.com/publicsvn/openmcl/trunk/windows/ccl

Building ccl on Windows x64 is still a little harder that it probably ought to be.

For instructions on how to do it, see http://trac.clozure.com/ccl/wiki/WindowsNotes.  As mentioned on that page, be sure to install m4.

Be sure to use the toolchain at ftp://ftp.clozure.com/pub/mingw-w64-bin_i686-cygwin-1.5.25-15_4.4.1a.tar.bz2.  Recent versions won't work.

Note that a simple (rebuild-ccl :full t) doesn't generally work on Windows, because Windows won't overwrite running executable files.  So, build the lisp kernel by hand first:

cd lisp-kernel/win64 && make

Then start the lisp and run (rebuild-ccl :clean t).



> 
> Here is what happens when I try to build
> ./wx86cl64.exe
> Welcome to Clozure Common Lisp Version 1.7-dev-r14406M-trunk  (WindowsX8664                                        )!
> ? (rebuild-ccl :full t)
> Rebuilding Clozure Common Lisp using Version 1.7-dev-r14406M-trunk  (Window                                        sX8664)
> ;Building lisp-kernel ...
> > Error: Error(s) during kernel compilation.
> >        make: Entering directory `/cygdrive/c/D/cygwinhome/external-repos/                                        svn/ccl.trunk/lisp-kernel/win64'
> ...
> >        x86_64-w64-mingw32-gcc -Wl,--image-base=0x10000 -Wl,-script=pei-x86-64.x -m64 -g    -o ../../wx86cl64.exe  pad.o x86-spjump64.o x86-spentry64.o x86-subprims64.o pmcl-kernel.o gc-common.o x86-gc.o bits.o  x86-exceptions.o image.o thread_manager.o lisp-debug.o memory.o windows-calls.o x86-asmutils64.o  imports.o lispdcmd.o plprint.o plsym.o xlbt.o x86_print.o -lpsapi -lws2_32
> >        pmcl-kernel.o: In function `remap_spjump':
> >        /cygdrive/c/D/cygwinhome/external-repos/svn/ccl.trunk/lisp-kernel/win64/../pmcl-kernel.c:1414: undefined reference to `spjump_start'
> >        pmcl-kernel.o: In function `check_x86_cpu':
> >        /cygdrive/c/D/cygwinhome/external-repos/svn/ccl.trunk/lisp-kernel/win64/../pmcl-kernel.c:1509: undefined reference to `cpuid'
> ...
> 
> -Antony
> 
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list