[Ecls-list] MSVC build errors for latest CVS

Dean O'Connor dean.oconnor at ite.com.au
Tue Mar 7 16:31:05 UTC 2006


Thanks for those updates Juanjo.
It compiles and runs ok after further minor fixes for both Windows and 
Linux.
It failed when a directory IS there (heh heh :)

Here is some patches for both Makefiles & Makefile.in to check (or 
ignore) if directory already exists first.

Index: msvc/Makefile
===================================================================
RCS file: /cvsroot/ecls/ecls/msvc/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- msvc/Makefile    7 Mar 2006 16:41:49 -0000    1.23
+++ msvc/Makefile    7 Mar 2006 23:09:30 -0000
@@ -279,8 +279,8 @@
     $(MAKE) $(GCFLAGS) "ECL_THREADS = $(ECL_THREADS)" "MFLAGS = 
$(MFLAGS)" gc.lib
     $(CP) gc.lib ..\eclgc.lib
     cd ..
-    mkdir ecl\gc
-    mkdir ecl\gc\private
+    if not exist ecl\gc $(MKDIR) ecl\gc
+    if not exist ecl\gc\private $(MKDIR) ecl\gc\private
     for %h in (gc.h gc_local_alloc.h gc_pthread_redirects.h \
                gc_config_macros.h leak_detector.h gc_typed.h \
                private\gc_priv.h private\gcconfig.h gc_mark.h) \

Index: msvc/c/Makefile
===================================================================
RCS file: /cvsroot/ecls/ecls/msvc/c/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- msvc/c/Makefile    7 Mar 2006 11:20:20 -0000    1.11
+++ msvc/c/Makefile    7 Mar 2006 23:09:46 -0000
@@ -82,7 +82,7 @@
 # in the library and can be referenced without indirection.
 #
 ecl\external.h: $(top_srcdir)/h/external.h Makefile
-    mkdir ecl
+    if not exist ecl $(MKDIR) ecl
     cut.exe removedecl < $(top_srcdir)/h/external.h > $@
 
 cut.exe: $(top_srcdir)/util/cut.c

Index: src/Makefile.in
===================================================================
RCS file: /cvsroot/ecls/ecls/src/Makefile.in,v
retrieving revision 1.63
diff -u -r1.63 Makefile.in
--- src/Makefile.in    7 Mar 2006 16:39:34 -0000    1.63
+++ src/Makefile.in    7 Mar 2006 23:58:58 -0000
@@ -100,7 +100,7 @@
     if (echo $(SUBDIRS) | grep gc); then \
       cd gc && $(MAKE) install && cd .. && \
       cp -rf $(srcdir)/gc/include/gc_mark.h ecl/gc/ && \
-      mkdir ecl/gc/private && cp -rf $(srcdir)/gc/include/private/*.h 
ecl/gc/private/ && \
+      mkdir -p ecl/gc/private && cp -rf 
$(srcdir)/gc/include/private/*.h ecl/gc/private/ && \
       mv @LIBPREFIX at gc.@LIBEXT@ @LIBPREFIX at eclgc.@LIBEXT@; \
     fi
 @LIBPREFIX at eclgmp.@LIBEXT@:

Cheers
Dean

Juan Jose Garcia Ripoll wrote:
> On Tue, 2006-03-07 at 10:49 +0100, Juan Jose Garcia Ripoll wrote:
>   
>> [...]I have modified the
>> makefiles so as to ensure these directories are there by using simple
>> "mkdir" before building the program.
>>     
>
> To ensure you get the right update, apart from the changes in src/clos/,
> the newest files in your source tree should be the fixed msvc/Makefile
> and msvc/c/Makefile.
>
> Juanjo
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>   




More information about the ecl-devel mailing list