[comp.windows.x] Help! " Widget class -*- version mismatch

chymes@zug.csmil.umich.edu (Charles Hymes) (04/12/91)

A couple of Programs I've compiled give me the following runtime
error:
Warning: Widget class ------ version mismatch (recompilation needed):
  widget 11004 vs. intrinsics 11003.
What needs to be recompiled? I tried the libraries, and that did not
work.
I tried my code, and that did not work.
Charlweed

dbrooks@osf.org (David Brooks) (04/12/91)

In article <1991Apr12.160616.22427@engin.umich.edu>, chymes@zug.csmil.umich.edu (Charles Hymes) writes:
|> A couple of Programs I've compiled give me the following runtime
|> error:
|> Warning: Widget class ------ version mismatch (recompilation needed):
|>   widget 11004 vs. intrinsics 11003.
|> What needs to be recompiled? I tried the libraries, and that did not
|> work.

You have compiled the R4 Xt library with R3 Xt include files.  Check all
the -I options on the cc lines; one of them (or the final implicit
-I/usr/include) will point to a directory inside which the X directory has
stale .h files.

If it hadn't said "recompilation needed", it would have meant you are
mixing R4 widgets with an R3 Xt.
-- 
David Brooks				dbrooks@osf.org
Systems Engineering, OSF		uunet!osf.org!dbrooks
Experience is what lets us recognize a mistake the second time we make it.