[torqueusers] torque-2.1.0p0 link problems on IRIX 6.5
garrick at speculation.org
garrick at speculation.org
Wed Jun 14 13:18:42 MDT 2006
On Wed, Jun 14, 2006 at 12:46:51PM -0400, Robert Payne[Contr] alleged:
> The IRIX linker apparently does one pass thru the link
> libraries? All I had to do was duplicate the libraries so it
> made a second pass. Perhaps a simple reordering of the
> libraries would have worked but a simple duplication was
> easier.
I'd like to get a solution in CVS that doesn't duplicate the libs. I
can't find a "single pass only" option on any linker around here, so
can you do a few more tests?
> So in the torque-2.1.0p0/src/server
>
> PBS_LIBS = ../lib/Libattr/libattr.a \
> ../lib/Libpbs/libtorque.la \
> ../lib/Libsite/libsite.a
I think just putting libtorque.la last should work.
> in resmom I did something similar:
>
> 68% diff Makefile /var/tmp/payner/torque-2.1.0p0/src/resmom
> 142,144c142
> < ../lib/Libsite/libsite.a \
> < ../lib/Libattr/libattr.a \
> < ../lib/Libpbs/libtorque.la -lcpr
> ---
> > ../lib/Libsite/libsite.a
> 150c148
> < LDADD = $(PBS_LIBS) $(MOMLIBS) irix6/libfoo.a $(PBS_LIBS)
> ---
> > LDADD = $(PBS_LIBS) $(MOMLIBS) irix6/libfoo.a
> 178,180c176
> < irix6/libfoo.a ../lib/Libattr/libattr.a \
> < ../lib/Libpbs/libtorque.la ../lib/Libsite/libsite.a
> <
> ---
> > irix6/libfoo.a
Can you double check this part? It looks like you removed libattr and
libtorque? That can't be right. Is the patch backwards?
With libtorque last in the list, try:
LDADD = $(MOMLIBS) irix6/libfoo.a $(PBS_LIBS)
More information about the torqueusers
mailing list