[Ecls-list] Building with clang on windows/mingw

Marko Kocić marko.kocic at gmail.com
Mon Dec 5 14:28:31 UTC 2011


Hi Juan,
I'm trying to build ECL head using clang on mingw/msys.
Compiling of ecl goes fine, until it fails with the linking problem:

...
make[2]: Leaving directory `/c/development/cvstree/ecl/build/c'
if [ -f CROSS-COMPILER ]; then \
                touch ecl_min.exe; \
        else \
                clang -Lc:/usr/local/lib  -o ecl_min.exe cinit.o
c/all_symbols.o -L./ libeclmin.a -leclatomic  -lgmp -lgc -lffi -lm
-lws2_32;\
        fi
Cannot export _APPLY: symbol not found
Cannot export _APPLY_fixed: symbol not found
Cannot export _CEerror: symbol not found
Cannot export _CEpackage_error: symbol not found
Cannot export _FEassignment_to_constant: symbol not found
Cannot export _FEcannot_open: symbol not found
Cannot export _FEcircular_list: symbol not found
Cannot export _FEclosed_stream: symbol not found
Cannot export _FEcontrol_error: symbol not found
Cannot export _FEdivision_by_zero: symbol not found
Cannot export _FEend_of_file: symbol not found
Cannot export _FEerror: symbol not found
Cannot export _FEinvalid_function: symbol not found
Cannot export _FEinvalid_function_name: symbol not found
Cannot export _FEinvalid_macro_call: symbol not found
Cannot export _FEinvalid_variable: symbol not found
Cannot export _FElibc_error: symbol not found
Cannot export _FEprint_not_readable: symbol not found
Cannot export _FEprogram_error: symbol not found
Cannot export _FEprogram_error_noreturn: symbol not found
Cannot export _FEreader_error: symbol not found
Cannot export _FEstack_advance: symbol not found
Cannot export _FEstack_underflow: symbol not found
Cannot export _FEtype_error_array: symbol not found
Cannot export _FEtype_error_cons: symbol not found
Cannot export _FEtype_error_index: symbol not found
Cannot export _FEtype_error_list: symbol not found
Cannot export _FEtype_error_proper_list: symbol not found
Cannot export _FEtype_error_sequence: symbol not found
Cannot export _FEtype_error_vector: symbol not found
Cannot export _FEunbound_variable: symbol not found
Cannot export _FEundefined_function: symbol not found
Cannot export _FEwin32_error: symbol not found
Cannot export _FEwrong_dimensions: symbol not found
Cannot export _FEwrong_index: symbol not found
Cannot export _FEwrong_num_arguments: symbol not found
Cannot export _FEwrong_num_arguments_anonym: symbol not found
Cannot export _FEwrong_type_argument: symbol not found
Cannot export _FEwrong_type_key_arg: symbol not found
Cannot export _FEwrong_type_nth_arg: symbol not found
Cannot export _FEwrong_type_only_arg: symbol not found
Cannot export __ecl_big_boole_operator: symbol not found
Cannot export __ecl_big_ceiling: symbol not found
Cannot export __ecl_big_divided_by_big: symbol not found
Cannot export __ecl_big_divided_by_fix: symbol not found
Cannot export __ecl_big_floor: symbol not found
Cannot export __ecl_big_gcd: symbol not found
Cannot export __ecl_big_minus_big: symbol not found

It is built using the following configure options:
./configure CFLAGS="-Ic:/usr/local/include
-Ic:/usr/local/lib/libffi-3.0.9/include" LDFLAGS="-Lc:/usr/local/lib"
CC=clang CXX=clang --prefix=c:/opt/ecl --enable-threads
--with-system-gmp -enable-boehm=system && make 2>&1 | tee -a build.log

$ clang --version
clang version 3.1 (trunk 145791)
Target: i686-pc-mingw32
Thread model: posix

Regards,
Marko Kocić




More information about the ecl-devel mailing list