Max:  I saw this too.  The problem is, we are linking the libs in the
right order.  It looks like the linker is not respecting that.

-Jeff

On Fri, 25 Jan 2002, Max Horn wrote:

> I searched the net and found this:
>
> http://www.perchine.com/dyp/x/motif-faq/part9/faq-doc-24.html
>
> To quote it:
>
>
> >269) Why do I get "Error: attempt to add non-widget child "dsm" to parent"?
> >
> >[Last modified: May 95]
> >
> >Answer: You're linking your libraries in the wrong order.  You must link -lXm
> >*before* -lXt.
> >
> >Thanks to Ken Lee, [EMAIL PROTECTED]
> >
> >Ken Sall ([EMAIL PROTECTED]) adds: This same error occurs if you combine Motif and
> >Athena widgets in the same application. If you link with "-lXaw" before "-
> >lXm", you get the runtime error. However, if you switch the order of the two
> >libraries, there is no problem. For example:
> >
> >         cc mothena.c -o mothena -lXm -lXaw -lXt -lXmu -lX11
> >
>
>
> In retrospect, I seem to remember something like this happened
> before. I am not yet sure what exactly we have to do to fix this:
> i.e. whether change lesstif, XFree, or the affected packages. But at
> least now we've got a pointer.
>
>
>
> Max
>

-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/CDC  R/CDC1        Email  : [EMAIL PROTECTED]
325 Broadway                Web    : www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80303-3328 Office : Skaggs Research Cntr 1D-124


_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to