[Haskell-cafe] Re: HS-Plugins 1.0 chokes on simple test, WinXP GHC-6.6

Conal Elliott conal at conal.net
Sat Mar 17 00:45:18 EDT 2007


I got hs-plugins to compile fine on  winxp, but now when I run it I get a
crash with this message:

c:/ghc/ghc-6.6/HSbase.o: unknown symbol `_free'

Don mentioned this is a known problem.  Is it on anyone's todo list?

Cheers, - Conal

On 3/9/07, Conal Elliott <conal at conal.net> wrote:
>
> I'm running cygwin on WinXP and got a different failure (below) from the
> latest darcs hs-plugins.  Line 11 is right after the TOP definition.  Does
> anyone have a theory about what's going on here? - Conal
>
> configure:1954: gcc    conftest.c  >&5
> conftest.c:11: error: missing terminating " character
> conftest.c:14: error: missing terminating " character
> configure:1957: $? = 1
> configure: failed program was:
> | /* confdefs.h .  */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define CYGWIN 1
> | #define LEADING_UNDERSCORE 1
> | #define TOP "c:\\Haskell\\hs-plugins
> "
> | #define WITH_GHC "ghc"
> | #define GHC_LIB_PATH "c:/ghc/ghc-6.6
> "
> | /* end confdefs.h .  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:1996: error: C compiler cannot create executables
>
>
> On 3/9/07, Alistair Bayley <alistair at abayley.org> wrote:
> >
> > > You managed to build the darcs version under ghc 6.6?
> > >
> > > For me runghc setup.hs configure fails
> > > with lots of strange error messages... (below)
> > > other packages build ok.
> > >
> > > Rene.
> > >
> > > C:\repos\hs-plugins>darcs pull
> > > plink: unknown option "-O"
> > > Pulling from "http://www.cse.unsw.edu.au/~dons/code/hs-plugins
> > <http://www.cse.unsw.edu.au/%7Edons/code/hs-plugins>"...
> > > No remote changes to pull in!
> > >
> > > C:\repos\hs-plugins>runghc Setup.lhs configure
> >
> > I used an MSYS shell on Windows. It doesn't build with ghc/cabal on a
> > basic windows box - you need some sort of Unix clone. Looks like
> > you're using cygwin, I think ('cause you still have paths starting
> > with C:\).
> >
> > Alistair
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070316/1739cb4b/attachment.htm


More information about the Haskell-Cafe mailing list