Just learned by this message

gcc -g -O0 -Wall -Wimplicit -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wall  -o test1
test1.o -L../../lib/.libs -lXlt -L/usr/X11R6/lib        -L../../../Xm-2.1/.libs
-L../../../Mrm-2.1/.libs         -lMrm -lXm -L/usr/X11R6/lib -lXt -lSM -lICE -lXpm 
-lX11  -lm 
../../lib/.libs/libXlt.so: undefined reference to `XmeGetLocalizedString'
collect2: ld returned 1 exit status

that things don't work right for building Xlt (and probably Xbae) 
when building inside the LessTif tree. (I have an old LessTif in the
system's directories which I can't remove).

This has been discussed, we even have a --with-motif-flag
(how to use it here: in toplevel configure using 
--with-motif-libs=/this/is/where/I/build/lesstif/lesstif/lib/Xm-x.y/.libs
??)
My (not quite new) idea is to move the trees outside lesstif/ which is
also a good demonstration that these do not depend on LessTif,
but could be used with any Motif version. Since this is a bit
complicated, for now I'd like to already remove any hardcoded references
to ../../ from the Makefiles. This will remove any ambiguity,
just leaving the problem as described above to the user.

-- 
Alexander Mai
[EMAIL PROTECTED]

Reply via email to