This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Compiling LAM MPI results in undefined reference
- From: Siegmar Gross <Siegmar dot Gross at informatik dot fh-fulda dot de>
- To: cygwin at cygwin dot com
- Date: Tue, 5 Oct 2004 15:10:11 +0200 (CEST)
- Subject: Compiling LAM MPI results in undefined reference
- Reply-to: Siegmar Gross <Siegmar dot Gross at informatik dot fh-fulda dot de>
Hi,
I tried to compile lam-mpi-7.1.1 on the latest Cygwin release and
failed. I know that this isn't a list about LAM MPI but perhaps
somebody was able to compile the package and knows what is wrong
with my approach. I used the following commands:
configure --prefix=/usr/local/lam-7.1.1 --with-exceptions \
--with-purify --with-threads=posix --with-trillium \
--with-rsh="ssh -q" \
--enable-shared --without-romio --without-cs-fs \
|& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV
make |& tee log.make.$SYSTEM_ENV.$MACHINE_ENV
make install |& tee log.make-install.$SYSTEM_ENV.$MACHINE_ENV
After about an hour I got
...
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_slurm.
c: undefined reference to `_inet_ntop'
collect2: ld returned 1 exit status
make[2]: *** [lamgrow.exe] Error 1
make[2]: Leaving directory `/tmp/lam-7.1.1/lam-7.1.1/otb/lamgrow'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/lam-7.1.1/lam-7.1.1/otb'
make: *** [all-recursive] Error 1
eiger lam-7.1.1 55
Searching in the web showed that other persons had had similar problems.
One suggestion was to have cygipc installed and ipc-daemon2 running.
The Cygwin documentation states that it is deprecated and that I should
use cygserver instead (which I have running as a Windows service).
eiger lam-7.1.1 57 ps -aef
UID PID PPID TTY STIME COMMAND
SYSTEM 388 1 ? 09:47:06 /usr/bin/cygrunsrv
SYSTEM 496 388 ? 09:47:08 /usr/sbin/cygserver
SYSTEM 1336 1 ? 09:47:11 /usr/bin/cygrunsrv
SYSTEM 1444 1336 ? 09:47:13 /usr/sbin/sshd
SYSTEM 3064 1 ? 11:14:53 /usr/bin/cygrunsrv
SYSTEM 3332 3064 ? 11:14:53 /usr/sbin/portmap
Admin 1648 1 0 12:47:52 /usr/bin/tcsh
Admin 2260 1 ? 12:47:53 /usr/bin/ssh-agent
Admin 3704 1648 0 12:48:02 /usr/X11R6/bin/Xwin
Admin 1920 1648 0 12:48:02 /usr/X11R6/bin/fvwm2
Admin 3364 1648 0 12:48:04 /usr/bin/xterm
Admin 3412 1648 0 12:48:04 /usr/bin/xterm
Admin 2204 1648 0 12:48:04 /usr/X11R6/bin/xclock
Admin 3072 3412 1 12:48:05 /usr/bin/tcsh
Admin 1608 3364 2 12:48:05 /usr/bin/tcsh
Admin 3808 1608 2 14:42:19 /usr/bin/ps
eiger lam-7.1.1 58
"libcygipc.* is available.
eiger doc 50 ls -l /usr/lib/libcygipc.*
-rwxr-xr-x 1 Admin Benutzer 1520410 Feb 10 2004 /usr/lib/libcygipc.a
-rwxr-xr-x 1 Admin Benutzer 17310 Feb 10 2004 /usr/lib/libcygipc.dll.a
Has anybody been able to compile lam-mpi? Do I need other options for
"configure"? Thank you very much for any help in advance.
Please let me know if you need more information.
Kind regards
Siegmar
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/