nafai@taleswapper:~/Source/factor$ build-support/factor.sh update Finding OS... Finding ARCH... Finding WORD... OS=linux ARCH=x86 WORD=64 FACTOR_BINARY=factor FACTOR_LIBRARY=libfactor.a FACTOR_IMAGE=factor.image MAKE_TARGET=linux-x86-64 BOOT_IMAGE=boot.unix-x86.64.image MAKE_IMAGE_TARGET=unix-x86.64 GIT_PROTOCOL=git GIT_URL=git://factorcode.org/git/factor.git DOWNLOADER=wget CC=gcc MAKE=make COPY=cp DELETE=rm Checking for chmod...found! Checking for uname...found! Checking for git...found! Checking for wget...found! Checking for curl...found! Checking for gcc...found! Checking for make...found! Checking for gmake...not found! Checking for md5sum...found! Checking for md5...not found! Checking for cut...found! Checking gcc version...ok. Checking for library GL...found. Checking for library X11...found. Checking for library pango-1.0...found. Updating the git repository from factorcode.org... From git://factorcode.org/git/factor * branch master -> FETCH_HEAD Already up-to-date. Backing up factor... cp: cannot stat `factor': No such file or directory Done with backup. rm -f vm/*.o rm -f factor*.dll libfactor.{a,so,dylib} libfactor-ffi-test.{a,so,dylib} Factor.app/Contents/Frameworks/libfactor.dylib make factor factor-ffi-test CONFIG=vm/Config.linux.x86.64 make[1]: Entering directory `/home/nafai/Source/factor' gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/os-unix.o vm/os-unix.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/os-genunix.o vm/os-genunix.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/os-linux.o vm/os-linux.c gcc -x assembler-with-cpp -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/cpu-x86.64.o vm/cpu-x86.64.S gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/alien.o vm/alien.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/arrays.o vm/arrays.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/bignum.o vm/bignum.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/booleans.o vm/booleans.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/byte_arrays.o vm/byte_arrays.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/callstack.o vm/callstack.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/code_block.o vm/code_block.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/code_gc.o vm/code_gc.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/code_heap.o vm/code_heap.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/data_gc.o vm/data_gc.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/data_heap.o vm/data_heap.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/debug.o vm/debug.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/dispatch.o vm/dispatch.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/errors.o vm/errors.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/factor.o vm/factor.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/image.o vm/image.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/inline_cache.o vm/inline_cache.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/io.o vm/io.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/jit.o vm/jit.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/math.o vm/math.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/primitives.o vm/primitives.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/profiler.o vm/profiler.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/quotations.o vm/quotations.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/run.o vm/run.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/strings.o vm/strings.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/tuples.o vm/tuples.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/utilities.o vm/utilities.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/words.o vm/words.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o vm/main-unix.o vm/main-unix.c gcc -c -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -fPIC -o vm/ffi_test.o vm/ffi_test.c ar rcs libfactor.a vm/os-unix.o vm/os-genunix.o vm/os-linux.o vm/cpu-x86.64.o vm/alien.o vm/arrays.o vm/bignum.o vm/booleans.o vm/byte_arrays.o vm/callstack.o vm/code_block.o vm/code_gc.o vm/code_heap.o vm/data_gc.o vm/data_heap.o vm/debug.o vm/dispatch.o vm/errors.o vm/factor.o vm/image.o vm/inline_cache.o vm/io.o vm/jit.o vm/math.o vm/primitives.o vm/profiler.o vm/quotations.o vm/run.o vm/strings.o vm/tuples.o vm/utilities.o vm/words.o gcc -ldl -lm -lpthread -lpango-1.0 -lpangocairo-1.0 -lcairo -lglib-2.0 -lgobject-2.0 -lGL -lX11 -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L. -Wl,--whole-archive -lfactor -Wl,-no-whole-archive \ -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -o factor vm/main-unix.o gcc -L/usr/X11R6/lib64 -L/usr/X11R6/lib -Wall -Werror -O3 -fno-forward-propagate -fomit-frame-pointer -export-dynamic -DFACTOR_64 -fPIC -shared -o libfactor-ffi-test.so vm/ffi_test.o ./libfactor.a(types.o): In function `primitive_clone': types.c:(.text+0x4ed0): multiple definition of `primitive_clone' ./libfactor.a(run.o):run.c:(.text+0x1e0): first defined here ./libfactor.a(arrays.o): In function `allot_array_internal': arrays.c:(.text+0x0): multiple definition of `allot_array_internal' ./libfactor.a(types.o):types.c:(.text+0xd90): first defined here ./libfactor.a(arrays.o): In function `allot_array_4': arrays.c:(.text+0x1a0): multiple definition of `allot_array_4' ./libfactor.a(types.o):types.c:(.text+0x1f00): first defined here ./libfactor.a(arrays.o): In function `allot_array_1': arrays.c:(.text+0x4d0): multiple definition of `allot_array_1' ./libfactor.a(types.o):types.c:(.text+0x2220): first defined here ./libfactor.a(arrays.o): In function `allot_array': arrays.c:(.text+0x6c0): multiple definition of `allot_array' ./libfactor.a(types.o):types.c:(.text+0x2630): first defined here ./libfactor.a(arrays.o): In function `allot_array_2': arrays.c:(.text+0x900): multiple definition of `allot_array_2' ./libfactor.a(types.o):types.c:(.text+0x23f0): first defined here ./libfactor.a(arrays.o): In function `primitive_array': arrays.c:(.text+0xb50): multiple definition of `primitive_array' ./libfactor.a(types.o):types.c:(.text+0x4450): first defined here ./libfactor.a(arrays.o): In function `reallot_array': arrays.c:(.text+0xd70): multiple definition of `reallot_array' ./libfactor.a(types.o):types.c:(.text+0x1ae0): first defined here ./libfactor.a(arrays.o): In function `growable_array_append': arrays.c:(.text+0xfd0): multiple definition of `growable_array_append' ./libfactor.a(types.o):types.c:(.text+0x1ce0): first defined here ./libfactor.a(arrays.o): In function `growable_array_add': arrays.c:(.text+0x10b0): multiple definition of `growable_array_add' ./libfactor.a(types.o):types.c:(.text+0x1e20): first defined here ./libfactor.a(arrays.o): In function `primitive_resize_array': arrays.c:(.text+0x1190): multiple definition of `primitive_resize_array' ./libfactor.a(types.o):types.c:(.text+0x1da0): first defined here ./libfactor.a(booleans.o): In function `box_boolean': booleans.c:(.text+0x0): multiple definition of `box_boolean' ./libfactor.a(types.o):types.c:(.text+0x0): first defined here ./libfactor.a(booleans.o): In function `to_boolean': booleans.c:(.text+0x20): multiple definition of `to_boolean' ./libfactor.a(types.o):types.c:(.text+0x20): first defined here ./libfactor.a(byte_arrays.o): In function `allot_byte_array_internal': byte_arrays.c:(.text+0x0): multiple definition of `allot_byte_array_internal' ./libfactor.a(types.o):types.c:(.text+0x1080): first defined here ./libfactor.a(byte_arrays.o): In function `primitive_uninitialized_byte_array': byte_arrays.c:(.text+0x1a0): multiple definition of `primitive_uninitialized_byte_array' ./libfactor.a(types.o):types.c:(.text+0x1960): first defined here ./libfactor.a(byte_arrays.o): In function `allot_byte_array': byte_arrays.c:(.text+0x350): multiple definition of `allot_byte_array' ./libfactor.a(types.o):types.c:(.text+0x15a0): first defined here ./libfactor.a(byte_arrays.o): In function `primitive_byte_array': byte_arrays.c:(.text+0x4f0): multiple definition of `primitive_byte_array' ./libfactor.a(types.o):types.c:(.text+0x4140): first defined here ./libfactor.a(byte_arrays.o): In function `primitive_resize_byte_array': byte_arrays.c:(.text+0x690): multiple definition of `primitive_resize_byte_array' ./libfactor.a(types.o):types.c:(.text+0x2e80): first defined here ./libfactor.a(byte_arrays.o): In function `reallot_byte_array': byte_arrays.c:(.text+0x920): multiple definition of `reallot_byte_array' ./libfactor.a(types.o):types.c:(.text+0x13a0): first defined here ./libfactor.a(byte_arrays.o): In function `growable_byte_array_append': byte_arrays.c:(.text+0xb50): multiple definition of `growable_byte_array_append' ./libfactor.a(types.o):types.c:(.text+0x6890): first defined here ./libfactor.a(strings.o): In function `string_nth': strings.c:(.text+0x0): multiple definition of `string_nth' ./libfactor.a(types.o):types.c:(.text+0x30): first defined here ./libfactor.a(strings.o): In function `set_string_nth_fast': strings.c:(.text+0x30): multiple definition of `set_string_nth_fast' ./libfactor.a(types.o):types.c:(.text+0x60): first defined here ./libfactor.a(strings.o): In function `check_string': strings.c:(.text+0x40): multiple definition of `check_string' ./libfactor.a(types.o):types.c:(.text+0x70): first defined here ./libfactor.a(strings.o): In function `char_string_to_memory': strings.c:(.text+0xc0): multiple definition of `char_string_to_memory' ./libfactor.a(types.o):types.c:(.text+0xf0): first defined here ./libfactor.a(strings.o): In function `u16_string_to_memory': strings.c:(.text+0x110): multiple definition of `u16_string_to_memory' ./libfactor.a(types.o):types.c:(.text+0x140): first defined here ./libfactor.a(strings.o): In function `primitive_string_nth': strings.c:(.text+0x160): multiple definition of `primitive_string_nth' ./libfactor.a(types.o):types.c:(.text+0x190): first defined here ./libfactor.a(strings.o): In function `primitive_set_string_nth_fast': strings.c:(.text+0x1b0): multiple definition of `primitive_set_string_nth_fast' ./libfactor.a(types.o):types.c:(.text+0x1e0): first defined here ./libfactor.a(strings.o): In function `allot_c_string': strings.c:(.text+0x1d0): multiple definition of `allot_c_string' ./libfactor.a(types.o):types.c:(.text+0x42d0): first defined here ./libfactor.a(strings.o): In function `allot_string_internal': strings.c:(.text+0x1f0): multiple definition of `allot_string_internal' ./libfactor.a(types.o):types.c:(.text+0x1200): first defined here ./libfactor.a(strings.o): In function `set_string_nth_slow': strings.c:(.text+0x3a0): multiple definition of `set_string_nth_slow' ./libfactor.a(types.o):types.c:(.text+0x2c30): first defined here ./libfactor.a(strings.o): In function `primitive_char_string_to_memory': strings.c:(.text+0x480): multiple definition of `primitive_char_string_to_memory' ./libfactor.a(types.o):types.c:(.text+0x520): first defined here ./libfactor.a(strings.o): In function `primitive_u16_string_to_memory': strings.c:(.text+0x520): multiple definition of `primitive_u16_string_to_memory' ./libfactor.a(types.o):types.c:(.text+0x470): first defined here ./libfactor.a(strings.o): In function `string_to_char_alien': strings.c:(.text+0x5d0): multiple definition of `string_to_char_alien' ./libfactor.a(types.o):types.c:(.text+0x5870): first defined here ./libfactor.a(strings.o): In function `string_to_u16_alien': strings.c:(.text+0x710): multiple definition of `string_to_u16_alien' ./libfactor.a(types.o):types.c:(.text+0x4bb0): first defined here ./libfactor.a(strings.o): In function `primitive_set_string_nth_slow': strings.c:(.text+0x850): multiple definition of `primitive_set_string_nth_slow' ./libfactor.a(types.o):types.c:(.text+0x5c0): first defined here ./libfactor.a(strings.o): In function `fill_string': strings.c:(.text+0x920): multiple definition of `fill_string' ./libfactor.a(types.o):types.c:(.text+0x5130): first defined here ./libfactor.a(strings.o): In function `to_char_string': strings.c:(.text+0xa90): multiple definition of `to_char_string' ./libfactor.a(types.o):types.c:(.text+0x6050): first defined here ./libfactor.a(strings.o): In function `to_u16_string': strings.c:(.text+0xbd0): multiple definition of `to_u16_string' ./libfactor.a(types.o):types.c:(.text+0x6300): first defined here ./libfactor.a(strings.o): In function `unbox_char_string': strings.c:(.text+0xd10): multiple definition of `unbox_char_string' ./libfactor.a(types.o):types.c:(.text+0x65b0): first defined here ./libfactor.a(strings.o): In function `unbox_u16_string': strings.c:(.text+0xe80): multiple definition of `unbox_u16_string' ./libfactor.a(types.o):types.c:(.text+0x4e60): first defined here ./libfactor.a(strings.o): In function `set_string_nth': strings.c:(.text+0xff0): multiple definition of `set_string_nth' ./libfactor.a(types.o):types.c:(.text+0x6c0): first defined here ./libfactor.a(strings.o): In function `primitive_set_string_nth': strings.c:(.text+0x10e0): multiple definition of `primitive_set_string_nth' ./libfactor.a(types.o):types.c:(.text+0x7d0): first defined here ./libfactor.a(strings.o): In function `memory_to_u16_string': strings.c:(.text+0x11e0): multiple definition of `memory_to_u16_string' ./libfactor.a(types.o):types.c:(.text+0x3b90): first defined here ./libfactor.a(strings.o): In function `from_u16_string': strings.c:(.text+0x1580): multiple definition of `from_u16_string' ./libfactor.a(types.o):types.c:(.text+0x40d0): first defined here ./libfactor.a(strings.o): In function `box_u16_string': strings.c:(.text+0x15a0): multiple definition of `box_u16_string' ./libfactor.a(types.o):types.c:(.text+0x40f0): first defined here ./libfactor.a(strings.o): In function `memory_to_char_string': strings.c:(.text+0x15f0): multiple definition of `memory_to_char_string' ./libfactor.a(types.o):types.c:(.text+0x4670): first defined here ./libfactor.a(strings.o): In function `box_char_string': strings.c:(.text+0x1960): multiple definition of `box_char_string' ./libfactor.a(types.o):types.c:(.text+0x4b60): first defined here ./libfactor.a(strings.o): In function `memory_to_u32_string': strings.c:(.text+0x19b0): multiple definition of `memory_to_u32_string' ./libfactor.a(types.o):types.c:(.text+0x30c0): first defined here ./libfactor.a(strings.o): In function `from_u32_string': strings.c:(.text+0x1d50): multiple definition of `from_u32_string' ./libfactor.a(types.o):types.c:(.text+0x3600): first defined here ./libfactor.a(strings.o): In function `box_u32_string': strings.c:(.text+0x1d70): multiple definition of `box_u32_string' ./libfactor.a(types.o):types.c:(.text+0x3620): first defined here ./libfactor.a(strings.o): In function `allot_string': strings.c:(.text+0x1dc0): multiple definition of `allot_string' ./libfactor.a(types.o):types.c:(.text+0x5470): first defined here ./libfactor.a(strings.o): In function `primitive_string': strings.c:(.text+0x1fc0): multiple definition of `primitive_string' ./libfactor.a(types.o):types.c:(.text+0x5670): first defined here ./libfactor.a(strings.o): In function `from_char_string': strings.c:(.text+0x21e0): multiple definition of `from_char_string' ./libfactor.a(types.o):types.c:(.text+0x3670): first defined here ./libfactor.a(strings.o): In function `reallot_string': strings.c:(.text+0x25b0): multiple definition of `reallot_string' ./libfactor.a(types.o):types.c:(.text+0x5b20): first defined here ./libfactor.a(strings.o): In function `primitive_resize_string': strings.c:(.text+0x2910): multiple definition of `primitive_resize_string' ./libfactor.a(types.o):types.c:(.text+0x5fd0): first defined here ./libfactor.a(tuples.o): In function `allot_tuple': tuples.c:(.text+0x0): multiple definition of `allot_tuple' ./libfactor.a(types.o):types.c:(.text+0x8e0): first defined here ./libfactor.a(tuples.o): In function `primitive_tuple_boa': tuples.c:(.text+0x1b0): multiple definition of `primitive_tuple_boa' ./libfactor.a(types.o):types.c:(.text+0x2850): first defined here ./libfactor.a(tuples.o): In function `primitive_tuple': tuples.c:(.text+0x230): multiple definition of `primitive_tuple' ./libfactor.a(types.o):types.c:(.text+0x2a40): first defined here ./libfactor.a(words.o): In function `primitive_word_xt': words.c:(.text+0xf0): multiple definition of `primitive_word_xt' ./libfactor.a(types.o):types.c:(.text+0x380): first defined here ./libfactor.a(words.o): In function `allot_word': words.c:(.text+0x1e0): multiple definition of `allot_word' ./libfactor.a(types.o):types.c:(.text+0xa90): first defined here ./libfactor.a(words.o): In function `primitive_word': words.c:(.text+0x560): multiple definition of `primitive_word' ./libfactor.a(types.o):types.c:(.text+0xd60): first defined here ./libfactor.a(words.o): In function `primitive_wrapper': words.c:(.text+0x590): multiple definition of `primitive_wrapper' ./libfactor.a(types.o):types.c:(.text+0xf20): first defined here ./libfactor.a(types.o): In function `allot_word': types.c:(.text+0xc7e): undefined reference to `default_word_code' collect2: ld returned 1 exit status make[1]: *** [factor] Error 1 make[1]: Leaving directory `/home/nafai/Source/factor' make: *** [linux-x86-64] Error 2 make failed linux-x86-64