From: boyer AT cs DOT sc DOT edu (Daniel Boyer) Newsgroups: comp.os.msdos.djgpp Subject: Re: Help!!! can't make GRX20! Date: Wed, 01 Jan 1997 17:03:56 GMT Organization: University of South Carolina - Columbia - Computer Science Lines: 117 Message-ID: <32ca9859.346906@redwood.cs.sc.edu> References: <32c93e30 DOT 657891 AT redwood DOT cs DOT sc DOT edu> <32C9C111 DOT 77E4 AT cs DOT com> <32c9acda DOT 448572 AT redwood DOT cs DOT sc DOT edu> <32C9E859 DOT 720A AT cs DOT com> NNTP-Posting-Host: poplar.cs.sc.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On Tue, 31 Dec 1996 20:30:17 -0800, "John M. Aldrich" wrote: >Daniel Boyer wrote: >> >> Ok, It turns out I was missing a file (I think it was something like >> copy.exe) that was in the binutils zip (I need to upgrade anyways) so >> now the allegro make gets further than before but now a bunch of >> 'Undefined reference" messages come up...the last set of which has to >> do with the joystick polling and finaly ends with: make.exe[demo.exe] >> *** error 1 I am about ready to just give up on this. Daniel >> Boyer > >I'm sorry you're having problems. Believe me; we try as hard as we can >to help out all our users, even those with pernicious problems like >these. :) Please bear with us a little while longer... I understand...it just gets frustrating sometimes. I really appreciate all the help that people are giving me with this. > >Please post the exact errors you received. The way to do this is: > > redir -o make.out -eo make > >Then post the contents of the 'err' file. That should tell us exactly >what is wrong... I hope. ok here is what was written to make.out when I ran it in the allegro directory: gcc -s -o demo/demo.exe obj/demo.o liballeg.a obj/demo.o(.text+0x105):demo.c: undefined reference to `joy_left' obj/demo.o(.text+0x12c):demo.c: undefined reference to `joy_right' obj/demo.o(.text+0x20e):demo.c: undefined reference to `joy_up' obj/demo.o(.text+0x6b7):demo.c: undefined reference to `joy_b1' obj/demo.o(.text+0x6c0):demo.c: undefined reference to `joy_b2' obj/demo.o(.text+0x16da):demo.c: undefined reference to `poll_joystick' obj/demo.o(.text+0x16e0):demo.c: undefined reference to `joy_b1' obj/demo.o(.text+0x16e9):demo.c: undefined reference to `joy_b2' obj/demo.o(.text+0x1a1e):demo.c: undefined reference to `poll_joystick' obj/demo.o(.text+0x1a24):demo.c: undefined reference to `joy_b1' obj/demo.o(.text+0x1a31):demo.c: undefined reference to `joy_b2' obj/demo.o(.text+0x1a7e):demo.c: undefined reference to `poll_joystick' obj/demo.o(.text+0x1a84):demo.c: undefined reference to `joy_b1' obj/demo.o(.text+0x1a91):demo.c: undefined reference to `joy_b2' obj/demo.o(.text+0x1ade):demo.c: undefined reference to `poll_joystick' obj/demo.o(.text+0x1ae4):demo.c: undefined reference to `joy_b1' obj/demo.o(.text+0x1af1):demo.c: undefined reference to `joy_b2' obj/demo.o(.text+0x1b3e):demo.c: undefined reference to `poll_joystick' obj/demo.o(.text+0x1b44):demo.c: undefined reference to `joy_b1' obj/demo.o(.text+0x1b51):demo.c: undefined reference to `joy_b2' obj/demo.o(.text+0x1b9e):demo.c: undefined reference to `poll_joystick' obj/demo.o(.text+0x1ba4):demo.c: undefined reference to `joy_b1' obj/demo.o(.text+0x1bb1):demo.c: undefined reference to `joy_b2' obj/demo.o(.text+0x1bfe):demo.c: undefined reference to `poll_joystick' obj/demo.o(.text+0x1c04):demo.c: undefined reference to `joy_b1' obj/demo.o(.text+0x1c11):demo.c: undefined reference to `joy_b2' obj/demo.o(.text+0x1c5e):demo.c: undefined reference to `poll_joystick' obj/demo.o(.text+0x1c64):demo.c: undefined reference to `joy_b1' obj/demo.o(.text+0x1c6d):demo.c: undefined reference to `joy_b2' obj/demo.o(.text+0x1caa):demo.c: undefined reference to `poll_joystick' obj/demo.o(.text+0x1cb0):demo.c: undefined reference to `joy_b1' obj/demo.o(.text+0x1cb9):demo.c: undefined reference to `joy_b2' obj/demo.o(.text+0x1d15):demo.c: undefined reference to `joy_b1' obj/demo.o(.text+0x1d1e):demo.c: undefined reference to `joy_b2' obj/demo.o(.text+0x1e10):demo.c: undefined reference to `poll_joystick' obj/demo.o(.text+0x204f):demo.c: undefined reference to `joy_b1' obj/demo.o(.text+0x205c):demo.c: undefined reference to `joy_b2' obj/demo.o(.text+0x212f):demo.c: undefined reference to `poll_joystick' obj/demo.o(.text+0x2a40):demo.c: undefined reference to `poll_joystick' obj/demo.o(.text+0x2a51):demo.c: undefined reference to `joy_b1' obj/demo.o(.text+0x2a5a):demo.c: undefined reference to `joy_b2' obj/demo.o(.text+0x2ae4):demo.c: undefined reference to `poll_joystick' obj/demo.o(.text+0x2af3):demo.c: undefined reference to `joy_b1' obj/demo.o(.text+0x2afc):demo.c: undefined reference to `joy_b2' obj/demo.o(.text+0x32f7):demo.c: undefined reference to `initialise_joystick' obj/demo.o(.text+0x338b):demo.c: undefined reference to `joy_b1' obj/demo.o(.text+0x3394):demo.c: undefined reference to `joy_b2' liballeg.a(gui.o)(.text+0x2b01):gui.c: undefined reference to `poll_joystick' liballeg.a(gui.o)(.text+0x2b0d):gui.c: undefined reference to `joy_left' liballeg.a(gui.o)(.text+0x2b16):gui.c: undefined reference to `joy_right' liballeg.a(gui.o)(.text+0x2b1f):gui.c: undefined reference to `joy_up' liballeg.a(gui.o)(.text+0x2b28):gui.c: undefined reference to `joy_down' liballeg.a(gui.o)(.text+0x2b31):gui.c: undefined reference to `joy_b1' liballeg.a(gui.o)(.text+0x2b3a):gui.c: undefined reference to `joy_b2' liballeg.a(gui.o)(.text+0x2b62):gui.c: undefined reference to `joy_left' liballeg.a(gui.o)(.text+0x2b82):gui.c: undefined reference to `joy_right' liballeg.a(gui.o)(.text+0x2ba2):gui.c: undefined reference to `joy_up' liballeg.a(gui.o)(.text+0x2bc2):gui.c: undefined reference to `joy_down' liballeg.a(gui.o)(.text+0x2be2):gui.c: undefined reference to `joy_b1' liballeg.a(gui.o)(.text+0x2beb):gui.c: undefined reference to `joy_b2' make.exe: *** [demo/demo.exe] Error 1 Does anyone know what is causing this error? Daniel Boyer