igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] C library compilation on Leopard


From: Gabor Csardi
Subject: Re: [igraph] C library compilation on Leopard
Date: Sun, 24 Feb 2008 21:58:34 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

I don't have a Mac to try, but some guesses:

1) try to do ./configure --with-pic
2) try to replace 'ld' with 'ld_classic', although i've no idea 
   how to do that on a Mac
3) try to use gcc 3.x instead 4.x

Btw. the web is full with error reports about this, try to 
search for 'not allowed in slidable image' and see if you can
find something useful.

Gabor

On Sun, Feb 24, 2008 at 09:46:58PM +0100, Gabor Csardi wrote:
> Lacon,
> 
> a workaround is 
> 
> ./configure --disable-gmp
> 
> which turns off GMP support (currently only used for 
> calculating the number of automorphisms of a graph).
> 
> Gabor
> 
> On Sun, Feb 24, 2008 at 09:31:48PM +0100, Lacón Grelos wrote:
> >     Dear igraphers.
> >     I have tried to compile the igraph c source under Mac OSX and... i  
> > failed. Specifically, in "make" process it stops after the following  
> > error:
> > 
> > ld: absolute addressing (perhaps -mdynamic-no-pic) used in  
> > ___gmpn_add_n from /usr/local/lib/libgmp.a(add_n.o) not allowed in  
> > slidable image
> > 
> > I am running Leopard 10.5.2, by the way. It seems there is a problem  
> > with the linker options (IMHO).
> > 
> > Any idea about the error?
> >     Best
> > 
> > 
> > 
> > _______________________________________________
> > igraph-help mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/igraph-help
> 
> -- 
> Csardi Gabor <address@hidden>    UNIL DGM
> 
> 
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help

-- 
Csardi Gabor <address@hidden>    UNIL DGM




reply via email to

[Prev in Thread] Current Thread [Next in Thread]