https://bugzilla.novell.com/show_bug.cgi?id=866735 https://bugzilla.novell.com/show_bug.cgi?id=866735#c0 Summary: executable depends libs in linking order Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: wharms@bfs.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=580874) --> (http://bugzilla.novell.com/attachment.cgi?id=580874) motif example with pushbutton User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 I have notices a strange bug. A C-program compiles flawless but stops working depending on the linking order of the libraries. gcc pushbutton.c -lX11 -lXt -lXm -lm -o pushbutton /pushbutton X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 19 (X_DeleteProperty) Resource id in failed request: 0x0 Serial number of failed request: 88 Current serial number in output stream: 92 gcc pushbutton.c -lXm -lX11 -lXt -lm -o pushbutton /pushbutton Reproducible: Always Steps to Reproduce: 1. install OS 13.1 with OpenMotif latest version, gcc etc. 2. compile example code with "gcc pushbutton.c -lX11 -lXt -lXm -lm -o pushbutton" (beware of the library order) Actual Results: This version will cause an X error: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 19 (X_DeleteProperty) Resource id in failed request: 0x0 Serial number of failed request: 88 Current serial number in output stream: 92 It is not clear what actually causes the bug but it seems not right. It may affect other libraries i have no idea. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.