Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Error linking X11 in C++
@ 1993-04-28 20:36 Anthony Leclerc
  0 siblings, 0 replies; only message in thread
From: Anthony Leclerc @ 1993-04-28 20:36 UTC (permalink / raw)


I have been using the DEC C++ for ULTRIX on RISC V1.2.  What I'm
trying to do is compile some X11 routines that compiled fine in "C".
The problem seems to with the include files <X11/X11.h> and
<X11/Xutil.h>.  The prototyping in X11.h seems to require things
declared in Xutil.h and vice-versa.  No matter which one I place
first, I get a multitude of errors.

When I use C++ V2.1 (Stroustrup's), things compile, but I get the
following error at the linking stage:

ld:
/lib/libX11-mit.a(getnodeent.o): jump relocation out-of-range, bad
object file p
roduced, can't jump from 0x40e9f8 to 0x10000610 (stat)
/lib/libc.a(res_init.o): jump relocation out-of-range, bad object file
produced,
 can't jump from 0x428d70 to 0x10000610 (stat)
/lib/libc.a(getsvc.o): jump relocation out-of-range, bad object file
produced, c
an't jump from 0x429114 to 0x10000610 (stat)
*** Error code 1

I've tried using the MIT include files instead and linking with
"libX11-mit" instead of "libX11".  Nothing seems to eliminate the
linking problem.

Any ideas?

Sincerely...Tony Leclerc



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-04-28 20:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-04-28 20:36 Error linking X11 in C++ Anthony Leclerc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox