[Ecls-list] Important fix for Windows
Marko Kocić
marko.kocic at gmail.com
Mon Mar 17 12:36:48 UTC 2008
On Sun, Mar 16, 2008 at 1:11 PM, Juan Jose Garcia-Ripoll
<jjgarcia at users.sourceforge.net> wrote:
> Tag: (CVS 2008-03-16 12:11)
> - ECL no longer needs library definition files ecl.def and ecl-threads.def
> thanks to a more clever use of declarations __declspec(dllexport) and
> __declspec(dllimport).
>
> This works with Microsoft VC++. I am conducting further tests with
> Mingw. This fix is a first step to solving the problem reported in a
> previous message, which is that the module PROFILE does not build
> under Windows.
None of the contribs builds now. All fail with the following error (or similar):
;;; Note: Invoking external command:
;;; gcc -g -O2 -D_THREAD_SAFE -fstrict-aliasing -Dmingw32
-I"c:/tmp/ecl/src/c" "-Ic:/tmp/ecl/build" -w -c
"c:/DOCUME~1/markko/LOCALS~1/Temp/ECL53.c" -o
"c:/DOCUME~1/markko/LOCALS~1/Temp/ECL53.o"
;;; Note: Invoking external command:
;;; dllwrap -o c:/tmp/ecl/build/cmp.fas --export-all-symbols
-L"c:/tmp/ecl/build" "c:/DOCUME~1/markko/LOCALS~1/Temp/ECL53.o"
"c:/tmp/ecl/build/cmp/cmpdefs.o" "c:/tmp/ecl/build/cmp/cmpmac.o"
"c:/tmp/ecl/build/cmp/cmpinline.o" "c:/tmp/ecl/build/cmp/cmputil.o"
"c:/tmp/ecl/build/cmp/cmptype.o" "c:/tmp/ecl/build/cmp/cmpbind.o"
"c:/tmp/ecl/build/cmp/cmpblock.o" "c:/tmp/ecl/build/cmp/cmpcall.o"
"c:/tmp/ecl/build/cmp/cmpcatch.o" "c:/tmp/ecl/build/cmp/cmpenv.o"
"c:/tmp/ecl/build/cmp/cmpeval.o" "c:/tmp/ecl/build/cmp/cmpexit.o"
"c:/tmp/ecl/build/cmp/cmpflet.o" "c:/tmp/ecl/build/cmp/cmpfun.o"
"c:/tmp/ecl/build/cmp/cmpif.o" "c:/tmp/ecl/build/cmp/cmplam.o"
"c:/tmp/ecl/build/cmp/cmplet.o" "c:/tmp/ecl/build/cmp/cmploc.o"
"c:/tmp/ecl/build/cmp/cmpmap.o" "c:/tmp/ecl/build/cmp/cmpstack.o"
"c:/tmp/ecl/build/cmp/cmpmulti.o" "c:/tmp/ecl/build/cmp/cmpspecial.o"
"c:/tmp/ecl/build/cmp/cmptag.o" "c:/tmp/ecl/build/cmp/cmptop.o"
"c:/tmp/ecl/build/cmp/cmpvar.o" "c:/tmp/ecl/build/cmp/cmpwt.o"
"c:/tmp/ecl/build/cmp/cmpffi.o" "c:/tmp/ecl/build/cmp/cmpcbk.o"
"c:/tmp/ecl/build/cmp/cmpct.o" "c:/tmp/ecl/build/cmp/cmpnum.o"
"c:/tmp/ecl/build/cmp/cmpname.o" "c:/tmp/ecl/build/cmp/cmpmain.o"
ecl.dll -lm -lws2_32
c:/tmp/ecl/build/cmp/cmpdefs.o: In function `LC2object':
c:/tmp/ecl/build/cmp/cmpdefs.c:37: undefined reference to `ecl_process_env'
c:/tmp/ecl/build/cmp/cmpmac.o: In function `LC28parent_node_p':
c:/tmp/ecl/build/cmp/cmpmac.c:600: undefined reference to `ecl_process_env'
c:/tmp/ecl/build/cmp/cmpmac.o: In function `L26c1form_volatile_':
c:/tmp/ecl/build/cmp/cmpmac.c:531: undefined reference to `ecl_process_env'
c:/tmp/ecl/build/cmp/cmpmac.c:534: undefined reference to `ecl_process_env'
c:/tmp/ecl/build/cmp/cmpmac.o: In function `L27c1form_primary_type':
c:/tmp/ecl/build/cmp/cmpmac.c:569: undefined reference to `ecl_process_env'
c:/tmp/ecl/build/cmp/cmpmac.o:c:/tmp/ecl/build/cmp/cmpmac.c:320: more
undefined references to `ecl_process_env' follow
collect2: ld returned 1 exit status
More information about the ecl-devel
mailing list