I got hs-plugins to compile fine on winxp, but now when I run it I get a crash with this message:<br><br><span style="font-family: courier new,monospace;">c:/ghc/ghc-6.6/HSbase.o: unknown symbol `_free'</span><br><br>
Don mentioned this is a known problem. Is it on anyone's todo list?<br><br>Cheers, - Conal<br><br><div><span class="gmail_quote">On 3/9/07, <b class="gmail_sendername">Conal Elliott</b> <<a href="mailto:conal@conal.net">
conal@conal.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm running cygwin on WinXP and got a different failure (below) from the latest darcs
<span id="st" name="st" class="st">hs</span>-<span id="st" name="st" class="st">plugins</span>. Line 11 is right after the TOP definition. Does anyone have a theory about what's going on here? - Conal<br><br>configure:1954: gcc
conftest.c >&5<br>conftest.c:11: error: missing terminating " character<br>conftest.c:14: error: missing terminating " character<br>configure:1957: $? = 1<br>configure: failed program was:<br>| /* confdefs.h
. */<br>| <br>| #define PACKAGE_NAME ""<br>| #define PACKAGE_TARNAME ""<br>| #define PACKAGE_VERSION ""<br>| #define PACKAGE_STRING ""<br>| #define PACKAGE_BUGREPORT ""<br>
| #define CYGWIN 1<br>| #define LEADING_UNDERSCORE 1<br>| #define TOP "c:\\Haskell\\<span id="st" name="st" class="st">hs</span>-<span id="st" name="st" class="st">plugins</span><br>"<br>| #define WITH_GHC "ghc"
<br>| #define GHC_LIB_PATH "c:/ghc/ghc-6.6<br>"<br>| /* end confdefs.h
. */<br>| <br>| int<br>| main ()<br>| {<br>| <br>| ;<br>| return 0;<br>| }<br>configure:1996: error: C compiler cannot create executables<div><span class="e" id="q_11139b71da0e389f_1"><br><br><br><div><span class="gmail_quote">
On 3/9/07, <b class="gmail_sendername">
Alistair Bayley</b> <<a href="mailto:alistair@abayley.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">alistair@abayley.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> You managed to build the darcs version under ghc 6.6?<br>><br>> For me runghc setup.hs configure fails<br>> with lots of strange error messages... (below)<br>> other packages build ok.<br>><br>> Rene.
<br>><br>> C:\repos\hs-plugins>darcs pull<br>> plink: unknown option "-O"<br>> Pulling from "<a href="http://www.cse.unsw.edu.au/%7Edons/code/hs-plugins" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.cse.unsw.edu.au/~dons/code/hs-plugins
</a>"...<br>> No remote changes to pull in!<br>><br>> C:\repos\hs-plugins>runghc Setup.lhs configure<br><br>I used an MSYS shell on Windows. It doesn't build with ghc/cabal on a<br>basic windows box - you need some sort of Unix clone. Looks like
<br>you're using cygwin, I think ('cause you still have paths starting<br>with C:\).<br><br>Alistair<br>_______________________________________________<br>Haskell-Cafe mailing list<br><a href="mailto:Haskell-Cafe@haskell.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Haskell-Cafe@haskell.org</a><br><a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.haskell.org/mailman/listinfo/haskell-cafe</a>
<br></blockquote></div><br>
</span></div></blockquote></div><br>