<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">Thanks, Guillaume.<br><br>I used the options recommended with configure.  Would that have caused the error?<br><br><br>Steve<br><div><span></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Guillaume Cartier <gcartier@jazzscheme.org><br> <b><span style="font-weight: bold;">To:</span></b> Steve Graham <jsgrahamus@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> Gambit List <Gambit-list@iro.umontreal.ca> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, December 13, 2012 1:40 PM<br> <b><span style="font-weight:
 bold;">Subject:</span></b> Re: [gambit-list] Error building Gambit<br> </font> </div> <br><div id="yiv1274703396"><div>Try the following:</div><div><br></div><div><span style="font-size:16px;">./configure</span><br style="font-size:16px;">
<span style="font-size:16px;">make bootstrap</span><br style="font-size:16px;"><span style="font-size:16px;">make bootclean</span><br style="font-size:16px;">
<span style="font-size:16px;">make</span></div><div><br></div><div><div class="yiv1274703396gmail_quote">On Thu, Dec 13, 2012 at 2:58 PM, Steve Graham <span dir="ltr"><<a rel="nofollow" ymailto="mailto:jsgrahamus@yahoo.com" target="_blank" href="mailto:jsgrahamus@yahoo.com">jsgrahamus@yahoo.com</a>></span> wrote:<br>
<blockquote class="yiv1274703396gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;">I have an x86-64 system running Windows 7 Home Premium with Mingw.<br>
<br>Just tried to build the latest system I downloaded with git:<br>  git clone <a rel="nofollow" target="_blank" href="https://github.com/feeley/gambit.git">https://github.com/feeley/gambit.git</a><br>  cd gambit<br><br>There were no errors with:<br>
<div>./configure<br>make<br>make bootstrap<br>make bootclean</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">
This is what happened when I ran make:</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">sh-3.1$
 make<br>rm -f gsc-boot<br>cp gsc-boot.unix gsc-boot<br>chmod +x gsc-boot<br>if test ".bat" != ""; then \<br>          rm -f gsc-boot.bat; \<br>          cp gsc-boot.bat.windows gsc-boot.bat; \<br>        fi<br>
making all in include<br>make[1]: Entering directory `/c/Users/Steve/Desktop/gambit/include'<br>major=`echo v4.6.6 | sed -e "s/v//g" -e "s/\.[^.]*\.[^.]*//g"`; \<br>        minor=`echo v4.6.6 | sed -e "s/v[^.]*\.//g" -e "s/\.[^.]*//g"`; \<br>
        revision=`echo v4.6.6 | sed -e "s/v[^.]*\.[^.]*\.//g" -e "s///g"`; \<br>        version_num=`eval expr "\( 100000 \\* $major \) + \( 1000 \\* $minor \) + $revision"`; \<br>        echo "#error \"The version indicated in ___VERSION is not
 supported by gambit.h\"" > gambit-not$version_num.h; \<br>        echo "#error \"You are probably compiling C code generated by a Gambit compiler earlier or later than v4.6.6\"" >> gambit-not$version_num.h; \<br>
        echo "#error \"___VERSION will be set to $version_num to reduce other errors\"" >> gambit-not$version_num.h; \<br>        echo "#undef ___VERSION" >> gambit-not$version_num.h; \<br>
        echo "#define ___VERSION $version_num" >> gambit-not$version_num.h; \<br>        echo "#include \"gambit.h\"" >> gambit-not$version_num.h<br>make[1]: Leaving directory `/c/Users/Steve/Desktop/gambit/include'<br>
making all in lib<br>make[1]: Entering directory `/c/Users/Steve/Desktop/gambit/lib'<br>../gsc-boot
 -:~~bin=../bin,~~lib=../lib,~~include=../include -f -c  -check _io.scm<br>gcc -D_WINDOWS  -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fwrapv -fno-keep-inline-dllexport -fmodulo-sched -freschedule-modulo-sched<br>
uled-loops -fno-common -mieee-fp   -I"../include" -c -o "_io.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR="\"/usr/local/Gambit-C\"" -D___SYS_TYPE_CPU="\"i686\"" -D___SYS_TYPE_VENDOR="\"pc\"" -D___SYS_TYPE_OS=<br>
"\"mingw32\"" -D___CONFIGURE_COMMAND="\"./configure '--enable-single-host' '--enable-c-opt' '--enable-gcc-opts'"\" -D___OBJ_EXTENSION="\".o\"" -D___EXE_EXTENSION="\".exe\"" -D___BAT_EXTENSION="\".bat\<br>
"" -D___PRIMAL _io.c -D___LIBRARY<br>gcc.exe: error: _io.c: No such file or directory<br>gcc.exe: fatal error: no input files<br>compilation terminated.<br>make[1]: *** [_io.o] Error 1<br>make[1]: Leaving directory `/c/Users/Steve/Desktop/gambit/lib'<br>
make:
 *** [all-recursive] Error 1<br>sh-3.1$</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">
Any ideas what went wrong?</div><span class="yiv1274703396HOEnZb"><font color="#888888"><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">Steve<br></div></font></span></div></div><br>_______________________________________________<br>

Gambit-list mailing list<br>
<a rel="nofollow" ymailto="mailto:Gambit-list@iro.umontreal.ca" target="_blank" href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a rel="nofollow" target="_blank" href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
<br></blockquote></div><br></div>
</div><br><br> </div> </div>  </div></body></html>