[klm@kth chicken-core]$ git diff -U10 posixunix.c diff --git a/posixunix.c b/posixunix.c index ba13510..0952423 100644 --- a/posixunix.c +++ b/posixunix.c @@ -11139,20 +11139,22 @@ static void C_fcall toplevel_trampoline(void *dummy) C_regparm C_noret; C_regparm static void C_fcall toplevel_trampoline(void *dummy){ C_posix_toplevel(2,C_SCHEME_UNDEFINED,C_restore);} void C_ccall C_posix_toplevel(C_word c,C_word t0,C_word t1){ C_word tmp; C_word t2; C_word t3; C_word *a; if(toplevel_initialized) C_kontinue(t1,C_SCHEME_UNDEFINED); else C_toplevel_entry(C_text("posix_toplevel")); +printf("%d %d %d\n", words, stack_size, + C_bytes_to_words(stack_size)); C_check_nursery_minimum(3); if(!C_demand(3)){ C_save(t1); C_reclaim((void*)toplevel_trampoline,NULL);} toplevel_initialized=1; if(!C_demand_2(3374)){ C_save(t1); C_rereclaim2(3374*sizeof(C_word), 1); t1=C_restore;} a=C_alloc(3); ;;; buidling [klm@kth android-chicken]$ make target mkdir -p build/target cd src/chicken-core; \ PATH=$PWD/toolchain/android-14/bin:$PATH make PLATFORM=android \ CHICKEN=./chicken-boot \ HOSTSYSTEM=arm-linux-androideabi \ TARGET_FEATURES="-no-feature x86 -no-feature x86-64 -feature arm -feature android" \ DEBUGBUILD= \ ARCH= \ PREFIX=/system \ DESTDIR=/home/klm/opt/android-chicken/build/target \ EGGDIR=/system/lib \ all make[1]: Entering directory `/home/klm/opt/android-chicken/src/chicken-core' make -f ./Makefile.android CONFIG= all make[2]: Entering directory `/home/klm/opt/android-chicken/src/chicken-core' arm-linux-androideabi-gcc -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -c -Os -fomit-frame-pointer -DC_BUILDING_LIBCHICKEN posixunix.c -o posixunix-static.o -I. -I./ posixunix.c: In function 'C_posix_toplevel': posixunix.c:11149: error: 'words' undeclared (first use in this function) posixunix.c:11149: error: (Each undeclared identifier is reported only once posixunix.c:11149: error: for each function it appears in.) posixunix.c:11149: error: 'stack_size' undeclared (first use in this function) make[2]: *** [posixunix-static.o] Error 1 make[2]: Leaving directory `/home/klm/opt/android-chicken/src/chicken-core' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/klm/opt/android-chicken/src/chicken-core' make: *** [target] Error 2