Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!think!husc6!bunny!krs0 From: krs0@GTE.COM (Rod Stephens) Newsgroups: comp.unix.ultrix Subject: DS 3100/Xwindows bug Message-ID: <7842@bunny.GTE.COM> Date: 27 Nov 89 15:35:32 GMT Reply-To: krs0@bunny.GTE.COM (Rod Stephens) Organization: GTE Laboratories, Waltham, MA Lines: 28 A guy I work with had a bug in a big Xwindows application on a DECstation 3100. At link time he got a few pages of errors like: /lib/libX11.a(Xrm.o): jump relocation out-of-range, bad object file produced, can't jump from 0x46c440 to 0x10003970 (index) /lib/libX11.a(Xrm.o): jump relocation out-of-range, bad object file produced, can't jump from 0x46c47c to 0x10003970 (index) : : /lib/libc.a(getttyent.o): jump relocation out-of-range, bad object file produced, can't jump from 0x497614 to 0x10003970 (index) *** Error code 1 After an unhelpful call to software support and much fiddling around, he narrowed the problem down to a variable named "index". He changed the variable's name to something else and all worked fine. It seemed as if there might be some C language or system internal variable named "index" and that his "index" was getting confused with this one. Has anyone else seen this? Does anyone know what was happening? Rod Stephens GTE Laboratories Inc. 40 Sylvan Rd Waltham, MA 02254