[Top][All Lists]
[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 20:37:01 +1100 |
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.