On Sat, 20 Jan 2001 14:19:03 -0800, [EMAIL PROTECTED] wrote:

>Bug #129550, was updated on 2001-Jan-20 14:19
>Here is a current snapshot of the bug.
>
>Project: LessTif
>Category: Xbae library
>Status: Open
>Resolution: None
>Bug Group: None
>Priority: 5
>Submitted by: tobiasoed
>Assigned to : nobody
>Summary: Beeps using a pattern and XbaeInput on Linux. 
>
>Details: When using an XbaeInput widget that has a pattern defined I get
>beeps when I move the window that contains the widget, as well as when the
>window looses focus etc... I observe this behaviour on intel686 running
>linux+lesstif but not on alpha machines running digital unix+motif.
>The code at the end of the post exhibits this behaviour. 
>Note that if I change the order of the libraries Xt and Xm I don't get the
>beeps anymore, but my real application doesn't run when compiled that
>way.
>This is what my linux system is. I am not the sys admin and wonder if it is
>normal that there are so many different versions installed.
>
>qcd:~/C>rpm -q lesstif
>lesstif-0.88-9
>lesstif-0.89.9-2
>lesstif-0.91.4-1
>lesstif-0.91.4-1
>
>qcd:~/C>rpm -q Xbae
>Xbae-4.6.2.4-7
>Xbae-4.7-2
[...]

All are outdated, BTW.
Furthermore it is very important that Xbae is built against exactly
the runtime version of LessTif being installed!

>/* This is how I compile
>cc -ansi -Wall -pedantic -o test.XbaeInput test.XbaeInput.c
>-L/usr/X11R6/lib/ -lXm -lXt -lX11 -lXbae 
>*/
>
[...]

The link order in principle is wrong:
   -lXbae -lXm -lXt -lX11
is the canonical one: just order libs so that the ones which
depend on others come first. This may not be important
on some systems, but OTOH it will be necessary on many
and does not hurt on any which I would be aware of.

The example seems to work fine here with LessTif&Xbae from
CVS on OS/2.


---
Alexander Mai
[EMAIL PROTECTED]


Reply via email to