Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rcbc From: rcbc@honir.cs.cornell.edu (Robert Cooper) Newsgroups: comp.sys.isis Subject: Sun lwp "REGOFFSET" bug. Message-ID: <34275@cornell.UUCP> Date: 15 Nov 89 14:59:25 GMT Sender: nobody@cornell.UUCP Organization: Cornell Univ. CS Dept. Ithaca NY Lines: 28 Several people have reported getting the following error when linking an ISIS application on some versions of SunOS: ld: Undefined symbol REGOFFSET The problem is mentioned in the Sun Technical Bulletin issue 1988-12, p2250. The fix for a Sun 3 is simple: Make the following 2 line assembly file, call it fix.s: .globl REGOFFSET REGOFFSET=8 Then go: cc -c fix.s ar u liblwp.a fix.o ranlib liblwp.a chmod 644 liblwp.a liblwp.a is in /usr/lib. Of course take backup copies of liblwp for safety. The SUN4 fix is a bit longer. Look it up in the Sun Technical Bulletin. (Looks like this "bug" is that SUN left something off the release tape!) -- Robert Cooper