Technical article 111841

I get non-relocatable symbol errors when compiling on a system with SSE050c installed.

OpenServer 5.0.5

Written · Last revised

Problem

I am compiling a program that requires X11 libraries on an SCO OpenServer Release 5.0.5 system with SSE050c installed and I get a number of error messages similar to the following:

i386ld: line nbr entry (1647326512 0) found for non-relocatable symbol: section .comment, file /usr/lib/libX11.a

followed by:
i386ld warning: Output file xdir not executable

Cause

Some of the static X11 libraries shipped with SSE050c are corrupt.

Solution

One possible workaround is to compile your code using the -belf
cc(CP) flag. This will request that the compiler generate dynamic
ELF binaries (as opposed to static COFF binaries) and will result
in the linker using the dynamic versions of the X11 libraries to
create your binaries.

Customers can also consider upgrading their systems to SCO OpenServer Release 5.0.6 to resolve this problem.

From the Xinuos technical article database, record 111841. Reproduced with permission. The original is at www.sco.com/ta/111841, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.