On Tue, Jul 27, 2004 at 09:09:17AM -0400, Charlie Peck wrote:
> I can't seem to get xmpi to link the xmpi binary due to undefined
> symbols (lestiff) or multiply defined and undefined symbols (Motif).
>
> OSX 10.3.4
> LAM 7.0.6 (built from source, not the package)
> lesstif and Motif
>
> I suspect that this isn't xmpi's problem but I'm hoping someone on the
> list may have a quick answer.
>
Hi Charlie,
Here are a couple of suggestions...
Also, when you get the undefined symbols,
First, you seem to have XauDisposeAuth multiplied defined in the X11 and Xp
libraries, and you're linking against both. Can you cut the -lXp out of your
Makefile's CFLAGS and/or LDFLAGS and see if that squelches the issue. You
shouldn't really require the X print libs anyway. When I build against
Lesstif, the only LDFLAGS that I require are:
LDFLAGS +=$(LAMDIR)/lib -lmpi -llam -lutil -lpthread
...for the undefineds when compiling against Lesstif, what are your linking
flags? Can you determine which libX11 is being used (if any -- which may be
the problem), and check that the symbols are in the library? As in:
[gray_at_aplaga]>nm libX11.so | grep Dispose
000324c8 T XauDisposeAuth
Keep us posted.
-Paul
|