From: boyer AT cs DOT sc DOT edu (Daniel Boyer) Newsgroups: comp.os.msdos.djgpp Subject: Re: Help!!! can't make GRX20! Date: Thu, 02 Jan 1997 01:18:07 GMT Organization: University of South Carolina - Columbia - Computer Science Lines: 41 Message-ID: <32cb0c7b.384749@redwood.cs.sc.edu> References: <199701012333 DOT PAA26129 AT almond DOT elite DOT net> NNTP-Posting-Host: poplar.cs.sc.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On Wed, 1 Jan 1997 20:30:27 GMT, John Lathrop wrote: >-- [ From: John Lathrop * EMC.Ver #2.5.02 ] -- > >> From: Daniel Boyer \ Internet: (boyer AT cs DOT sc DOT edu) >> To: DJGPP Maillist \ Internet: (djgpp AT delorie DOT com) >> >> Subject: Re: Help!!! can't make GRX20! > >> 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' >etc. ... > >OKAY... I think I can answer this one! >"liballeg.a" should be "-lalleg". >Take a look at the info file by running "info.exe". Go to "GCC", "Invoking >Gcc", and then "Option Summary"...scan through this for the different type >of codes...and you will find -lLIBRARY...this tells you all about it. > >However, it would be easier to just use the "makefile" in the allegro root >directory c:\djgpp\allegro\. Go to that directory and type make at the dos >prompt. This one makefile prepares everything. But, I AM using the makefile in the allegro directory... the errors above were generated by typeing make in the allegro directory! > >John >John >-- >**************************************************** >John Lathrop > >http://www.elite.net/~lathropj/