This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001613] New: ConfigTool build issue on recent Fedora Linux


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001613

           Summary: ConfigTool build issue on recent Fedora Linux
           Product: eCos
           Version: CVS
          Platform: All
        OS/Version: HostOS: Linux
            Status: ASSIGNED
          Severity: normal
          Priority: normal
         Component: ConfigTool
        AssignedTo: john@dallaway.org.uk
        ReportedBy: john@dallaway.org.uk
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


Created an attachment (id=1802)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1802)
ct-build-120622.patch

ConfigTool fails to link on recent Fedora Linux:

> undefined reference to symbol 'XGetWindowAttributes'
> /usr/bin/ld: note: 'XGetWindowAttributes' is defined in DSO
> /usr/lib/libX11.so.6 so try adding it to the linker command line
> /usr/lib/libX11.so.6: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status

This is due to changed DSO-linking sematics. Ref:

http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking

Issue reported by David Fernandez at:

http://ecos.sourceware.org/ml/ecos-discuss/2012-06/msg00038.html

The attached patch resolves this issue by adding -lX11 to the linker flags.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]