Date: Fri, 18 Apr 1997 10:07:17 +1200 From: Bill Currie Subject: Re: libhw problem. To: Gregary J Boyles Cc: djgpp AT delorie DOT com Reply-to: billc AT blackmagic DOT tait DOT co DOT nz Message-id: <33569F15.4ED@blackmagic.tait.co.nz> Organization: Tait Electronics NZ MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <5j5930$sn9 AT lion DOT cs DOT latrobe DOT edu DOT au> Precedence: bulk Gregary J Boyles wrote: > > Trying to install the Hardware Interrupt Handling Library. > When I try to make the library I get the error below. > Can anyone help me out? > > Alaric B. Williams' PC Chipset Interface Library V2.00 > > INSTALLATION: > > 1) Preserving paths, unzip everything into your DJGPP directory, just like > you did with the djgpp distribution files > > 2) CD to src/libhw > > 3) run MAKE > > gcc -g3 testhw.o -lhw -liostr -o testhw > d:/djgpp/lib/libhw.a(lock.o)(.text+0x15):lock.c: undefined reference to `eldata' > d:/djgpp/lib/libhw.a(lock.o)(.text+0x1a):lock.c: undefined reference to `sldata' > d:/djgpp/lib/libhw.a(lock.o)(.text+0x20):lock.c: undefined reference to `sldata' > d:/djgpp/lib/libhw.a(lock.o)(.text+0x32):lock.c: undefined reference to `eltext' > d:/djgpp/lib/libhw.a(lock.o)(.text+0x37):lock.c: undefined reference to `sltext' > d:/djgpp/lib/libhw.a(lock.o)(.text+0x3d):lock.c: undefined reference to `sltext' > make.exe: *** [testhw.exe] Error 1 find his version of djgpp.djl (or .lnk in libhw? (can't remeber) and change the definitions of *ldat and *ltxt to *ldata and *ltext (this saves on recompiling yours and Alaric's code). Bill -- Leave others their otherness.