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
-- 
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890

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

Reply via email to