Check out this FAQ entry:
http://www.open-mpi.org/faq/?category=building#build-rte
I realize that it's an Open MPI FAQ item, but I think that the issue may
be the same. Specifically, libpbs.a was found, but you are trying to
create shared LAM libraries. You may be able to recompile Torque with
-fpic such that libpbs.a is able to be linked into shared libraries.
Alternatively, I believe that recent versions of Torque (2.1.x?) allow
building of shared libraries. If upgrading is a possibility, this may
solve your problem.
> -----Original Message-----
> From: lam-bounces_at_[hidden]
> [mailto:lam-bounces_at_[hidden]] On Behalf Of Dennis van Dok
> Sent: Thursday, July 06, 2006 5:52 AM
> To: lam_at_[hidden]
> Subject: LAM: build errors with torque
>
> 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
>
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
|