LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Dennis van Dok (dennisvd_at_[hidden])
Date: 2006-07-06 05:51:46


Hello,

I'm getting build errors (7.1.2) when torque-devel (source RPM:
torque-1.0.1p6-11.SL30X.st.src.rpm) is installed on the build machine
(otherwise a stock CentOS 3 box).

Here are some relevant parts of the rpmbuild log.

./configure --host=i686-redhat-linux-gnu --build=i686-redhat-linux-gnu
--target=i386-redhat-linux-gnu --program-prefix= --prefix=/opt/lam
--exec-prefix=/opt/lam --bindir=/opt/lam/bin --sbindir=/opt/lam/sbin
--sysconfdir=/etc/opt/lam --datadir=/opt/lam/share
--includedir=/opt/lam/include --libdir=/opt/lam/lib
--libexecdir=/opt/lam/libexec --localstatedir=/var/opt/lam
--sharedstatedir=/opt/lam/com --mandir=/opt/lam/share/man
--infodir=//opt/lam/share/info --with-rpi=usysv --enable-shared=yes
--with-rsh=ssh
...
============================================================================
== Configuring SSI boot tm module version 1.1
============================================================================
...
checking tm.h usability... yes
checking tm.h presence... yes
checking for tm.h... yes
...
configure: /bin/sh './configure' succeeded for share/ssi/boot/tm
configure: Post-module top-level processing
checking for libtool-supplied linker flags... found
extra LDFLAGS: (none)
extra LIBS: /usr/lib/libpbs.a -ldl -lnsl
configure: +++ SSI module boot:tm compile: yes
configure: +++ SSI module boot:tm mode: static
...
make[2]: Entering directory
`/tmp/dennis/rpmbuild/BUILD/lam-7.1.2/otb/lamclean'
...
gcc -O2 -g -pipe -march=i386 -mcpu=i686 -pthread -o .libs/lamclean
lamclean.o ../../share/liblam/.libs/liblam.so -lnsl
../../share/libltdl/.libs/libltdlc.a -ldl -lutil -Wl,--rpath
-Wl,/opt/lam/lib
../../share/liblam/.libs/liblam.so: undefined reference to `tm_poll'
../../share/liblam/.libs/liblam.so: undefined reference to `tm_finalize'
../../share/liblam/.libs/liblam.so: undefined reference to `tm_nodeinfo'
../../share/liblam/.libs/liblam.so: undefined reference to `tm_init'
../../share/liblam/.libs/liblam.so: undefined reference to `tm_rescinfo'
../../share/liblam/.libs/liblam.so: undefined reference to `tm_spawn'
../../share/liblam/.libs/liblam.so: undefined reference to `tm_obit'
collect2: ld returned 1 exit status

What now?

Dennis van Dok

-- 
D.H. van Dok :: Software Engineer :: www.nikhef.nl :: www.vl-e.nl