Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: leclerc@cis.ohio-state.edu (Anthony Leclerc)
Subject: Error linking X11 in C++
Date: 28 Apr 1993 16:36:56 -0400	[thread overview]
Message-ID: <1rmpt9INN24l@tennis.cis.ohio-state.edu> (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



                 reply	other threads:[~1993-04-28 20:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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