You can find a definition for inet_ntop in
cygwin-1.5.11-1\usr\src\cygwin-1.5.11-1\newlib\libc\sys\linux\net; or if
you're under time pressure and you don't need slurm you can comment out the
few lines that refer to inet_ntop.
I built LAM 7.1 on Cygwin 1.5.11-1, so it can be done. Here are some steps:
1. Have the following in your environment:
CYGWIN="server"
CC=cc
CXX=g++
FC=f77
2. Start ipc-daemon2.exe
3. Here's the configuration I used:
configure --without-romio --with-memory-manager=none --with-rsh="ssh -x"
I never got LAM to work on multiple nodes using rsh, but ssh works.
Mark
-----Original Message-----
From: lam-bounces_at_[hidden] [mailto:lam-bounces_at_[hidden]] On Behalf Of
Siegmar Gross
Sent: Tuesday, October 05, 2004 7:23 AM
To: lam_at_[hidden]
Subject: Re: LAM: Cygwin: compiling LAM MPI results in undefined reference
> ...
> gcc -O3 -fexceptions -fexceptions -o lamgrow.exe lamgrow.o
> ../../share/liblam/.libs/liblam.a ../../share/libltdl/.libs/libltdlc.a
>
../../share/liblam/.libs/liblam.a(ssi_boot_slurm.o)(.text+0x3c8):ssi_boot_sl
urm.
> c: undefined reference to `_inet_ntop'
I learned from the Cygwin mailing list that this function is not implemented
because Cygwin doesn't support IPv6 yet. The function is only used in
lam-7.1.1/share/ssi/boot/slurm/src/ssi_boot_slurm.c. Does anybody know what
to do? I couldn't find a #ifdef in that file which I could use to undefine
this function nor does "configure" offer a --without-ipv6 (at least I
haven't
found it).
Kind regards
Siegmar
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/
|