"Simon Marlow" <[EMAIL PROTECTED]> wrote,
> > > That would be one solution, yes. On your system, if you
> > remove /usr/lib/libgmp.a (and /usr/lib/libgmp.so if you have
> > one), does it work? You only need these files if you intend
> > to build any software which depends on having GMP versi
> > That would be one solution, yes. On your system, if you
> remove /usr/lib/libgmp.a (and /usr/lib/libgmp.so if you have
> one), does it work? You only need these files if you intend
> to build any software which depends on having GMP version 2,
> which is unlikely since GMP 3 is source-co
On Wed, 2001-10-31 at 15:49, Simon Marlow wrote:
>
> > Here is the output:
> > 1. Main.out from a link that succeeds.
> > 2. GtkHelloWorld.out, a sample program from gtk+hs, compiled with
> > ghc -v -fglasgow-exts -lgtkHS GtkHelloWorld.hs `gtkhs-config
> > --cflags` `gtkhs-config --libs` `gtk-co
> Here is the output:
> 1. Main.out from a link that succeeds.
> 2. GtkHelloWorld.out, a sample program from gtk+hs, compiled with
> ghc -v -fglasgow-exts -lgtkHS GtkHelloWorld.hs `gtkhs-config
> --cflags` `gtkhs-config --libs` `gtk-config --cflags`
> `gtk-config --libs`
>
> In fact, you are r
On Mon, 2001-10-29 at 20:24, Gérard Milmeister wrote:
>
> n.b. I send the message only to you, not to the mailing list because
> of the attachments.
Ooops...
--
Gérard Milmeister
Tannenrauchstr. 35
8038 Zürich
[EMAIL PROTECTED]
___
Glasgow-haskell-u
On Mon, 2001-10-29 at 11:11, Simon Marlow wrote:
>
> > On Sat, 2001-10-27 at 17:27, Manuel M. T. Chakravarty wrote:
> > > Gérard Milmeister <[EMAIL PROTECTED]> wrote,
> > >
> > > > On Thu, 2001-10-25 at 13:53, Simon Marlow wrote:
> > > > > It seems very strange that the libgmp in your GHC
> > i
> On Sat, 2001-10-27 at 17:27, Manuel M. T. Chakravarty wrote:
> > Gérard Milmeister <[EMAIL PROTECTED]> wrote,
> >
> > > On Thu, 2001-10-25 at 13:53, Simon Marlow wrote:
> > > > It seems very strange that the libgmp in your GHC
> installation doesn't work. How did you install GHC? Do you
>
On Sat, 2001-10-27 at 17:27, Manuel M. T. Chakravarty wrote:
> Gérard Milmeister <[EMAIL PROTECTED]> wrote,
>
> > On Thu, 2001-10-25 at 13:53, Simon Marlow wrote:
> > > It seems very strange that the libgmp in your GHC installation doesn't work.
>How did you install GHC? Do you have problems l
Gérard Milmeister <[EMAIL PROTECTED]> wrote,
> On Thu, 2001-10-25 at 13:53, Simon Marlow wrote:
> > It seems very strange that the libgmp in your GHC installation doesn't work. How
>did you install GHC? Do you have problems linking other programs, or just gtk+hs
>programs?
> >
> As far as I
On Thu, 2001-10-25 at 13:53, Simon Marlow wrote:
> It seems very strange that the libgmp in your GHC installation doesn't work. How
>did you install GHC? Do you have problems linking other programs, or just gtk+hs
>programs?
>
As far as I know, it happens only with gtk+hs. Small programs I ha
> On Thu, 2001-10-25 at 12:04, Simon Marlow wrote:
>
> >
> > The version in /opt/ghc/lib/ghc-5.02 should work, as should
> /usr/local/lib/libgmp.so.3.1.1. The version in /usr/lib
> looks like GMP 2, so that would cause the link errors.
> >
> > Make sure the link command line doesn't have -L/
On Thu, 2001-10-25 at 12:04, Simon Marlow wrote:
>
> The version in /opt/ghc/lib/ghc-5.02 should work, as should
>/usr/local/lib/libgmp.so.3.1.1. The version in /usr/lib looks like GMP 2, so that
>would cause the link errors.
>
> Make sure the link command line doesn't have -L/usr/lib on it,
> When trying to compile the examples in gtk+hs, I get the
> following link
> errors:
> /opt/ghc/lib/ghc-5.02/libHSstd.a(PrelFloat__413.o): In
> function `shP2_2_alt':
> PrelFloat__413.o(.text+0x2b0): undefined reference to `__gmpz_cmp_si'
> etc..
> When linking simple programs, this doesn't oc
When trying to compile the examples in gtk+hs, I get the following link
errors:
/opt/ghc/lib/ghc-5.02/libHSstd.a(PrelFloat__413.o): In function `shP2_2_alt':
PrelFloat__413.o(.text+0x2b0): undefined reference to `__gmpz_cmp_si'
etc..
When linking simple programs, this doesn't occur.
I have the fol
14 matches
Mail list logo