[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HDF5 and metis 4.0 on mingw
From: |
John W. Eaton |
Subject: |
HDF5 and metis 4.0 on mingw |
Date: |
Sun, 12 Aug 2007 21:46:09 -0400 |
On 13-Aug-2007, Tatsuro MATSUOKA wrote:
| I have been trying to build mingw octave 2.9.13 binary.
| I failed to build HDF5 due to the netdb.h and 'netinet'.
| I tried to use prebuild library for MSVC but the trial was
| failed.
|
| While for metis, such an error occurred in the make.
| make[1]: Entering directory
| `/home/octaves/metis-4.0/Programs'
| gcc -L/GnuWin32/lib -L/GnuWin32/bin
| -L/usr/local/octave-2.9.13/lib -L. -L.. -o
| ../pmetis pmetis.o io.o -lmetis -lm
| ../libmetis.a(util.o):util.c:(.text+0x8a3): undefined
| reference to `srand48'
| ../libmetis.a(util.o):util.c:(.text+0x8ba): undefined
| reference to `srand48'
| ../libmetis.a(graph.o):graph.c:(.text+0x9b1): undefined
| reference to `drand48'
| ../libmetis.a(minitpart2.o):minitpart2.c:(.text+0xac):
| undefined reference to `drand48'
|
| The 'libmetis.a' itself was built. However, in the octave
| building the results was not successful because of link
| error.
|
| Please give me good advice.
I don't know about build problems, but you can't distribute a binary
linked with metis because the license terms of metis are not
compatible with the GPL. So if you are planning to distribute this
binary, you must find a way to build it without metis. I think it
should be possible to configure the sparse libraries so that they do
not depend on metis.
jwe
Re: HDF5 and metis 4.0 on mingw, Michael Goffioul, 2007/08/13