igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Installing igraph on Solaris


From: Jens Pfau
Subject: Re: [igraph] Installing igraph on Solaris
Date: Sat, 30 Jan 2010 21:44:38 +1100

I forgot to say that I also had to add casts to all void* returns in
the cpp files because the compiler would complain about that. Don't
know how I could have solved that differently.


On Sat, Jan 30, 2010 at 8:37 PM, Jens Pfau <address@hidden> wrote:
> After getting rid of igraph_logbl, I can compile the library with the
> newer GCC without getting any assembly error. However, I do still get
> the linking error when using the lib. Maybe you know what might be the
> problem?
>
> Some other things I had to modify to be able to compile the source on Solaris:
> I had to change the suffixes of all files that include cs/cs.h from .c
> to .cpp such that they are compiled by g++ and not gcc because gcc was
> unable to include complex.h (even though it is present in the
> compiler's include directory). I tried to change the include
> declaration to different versions without success but I do not want to
> rule out that this could have been solved in a much simpler way.
>
> In bignum.h I changed the include of pstdint.h to sys/int_types.h.
> Probably because of that there appeared a conflict between the
> definition of cnt_t and a system definition. I changed the name of
> this both in bignum.h and bignum.c.
>
> The function sqrtf does not exist on Solaris. As far as I remember I
> changed the call to sqrt() somewhere.
>
> logbl is called in bliss_bignum.hh, so I cannot compile without it. I
> changed the call to logb() but maybe it would be better to provide a
> working implementation of igraph_logbl.
>




reply via email to

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