Re: ld/Xm/Xt question
-----BEGIN PGP SIGNED MESSAGE-----
On Mon, 21 Jun 1999 harsh@lanl.gov wrote:
<snip>
> my test case that worked I had -lXm before -lXt, and the main app had -lXT -lXm
> on the compile line. Both cases compiled cleanly, without warnings
> or errors, just the app with -lXt -lXm would seg fault and with -lXm -lXt the
> app would run sucessfully.
>
> Is this a problem with the loader/linker or Lesstif or in XFree?
I think this is more of a linker/loader problem. Not only that, but I
don't think it's Linux specific. I believe you'll run into similar
problems on most Unix variations. Actually, I think that in many cases
your app will fail to link at all if you have -lXt before -lXm. I could
be mistaken, as I haven't used many non-GNU based systems lately.
noah
PGP public key available at
http://lynx.dac.neu.edu/home/httpd/n/nmeyerha/mail.html
or by 'finger -l frodo@ccs.neu.edu'
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBN26Xf4dCcpBjGWoFAQFiZAP9FeVqVscH5O/OsjbFK3PB6PTvOdJgBjLQ
6UDwjQn+R32yKitDrQ3iSjDd10xVm250Z0HJnttRzZCPQY8X5dUUVzBzt5vvCm8r
N2pOVuqAiBMc4sICtXlGD9ikOGybOatf8Rh7nHwCTAfrB0ls6c75VJbt/GbMYSdW
GS4tl0+WEYo=
=nBf8
-----END PGP SIGNATURE-----
Reply to: