Shammer's Philosophy

My private adversaria

Install Clozure CL 1.11 to Debian wheezy running as Xen VM

I tried to install Clozure CL 1.11 into my Debian wheezy running as Xen VM. At first, I tried the way as well as Install Clozure CL 1.10 to Debian wheezy - Shammerism, but it finished with Error.

root@tora2017:/usr/local/src/ccl/lisp-kernel# make -C ./linuxx8664/
/bin/sh: 1: svnversion: not found
make: Entering directory `/usr/local/src/ccl/lisp-kernel/linuxx8664'
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../pad.s | as  --64 -o pad.o
/bin/sh: 1: m4: not found
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../x86-spjump64.s | as  --64 -o x86-spjump64.o
/bin/sh: 1: m4: not found
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../x86-spentry64.s | as  --64 -o x86-spentry64.o
/bin/sh: 1: m4: not found
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../x86-subprims64.s | as  --64 -o x86-subprims64.o
/bin/sh: 1: m4: not found
cc -include ../platform-linuxx8664.h -c ../pmcl-kernel.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="unknown"  -g -O2 -Wno-format -m64 -o pmcl-kernel.o
cc -include ../platform-linuxx8664.h -c ../gc-common.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="unknown"  -g -O2 -Wno-format -m64 -o gc-common.o
cc -include ../platform-linuxx8664.h -c ../x86-gc.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="unknown"  -g -O2 -Wno-format -m64 -o x86-gc.o
cc -include ../platform-linuxx8664.h -c ../bits.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="unknown"  -g -O2 -Wno-format -m64 -o bits.o
cc -include ../platform-linuxx8664.h -c ../x86-exceptions.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="unknown"  -g -O2 -Wno-format -m64 -o x86-exceptions.o
cc -include ../platform-linuxx8664.h -c ../x86-utils.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="unknown"  -g -O2 -Wno-format -m64 -o x86-utils.o
cc -include ../platform-linuxx8664.h -c ../image.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="unknown"  -g -O2 -Wno-format -m64 -o image.o
cc -include ../platform-linuxx8664.h -c ../thread_manager.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="unknown"  -g -O2 -Wno-format -m64 -o thread_manager.o
cc -include ../platform-linuxx8664.h -c ../lisp-debug.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="unknown"  -g -O2 -Wno-format -m64 -o lisp-debug.o
cc -include ../platform-linuxx8664.h -c ../memory.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="unknown"  -g -O2 -Wno-format -m64 -o memory.o
cc -include ../platform-linuxx8664.h -c ../unix-calls.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="unknown"  -g -O2 -Wno-format -m64 -o unix-calls.o
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../x86-asmutils64.s | as  --64 -o x86-asmutils64.o
/bin/sh: 1: m4: not found
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../imports.s | as  --64 -o imports.o
/bin/sh: 1: m4: not found
cc -include ../platform-linuxx8664.h -c ../lispdcmd.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="unknown"  -g -O2 -Wno-format -m64 -o lispdcmd.o
cc -include ../platform-linuxx8664.h -c ../plprint.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="unknown"  -g -O2 -Wno-format -m64 -o plprint.o
cc -include ../platform-linuxx8664.h -c ../plsym.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="unknown"  -g -O2 -Wno-format -m64 -o plsym.o
cc -include ../platform-linuxx8664.h -c ../xlbt.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="unknown"  -g -O2 -Wno-format -m64 -o xlbt.o
cc -include ../platform-linuxx8664.h -c ../x86_print.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="unknown"  -g -O2 -Wno-format -m64 -o x86_print.o
cc  -m64 -g  -Wl,--export-dynamic "-Wl,--hash-style=sysv" -o ../../lx86cl64  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 x86-utils.o image.o thread_manager.o lisp-debug.o memory.o unix-calls.o x86-asmutils64.o  imports.o lispdcmd.o plprint.o plsym.o xlbt.o x86_print.o -Wl,--no-as-needed -ldl -lm -lpthread -lrt
pmcl-kernel.o: In function `remap_spjump':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:1555: undefined reference to `spjump_start'
pmcl-kernel.o: In function `check_x86_cpu':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:1629: undefined reference to `cpuid'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:1632: undefined reference to `cpuid'
pmcl-kernel.o: In function `check_bogus_fp_exceptions':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:1736: undefined reference to `get_mxcsr'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:1737: undefined reference to `set_mxcsr'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:1740: undefined reference to `get_mxcsr'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:1741: undefined reference to `set_mxcsr'
pmcl-kernel.o: In function `lazarus':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:1692: undefined reference to `start_lisp'
pmcl-kernel.o: In function `main':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:2079: undefined reference to `ret1valn'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:2080: undefined reference to `nvalret'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:2081: undefined reference to `popj'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:2100: undefined reference to `import_ptrs_base'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:2177: undefined reference to `start_lisp'
gc-common.o: In function `new_heap_segment':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../gc-common.c:2038: undefined reference to `zero_dnodes'
x86-exceptions.o: In function `create_exception_callback_frame':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:483: undefined reference to `spentry_start'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:484: undefined reference to `spentry_end'
x86-exceptions.o: In function `callback_to_lisp':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:686: undefined reference to `get_mxcsr'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:693: undefined reference to `set_mxcsr'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:729: undefined reference to `set_mxcsr'
x86-exceptions.o: In function `pc_luser_xp':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2680: undefined reference to `egc_write_barrier_start'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2680: undefined reference to `egc_write_barrier_end'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2686: undefined reference to `egc_set_hash_key_conditional'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2687: undefined reference to `egc_set_hash_key_conditional_retry'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2690: undefined reference to `egc_set_hash_key_conditional_success_test'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2719: undefined reference to `egc_store_node_conditional'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2753: undefined reference to `egc_set_hash_key'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2720: undefined reference to `egc_store_node_conditional_retry'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2723: undefined reference to `egc_store_node_conditional_success_test'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2740: undefined reference to `egc_store_node_conditional_success_end'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2696: undefined reference to `egc_set_hash_key_conditional_retry'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2765: undefined reference to `egc_gvset'
x86-exceptions.o: In function `atomic_set_bit':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../bits.h:67: undefined reference to `atomic_ior'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../bits.h:67: undefined reference to `atomic_ior'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../bits.h:67: undefined reference to `atomic_ior'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../bits.h:67: undefined reference to `atomic_ior'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../bits.h:67: undefined reference to `atomic_ior'
x86-exceptions.o:/usr/local/src/ccl/lisp-kernel/linuxx8664/../bits.h:67: more undefined references to `atomic_ior' follow
x86-exceptions.o: In function `pc_luser_xp':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2781: undefined reference to `egc_rplacd'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2727: undefined reference to `egc_store_node_conditional_retry'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2788: undefined reference to `egc_rplaca'
x86-exceptions.o: In function `signal_handler':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:1499: undefined reference to `atomic_ior'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:1486: undefined reference to `atomic_and'
x86-exceptions.o: In function `altstack_signal_handler':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:1797: undefined reference to `ffcall_return'
x86-exceptions.o: In function `handle_signal_on_foreign_stack':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:1748: undefined reference to `switch_to_foreign_stack'
thread_manager.o: In function `atomic_incf_by':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:209: undefined reference to `store_conditional'
thread_manager.o: In function `atomic_decf':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:227: undefined reference to `store_conditional'
thread_manager.o: In function `get_spin_lock':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:243: undefined reference to `atomic_swap'
thread_manager.o: In function `recursive_lock_trylock':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:411: undefined reference to `store_conditional'
thread_manager.o: In function `get_tcr':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:1894: undefined reference to `atomic_ior'
thread_manager.o: In function `cooperative_thread_startup':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:1719: undefined reference to `atomic_ior'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:1725: undefined reference to `start_lisp'
thread_manager.o: In function `lisp_thread_entry':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:1664: undefined reference to `atomic_ior'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:1671: undefined reference to `start_lisp'
thread_manager.o: In function `suspend_tcr':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:2127: undefined reference to `atomic_ior'
thread_manager.o: In function `suspend_resume_handler':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:603: undefined reference to `atomic_ior'
collect2: error: ld returned 1 exit status
make: *** [../../lx86cl64] Error 1
make: Leaving directory `/usr/local/src/ccl/lisp-kernel/linuxx8664'
root@tora2017:/usr/local/src/ccl/lisp-kernel#

At the part of top, this operation requires subversion. So, I install it by apt-get install subversion.

Next, remove ccl directory and tried again. But I saw a different error.

root@tora2017:/usr/local/src/ccl/lisp-kernel# make -C ./linuxx8664/
make: Entering directory `/usr/local/src/ccl/lisp-kernel/linuxx8664'
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../pad.s | as  --64 -o pad.o
/bin/sh: 1: m4: not found
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../x86-spjump64.s | as  --64 -o x86-spjump64.o
/bin/sh: 1: m4: not found
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../x86-spentry64.s | as  --64 -o x86-spentry64.o
/bin/sh: 1: m4: not found
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../x86-subprims64.s | as  --64 -o x86-subprims64.o
/bin/sh: 1: m4: not found
cc -include ../platform-linuxx8664.h -c ../pmcl-kernel.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o pmcl-kernel.o
cc -include ../platform-linuxx8664.h -c ../gc-common.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o gc-common.o
cc -include ../platform-linuxx8664.h -c ../x86-gc.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o x86-gc.o
cc -include ../platform-linuxx8664.h -c ../bits.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o bits.o
cc -include ../platform-linuxx8664.h -c ../x86-exceptions.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o x86-exceptions.o
cc -include ../platform-linuxx8664.h -c ../x86-utils.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o x86-utils.o
cc -include ../platform-linuxx8664.h -c ../image.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o image.o
cc -include ../platform-linuxx8664.h -c ../thread_manager.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o thread_manager.o
cc -include ../platform-linuxx8664.h -c ../lisp-debug.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o lisp-debug.o
cc -include ../platform-linuxx8664.h -c ../memory.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o memory.o
cc -include ../platform-linuxx8664.h -c ../unix-calls.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o unix-calls.o
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../x86-asmutils64.s | as  --64 -o x86-asmutils64.o
/bin/sh: 1: m4: not found
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../imports.s | as  --64 -o imports.o
/bin/sh: 1: m4: not found
cc -include ../platform-linuxx8664.h -c ../lispdcmd.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o lispdcmd.o
cc -include ../platform-linuxx8664.h -c ../plprint.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o plprint.o
cc -include ../platform-linuxx8664.h -c ../plsym.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o plsym.o
cc -include ../platform-linuxx8664.h -c ../xlbt.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o xlbt.o
cc -include ../platform-linuxx8664.h -c ../x86_print.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o x86_print.o
cc  -m64 -g  -Wl,--export-dynamic "-Wl,--hash-style=sysv" -o ../../lx86cl64  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 x86-utils.o image.o thread_manager.o lisp-debug.o memory.o unix-calls.o x86-asmutils64.o  imports.o lispdcmd.o plprint.o plsym.o xlbt.o x86_print.o -Wl,--no-as-needed -ldl -lm -lpthread -lrt
pmcl-kernel.o: In function `remap_spjump':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:1555: undefined reference to `spjump_start'
pmcl-kernel.o: In function `check_x86_cpu':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:1629: undefined reference to `cpuid'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:1632: undefined reference to `cpuid'
pmcl-kernel.o: In function `check_bogus_fp_exceptions':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:1736: undefined reference to `get_mxcsr'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:1737: undefined reference to `set_mxcsr'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:1740: undefined reference to `get_mxcsr'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:1741: undefined reference to `set_mxcsr'
pmcl-kernel.o: In function `lazarus':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:1692: undefined reference to `start_lisp'
pmcl-kernel.o: In function `main':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:2079: undefined reference to `ret1valn'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:2080: undefined reference to `nvalret'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:2081: undefined reference to `popj'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:2100: undefined reference to `import_ptrs_base'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../pmcl-kernel.c:2177: undefined reference to `start_lisp'
gc-common.o: In function `new_heap_segment':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../gc-common.c:2038: undefined reference to `zero_dnodes'
x86-exceptions.o: In function `create_exception_callback_frame':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:483: undefined reference to `spentry_start'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:484: undefined reference to `spentry_end'
x86-exceptions.o: In function `callback_to_lisp':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:686: undefined reference to `get_mxcsr'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:693: undefined reference to `set_mxcsr'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:729: undefined reference to `set_mxcsr'
x86-exceptions.o: In function `pc_luser_xp':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2680: undefined reference to `egc_write_barrier_start'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2680: undefined reference to `egc_write_barrier_end'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2686: undefined reference to `egc_set_hash_key_conditional'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2687: undefined reference to `egc_set_hash_key_conditional_retry'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2690: undefined reference to `egc_set_hash_key_conditional_success_test'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2719: undefined reference to `egc_store_node_conditional'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2753: undefined reference to `egc_set_hash_key'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2720: undefined reference to `egc_store_node_conditional_retry'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2723: undefined reference to `egc_store_node_conditional_success_test'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2740: undefined reference to `egc_store_node_conditional_success_end'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2696: undefined reference to `egc_set_hash_key_conditional_retry'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2765: undefined reference to `egc_gvset'
x86-exceptions.o: In function `atomic_set_bit':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../bits.h:67: undefined reference to `atomic_ior'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../bits.h:67: undefined reference to `atomic_ior'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../bits.h:67: undefined reference to `atomic_ior'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../bits.h:67: undefined reference to `atomic_ior'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../bits.h:67: undefined reference to `atomic_ior'
x86-exceptions.o:/usr/local/src/ccl/lisp-kernel/linuxx8664/../bits.h:67: more undefined references to `atomic_ior' follow
x86-exceptions.o: In function `pc_luser_xp':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2781: undefined reference to `egc_rplacd'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2727: undefined reference to `egc_store_node_conditional_retry'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:2788: undefined reference to `egc_rplaca'
x86-exceptions.o: In function `signal_handler':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:1499: undefined reference to `atomic_ior'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:1486: undefined reference to `atomic_and'
x86-exceptions.o: In function `altstack_signal_handler':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:1797: undefined reference to `ffcall_return'
x86-exceptions.o: In function `handle_signal_on_foreign_stack':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../x86-exceptions.c:1748: undefined reference to `switch_to_foreign_stack'
thread_manager.o: In function `atomic_incf_by':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:209: undefined reference to `store_conditional'
thread_manager.o: In function `atomic_decf':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:227: undefined reference to `store_conditional'
thread_manager.o: In function `get_spin_lock':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:243: undefined reference to `atomic_swap'
thread_manager.o: In function `recursive_lock_trylock':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:411: undefined reference to `store_conditional'
thread_manager.o: In function `get_tcr':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:1894: undefined reference to `atomic_ior'
thread_manager.o: In function `cooperative_thread_startup':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:1719: undefined reference to `atomic_ior'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:1725: undefined reference to `start_lisp'
thread_manager.o: In function `lisp_thread_entry':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:1664: undefined reference to `atomic_ior'
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:1671: undefined reference to `start_lisp'
thread_manager.o: In function `suspend_tcr':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:2127: undefined reference to `atomic_ior'
thread_manager.o: In function `suspend_resume_handler':
/usr/local/src/ccl/lisp-kernel/linuxx8664/../thread_manager.c:603: undefined reference to `atomic_ior'
collect2: error: ld returned 1 exit status
make: *** [../../lx86cl64] Error 1
make: Leaving directory `/usr/local/src/ccl/lisp-kernel/linuxx8664'
root@tora2017:/usr/local/src/ccl/lisp-kernel#

After installing m4 and removing ccl, I can install ClozureCL 1.11.

root@tora2017:/usr/local/src# make -C ccl/lisp-kernel/linuxx8664/
make: Entering directory `/usr/local/src/ccl/lisp-kernel/linuxx8664'
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../pad.s | as  --64 -o pad.o
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../x86-spjump64.s | as  --64 -o x86-spjump64.o
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../x86-spentry64.s | as  --64 -o x86-spentry64.o
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../x86-subprims64.s | as  --64 -o x86-subprims64.o
cc -include ../platform-linuxx8664.h -c ../pmcl-kernel.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o pmcl-kernel.o
cc -include ../platform-linuxx8664.h -c ../gc-common.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o gc-common.o
cc -include ../platform-linuxx8664.h -c ../x86-gc.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o x86-gc.o
cc -include ../platform-linuxx8664.h -c ../bits.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o bits.o
cc -include ../platform-linuxx8664.h -c ../x86-exceptions.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o x86-exceptions.o
cc -include ../platform-linuxx8664.h -c ../x86-utils.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o x86-utils.o
cc -include ../platform-linuxx8664.h -c ../image.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o image.o
cc -include ../platform-linuxx8664.h -c ../thread_manager.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o thread_manager.o
cc -include ../platform-linuxx8664.h -c ../lisp-debug.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o lisp-debug.o
cc -include ../platform-linuxx8664.h -c ../memory.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o memory.o
cc -include ../platform-linuxx8664.h -c ../unix-calls.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o unix-calls.o
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../x86-asmutils64.s | as  --64 -o x86-asmutils64.o
m4 -DLINUX -DX86 -DX8664 -DHAVE_TLS -I../ ../imports.s | as  --64 -o imports.o
cc -include ../platform-linuxx8664.h -c ../lispdcmd.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o lispdcmd.o
cc -include ../platform-linuxx8664.h -c ../plprint.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o plprint.o
cc -include ../platform-linuxx8664.h -c ../plsym.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o plsym.o
cc -include ../platform-linuxx8664.h -c ../xlbt.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o xlbt.o
cc -include ../platform-linuxx8664.h -c ../x86_print.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS  -DSVN_REVISION="16636"  -g -O2 -Wno-format -m64 -o x86_print.o
cc  -m64 -g  -Wl,--export-dynamic "-Wl,--hash-style=sysv" -o ../../lx86cl64  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 x86-utils.o image.o thread_manager.o lisp-debug.o memory.o unix-calls.o x86-asmutils64.o  imports.o lispdcmd.o plprint.o plsym.o xlbt.o x86_print.o -Wl,--no-as-needed -ldl -lm -lpthread -lrt
make: Leaving directory `/usr/local/src/ccl/lisp-kernel/linuxx8664'
root@tora2017:/usr/local/src#
root@tora2017:/usr/local/src#
root@tora2017:/usr/local/src#
root@tora2017:/usr/local/src#
root@tora2017:/usr/local/src# ccl/scripts/ccl64
Welcome to Clozure Common Lisp Version 1.11-r16635  (LinuxX8664)!

CCL is developed and maintained by Clozure Associates. For more information
about CCL visit http://ccl.clozure.com.  To enquire about Clozure's Common Lisp
consulting services e-mail info@clozure.com or visit http://www.clozure.com.

? (quit)
root@tora2017:/usr/local/src#

Installing Clozure CL 1.11 into Debian wheezy requires following libraries.