Mail Archives: djgpp/1997/01/01/22:08:54
On Wed, 1 Jan 1997 20:30:27 GMT, John Lathrop <lathropj AT elite DOT net>
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/
- Raw text -