[Ecls-list] Need help compiling ECL 10.4.1 (32-bit) on Win7 64-bit via mingw32/msys
Gabriel Dos Reis
gdr at integrable-solutions.net
Fri Oct 29 20:24:10 UTC 2010
On Fri, Oct 29, 2010 at 12:48 PM, Paul Goins <general at vultaire.net> wrote:
> Hello,
>
> On 10/29/2010 11:43 PM, Gabriel Dos Reis wrote:
>> Add --enable-boehm=system so that ECL picks up the GC library
>> you just installed.
>>
>> PS: I have not been able to build ECL on windows 7, so let me know
>> how it went.
>
> Thanks Gabriel. Okay, this was rather encouraging. I can't quite
> compile completely, but I got much further.
>
> This time, the configure line was:
>
> LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include \
> ./configure --enable-threads=yes --enable-boehm=system
>
> The LDFLAGS and CPPFLAGS specs were necessary to pick up the GC lib;
> configure failed without them.
yeah.
> Info: resolving _GC_dont_gc by linking to __imp__GC_dont_gc (auto-import)
> Info: resolving _GC_oom_fn by linking to __imp__GC_oom_fn (auto-import)
> Info: resolving _GC_no_dls by linking to __imp__GC_no_dls (auto-import)
> Info: resolving _GC_all_interior_pointers by linking to
> __imp__GC_all_interior_pointers (auto-import)
> Info: resolving _GC_time_limit by linking to __imp__GC_time_limit
> (auto-import)
> Info: resolving _GC_push_other_roots by linking to
> __imp__GC_push_other_roots (auto-import)
> Info: resolving _GC_start_call_back by linking to __imp__GC_start_call_back
> (auto-import)
> Info: resolving _GC_java_finalization by linking to
> __imp__GC_java_finalization (auto-import)
> Info: resolving _GC_print_stats by linking to __imp__GC_print_stats
> (auto-importc:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe:
> warning: auto-importing has been activated without --enable-auto-import
> specified on the command line.
> This should work unless it involves constant data structures referencing
> symbols from auto-imported DLLs.
> libeclmin.a(threads.o): In function `ecl_import_current_thread':
> c:/Users/Vultaire/Desktop/pauls_stuff/ecl-10.4.1/src/c/threads.d:248:
> undefined reference to `GC_register_my_thread'
> libeclmin.a(threads.o): In function `mp_process_enable':
> c:/Users/Vultaire/Desktop/pauls_stuff/ecl-10.4.1/src/c/threads.d:408:
> undefined reference to `GC_CreateThread at 24'
> libeclmin.a(threads.o): In function `ecl_release_current_thread':
> c:/Users/Vultaire/Desktop/pauls_stuff/ecl-10.4.1/src/c/threads.d:280:
> undefined reference to `GC_unregister_my_thread)
It sounds as if tECL is able to pick up the GC library but only a few
symbols are missing. When you configured, did ECL really report
that it was building a 32-bit program?
-- Gaby
More information about the ecl-devel
mailing list