[Openmcl-devel] CCL 1.9 release candidate available

Gary Byers gb at clozure.com
Thu Feb 14 22:43:30 UTC 2013


> /bin/sh: 1: m4: not found


On Thu, 14 Feb 2013, David L. Rager wrote:

> Hello,
>
> Perhaps I'm going to end up owing Gary $4 by the end of this thread.
> Nevertheless,....
>
> After going into lisp-kernel/linuxx8664 and issuing a "make clean",
> followed by a "make", I am unable to successfully issue a (rebuild-ccl
> :full t) from the CCL prompt (partly because the make from that
> directory doesn't succeed).  I suspect I am missing a standard library
> in my Linux install.  Is this a Makefile issue, a user error, or does
> someone know of a package I can install to get it to work?  It's a bit
> odd that my own string3.h file can't find something.  I'm including
> the lisp-kernel rebuild below the signature.
>
> I've done this on a version of the trunk obtained by updating from a
> 1.7 devel version and also with a fresh checkout of the 1.9rc.
>
> uname -a yields the following:
>
> Linux corsair 3.2.0-37-generic #58-Ubuntu SMP Thu Jan 24 15:28:10 UTC
> 2013 x86_64 x86_64 x86_64 GNU/Linux
>
> Thanks,
> David
>
>
> ragerd at corsair:~/lisps/ccl-trunk/lisp-kernel/linuxx8664$ make clean
> /bin/rm -f 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 ../../lx86cl64
> /bin/rm -f pad.o x86-spjump64.o x86-spentry64.o x86-subprims64.o
> ragerd at corsair:~/lisps/ccl-trunk/lisp-kernel/linuxx8664$ make
> 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="15705"  -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="15705"  -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="15705"  -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="15705"  -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="15705"  -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="15705"  -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="15705"  -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="15705"  -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="15705"  -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="15705"  -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="15705"  -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="15705"  -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="15705"  -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="15705"  -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="15705"  -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="15705"  -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/include/x86_64-linux-gnu/bits/string3.h:58: undefined reference
> to `spjump_start'
> pmcl-kernel.o: In function `check_x86_cpu':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../pmcl-kernel.c:1552:
> undefined reference to `cpuid'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../pmcl-kernel.c:1555:
> undefined reference to `cpuid'
> pmcl-kernel.o: In function `check_bogus_fp_exceptions':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../pmcl-kernel.c:1711:
> undefined reference to `get_mxcsr'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../pmcl-kernel.c:1712:
> undefined reference to `set_mxcsr'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../pmcl-kernel.c:1715:
> undefined reference to `get_mxcsr'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../pmcl-kernel.c:1716:
> undefined reference to `set_mxcsr'
> pmcl-kernel.o: In function `lazarus':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../pmcl-kernel.c:1667:
> undefined reference to `start_lisp'
> pmcl-kernel.o: In function `main':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../pmcl-kernel.c:2043:
> undefined reference to `ret1valn'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../pmcl-kernel.c:2044:
> undefined reference to `nvalret'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../pmcl-kernel.c:2045:
> undefined reference to `popj'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../pmcl-kernel.c:2064:
> undefined reference to `import_ptrs_base'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../pmcl-kernel.c:2125:
> undefined reference to `start_lisp'
> gc-common.o: In function `gc':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../gc-common.c:1846:
> undefined reference to `zero_dnodes'
> x86-exceptions.o: In function `create_exception_callback_frame':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:477:
> undefined reference to `spentry_start'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:478:
> undefined reference to `spentry_end'
> x86-exceptions.o: In function `callback_to_lisp':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:667:
> undefined reference to `get_mxcsr'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:674:
> undefined reference to `set_mxcsr'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:710:
> undefined reference to `set_mxcsr'
> x86-exceptions.o: In function `pc_luser_xp':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:2642:
> undefined reference to `egc_write_barrier_start'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:2642:
> undefined reference to `egc_write_barrier_end'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:2648:
> undefined reference to `egc_set_hash_key_conditional'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:2649:
> undefined reference to `egc_set_hash_key_conditional_retry'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:2652:
> undefined reference to `egc_set_hash_key_conditional_success_test'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:2682:
> undefined reference to `egc_store_node_conditional'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:2717:
> undefined reference to `egc_set_hash_key'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:2683:
> undefined reference to `egc_store_node_conditional_retry'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:2686:
> undefined reference to `egc_store_node_conditional_success_test'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:2703:
> undefined reference to `egc_store_node_conditional_success_end'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:2658:
> undefined reference to `egc_set_hash_key_conditional_retry'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:2726:
> undefined reference to `egc_gvset'
> x86-exceptions.o: In function `atomic_set_bit':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../bits.h:67:
> undefined reference to `atomic_ior'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../bits.h:67:
> undefined reference to `atomic_ior'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../bits.h:67:
> undefined reference to `atomic_ior'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../bits.h:67:
> undefined reference to `atomic_ior'
> x86-exceptions.o: In function `pc_luser_xp':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:2733:
> undefined reference to `egc_rplacd'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:2690:
> undefined reference to `egc_store_node_conditional_retry'
> x86-exceptions.o: In function `signal_handler':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:1473:
> undefined reference to `atomic_ior'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:1460:
> undefined reference to `atomic_and'
> x86-exceptions.o: In function `altstack_signal_handler':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:1767:
> undefined reference to `ffcall_return'
> x86-exceptions.o: In function `handle_signal_on_foreign_stack':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../x86-exceptions.c:1718:
> undefined reference to `switch_to_foreign_stack'
> thread_manager.o: In function `atomic_incf_by':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../thread_manager.c:204:
> undefined reference to `store_conditional'
> thread_manager.o: In function `atomic_decf':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../thread_manager.c:222:
> undefined reference to `store_conditional'
> thread_manager.o: In function `get_spin_lock':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../thread_manager.c:238:
> undefined reference to `atomic_swap'
> thread_manager.o: In function `recursive_lock_trylock':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../thread_manager.c:406:
> undefined reference to `store_conditional'
> thread_manager.o: In function `get_tcr':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../thread_manager.c:1870:
> undefined reference to `atomic_ior'
> thread_manager.o: In function `cooperative_thread_startup':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../thread_manager.c:1695:
> undefined reference to `atomic_ior'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../thread_manager.c:1701:
> undefined reference to `start_lisp'
> thread_manager.o: In function `lisp_thread_entry':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../thread_manager.c:1640:
> undefined reference to `atomic_ior'
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../thread_manager.c:1647:
> undefined reference to `start_lisp'
> thread_manager.o: In function `suspend_tcr':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../thread_manager.c:2068:
> undefined reference to `atomic_ior'
> thread_manager.o: In function `suspend_resume_handler':
> /home/ragerd/lisps/ccl-trunk/lisp-kernel/linuxx8664/../thread_manager.c:598:
> undefined reference to `atomic_ior'
> collect2: ld returned 1 exit status
> make: *** [../../lx86cl64] Error 1
> ragerd at corsair:~/lisps/ccl-trunk/lisp-kernel/linuxx8664$
>
>



More information about the Openmcl-devel mailing list