[Openmcl-devel] Building kernel fails on raspbian "wheezy"
Renzo Orsini
orsini at unive.it
Fri Nov 21 11:52:48 PST 2014
Greetings,
After downloading CCL on Raspbian "Debian Wheezy", and receiving from the executable the message "GLIBC_2.15 not found", I tried to recompile the kernel, with the following errors. The computer is a Raspberry Pi, Model B+.
Thanks a lot for any help.
Renzo Orsini
pi at raspberrypi ~/src/ccl1.10/lisp-kernel/linuxarm $ make clean && make
svnversion: warning: cannot set LC_CTYPE locale
svnversion: warning: environment variable LC_CTYPE is UTF-8
svnversion: warning: please check that your locale name is correct
/bin/rm -f pmcl-kernel.o gc-common.o arm-gc.o bits.o arm-exceptions.o image.o thread_manager.o lisp-debug.o memory.o unix-calls.o arm-asmutils.o imports.o lispdcmd.o plprint.o plsym.o albt.o arm_print.o ../../armcl
/bin/rm -f pad.o arm-spentry.o
svnversion: warning: cannot set LC_CTYPE locale
svnversion: warning: environment variable LC_CTYPE is UTF-8
svnversion: warning: please check that your locale name is correct
m4 -DLINUX -DARM -I../ ../pad.s | as -mfpu=vfp -march=armv6 -o pad.o
/bin/sh: 1: m4: not found
m4 -DLINUX -DARM -I../ ../arm-spentry.s | as -mfpu=vfp -march=armv6 -o arm-spentry.o
/bin/sh: 1: m4: not found
cc -include ../platform-linuxarm.h -c ../pmcl-kernel.c -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DSVN_REVISION="16312" -g -O2 -marm -march=armv6 -Wno-format -o pmcl-kernel.o
cc -include ../platform-linuxarm.h -c ../gc-common.c -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DSVN_REVISION="16312" -g -O2 -marm -march=armv6 -Wno-format -o gc-common.o
cc -include ../platform-linuxarm.h -c ../arm-gc.c -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DSVN_REVISION="16312" -g -O2 -marm -march=armv6 -Wno-format -o arm-gc.o
cc -include ../platform-linuxarm.h -c ../bits.c -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DSVN_REVISION="16312" -g -O2 -marm -march=armv6 -Wno-format -o bits.o
cc -include ../platform-linuxarm.h -c ../arm-exceptions.c -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DSVN_REVISION="16312" -g -O2 -marm -march=armv6 -Wno-format -o arm-exceptions.o
../arm-exceptions.c: In function 'pc_luser_xp':
../arm-exceptions.c:1795:50: warning: assignment makes pointer from integer without a cast [enabled by default]
cc -include ../platform-linuxarm.h -c ../image.c -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DSVN_REVISION="16312" -g -O2 -marm -march=armv6 -Wno-format -o image.o
cc -include ../platform-linuxarm.h -c ../thread_manager.c -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DSVN_REVISION="16312" -g -O2 -marm -march=armv6 -Wno-format -o thread_manager.o
cc -include ../platform-linuxarm.h -c ../lisp-debug.c -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DSVN_REVISION="16312" -g -O2 -marm -march=armv6 -Wno-format -o lisp-debug.o
cc -include ../platform-linuxarm.h -c ../memory.c -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DSVN_REVISION="16312" -g -O2 -marm -march=armv6 -Wno-format -o memory.o
cc -include ../platform-linuxarm.h -c ../unix-calls.c -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DSVN_REVISION="16312" -g -O2 -marm -march=armv6 -Wno-format -o unix-calls.o
m4 -DLINUX -DARM -I../ ../arm-asmutils.s | as -mfpu=vfp -march=armv6 -o arm-asmutils.o
/bin/sh: 1: m4: not found
m4 -DLINUX -DARM -I../ ../imports.s | as -mfpu=vfp -march=armv6 -o imports.o
/bin/sh: 1: m4: not found
cc -include ../platform-linuxarm.h -c ../lispdcmd.c -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DSVN_REVISION="16312" -g -O2 -marm -march=armv6 -Wno-format -o lispdcmd.o
cc -include ../platform-linuxarm.h -c ../plprint.c -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DSVN_REVISION="16312" -g -O2 -marm -march=armv6 -Wno-format -o plprint.o
cc -include ../platform-linuxarm.h -c ../plsym.c -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DSVN_REVISION="16312" -g -O2 -marm -march=armv6 -Wno-format -o plsym.o
cc -include ../platform-linuxarm.h -c ../albt.c -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DSVN_REVISION="16312" -g -O2 -marm -march=armv6 -Wno-format -o albt.o
../albt.c: In function 'walk_stack_frames':
../albt.c:96:14: warning: assignment from incompatible pointer type [enabled by default]
cc -include ../platform-linuxarm.h -c ../arm_print.c -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DSVN_REVISION="16312" -g -O2 -marm -march=armv6 -Wno-format -o arm_print.o
cc -g -Wl,--export-dynamic "-Wl,--hash-style=sysv" -o ../../armcl -T ./armlinux.x pad.o arm-spentry.o pmcl-kernel.o gc-common.o arm-gc.o bits.o arm-exceptions.o image.o thread_manager.o lisp-debug.o memory.o unix-calls.o arm-asmutils.o imports.o lispdcmd.o plprint.o plsym.o albt.o arm_print.o -Wl,--no-as-needed -ldl -lm -lpthread -lrt
pmcl-kernel.o: In function `lazarus':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../pmcl-kernel.c:1656: undefined reference to `start_lisp'
pmcl-kernel.o: In function `xMakeDataExecutable':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../pmcl-kernel.c:2161: undefined reference to `flush_cache_lines'
pmcl-kernel.o: In function `check_arm_cpu':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../pmcl-kernel.c:1631: undefined reference to `feature_check'
pmcl-kernel.o: In function `xMakeDataExecutable':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../pmcl-kernel.c:2161: undefined reference to `flush_cache_lines'
pmcl-kernel.o: In function `main':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../pmcl-kernel.c:2132: undefined reference to `start_lisp'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../pmcl-kernel.c:1987: undefined reference to `ret1valn'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../pmcl-kernel.c:1987: undefined reference to `nvalret'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../pmcl-kernel.c:1987: undefined reference to `popj'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../pmcl-kernel.c:1987: undefined reference to `import_ptrs_base'
gc-common.o: In function `new_heap_segment':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../gc-common.c:2047: undefined reference to `zero_dnodes'
arm-gc.o: In function `flush_code_vectors_in_range':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-gc.c:1264: undefined reference to `flush_cache_lines'
arm-exceptions.o: In function `handle_protection_violation':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:891: undefined reference to `touch_page'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:891: undefined reference to `touch_page_end'
arm-exceptions.o: In function `invoke_handler_on_main_stack':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1544: undefined reference to `call_handler_on_main_stack'
arm-exceptions.o: In function `atomic_set_bit':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../bits.h:67: undefined reference to `atomic_ior'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../bits.h:67: undefined reference to `atomic_ior'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../bits.h:67: undefined reference to `atomic_ior'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../bits.h:67: undefined reference to `atomic_ior'
arm-exceptions.o: In function `pc_luser_xp':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1645: undefined reference to `egc_write_barrier_end'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1645: undefined reference to `egc_write_barrier_start'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1645: undefined reference to `swap_lr_lisp_frame_temp0'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1645: undefined reference to `swap_lr_lisp_frame_arg_z'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1645: undefined reference to `egc_set_hash_key_conditional'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1645: undefined reference to `egc_set_hash_key_conditional_test'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1645: undefined reference to `egc_store_node_conditional'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1645: undefined reference to `egc_store_node_conditional_test'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1645: undefined reference to `egc_set_hash_key'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1645: undefined reference to `egc_gvset'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1645: undefined reference to `egc_gvset_did_store'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1645: undefined reference to `egc_set_hash_key_did_store'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1645: undefined reference to `egc_rplacd'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1645: undefined reference to `egc_rplacd_did_store'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1645: undefined reference to `egc_rplaca_did_store'
arm-exceptions.o: In function `signal_handler':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1454: undefined reference to `atomic_ior'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:1444: undefined reference to `atomic_and'
arm-exceptions.o: In function `early_signal_handler':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:2078: undefined reference to `feature_check_fpu'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../arm-exceptions.c:2078: undefined reference to `feature_check_ldrex'
thread_manager.o: In function `atomic_incf_by':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../thread_manager.c:209: undefined reference to `store_conditional'
thread_manager.o: In function `atomic_decf':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../thread_manager.c:227: undefined reference to `store_conditional'
thread_manager.o: In function `get_spin_lock':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../thread_manager.c:243: undefined reference to `atomic_swap'
thread_manager.o: In function `recursive_lock_trylock':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../thread_manager.c:411: undefined reference to `store_conditional'
thread_manager.o: In function `init_arm_tcr_sptab':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../thread_manager.c:1234: undefined reference to `sptab'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../thread_manager.c:1234: undefined reference to `sptab_end'
thread_manager.o: In function `get_tcr':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../thread_manager.c:1894: undefined reference to `atomic_ior'
thread_manager.o: In function `new_tcr':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../thread_manager.c:1339: undefined reference to `sptab'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../thread_manager.c:1339: undefined reference to `sptab_end'
thread_manager.o: In function `cooperative_thread_startup':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../thread_manager.c:1719: undefined reference to `atomic_ior'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../thread_manager.c:1725: undefined reference to `start_lisp'
thread_manager.o: In function `lisp_thread_entry':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../thread_manager.c:1664: undefined reference to `atomic_ior'
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../thread_manager.c:1671: undefined reference to `start_lisp'
thread_manager.o: In function `suspend_resume_handler':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../thread_manager.c:603: undefined reference to `atomic_ior'
thread_manager.o: In function `suspend_tcr':
/home/pi/src/ccl1.10/lisp-kernel/linuxarm/../thread_manager.c:2127: undefined reference to `atomic_ior'
collect2: ld returned 1 exit status
Makefile:92: recipe for target '../../armcl' failed
make: *** [../../armcl] Error 1
More information about the Openmcl-devel
mailing list