Re: [Haskell-cafe] Problem linking against Data.Graph

2005-07-15 Thread Josh Hoyt
On 7/15/05, Andy Gimblett [EMAIL PROTECTED] wrote: Hi all, [snipped] Unfortunately, here's what happens: [EMAIL PROTECTED] spa_haskell] ghc -o Main Main.hs Main.o(.text+0x145): In function `__stginit_Main_': : undefined reference to `__stginit_DataziGraphziInductive_' collect2: ld

Re: [Haskell-cafe] Problem linking against Data.Graph

2005-07-15 Thread Andy Gimblett
On Fri, Jul 15, 2005 at 10:42:11AM -0700, Josh Hoyt wrote: I'm pretty new myself, but I ran into a similar problem using a different library. The problem is that some parts of the library are hidden by default, and you have to tell ghc to include them. To solve your immediate problem, add

Re: [Haskell-cafe] Problem linking against Data.Graph

2005-07-15 Thread Tomasz Zielonka
On Fri, Jul 15, 2005 at 07:13:53PM +0100, Andy Gimblett wrote: On Fri, Jul 15, 2005 at 10:42:11AM -0700, Josh Hoyt wrote: I'm pretty new myself, but I ran into a similar problem using a different library. The problem is that some parts of the library are hidden by default, and you have to

Re: [Haskell-cafe] Problem linking against Data.Graph

2005-07-15 Thread Donald Bruce Stewart
A.M.Gimblett: Hi all, I'm something of a Haskell newbie, and this is my first post to this list. I'm trying to do some very basic things with graphs, but can't get started with Data.Graph. In particular, linking fails - I'm wondering if something's wrong with my install. (For the