Stef Epardaud wrote:
> >rock stephane 13:14 ~ > xemacs: Symbol
`toggleClassRec' has different size
> in
> >shared object, consider re-linking
> >xemacs: Symbol `labelClassRec' has different size in shared object, consider
> >re-linking
>
> Are you using Athena 3d? Whatever ,you are likely to have a version
> mismatch between the headers you are using and the library (Xaw or Xm or
> Xaw3d).
yes indeed,
if i want to link xemacs and not get those warnings everytime i use it,
i have to uninstall athena3d .
if ever it is installed it uses it instead of athena and gives those
mistakes.
is it related to XEmacs, or to my installation of athena 3d ?
It's related to the fact that Xaw3d isn't entirely compatible with
Xaw. The Xaw3d versions of the subclasses of Widget and WidgetClass
have extra fields, so the field offsets don't match.
The two are compatible for applications which only ever access Widgets
via Xt functions. They aren't compatible for code which accesses the
fields of a Widget directly (this should only be done by Widget
subclasses, although some broken applications also do this).
If you wish to use both, you can either:
a) Install Xaw3d as libXaw3d.so.* rather than libXaw.so.*. This
requires that applications are compiled for a specific version.
b) Install Xaw3d as libXaw.so.* but in a different directory to the
real libXaw.so.*. You can then determine which version to use by
setting LD_LIBRARY_PATH appropriately (e.g. from a wrapper script).
--
Glynn Clements <glynn(a)sensei.co.uk>