From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: seeking help on make Date: Sat, 20 Jan 2001 14:49:03 +0000 Organization: Customer of Energis Squared Lines: 97 Message-ID: <879j6tcitv9v3asbk0h24dqp7qjqh038ob@4ax.com> References: <54af6t4f2a0lav6km7sj8vp5sf3sckb2uq AT 4ax DOT com> <948d0d$gmq$1 AT nnrp1 DOT deja DOT com> <7pif6tkqvi2ahrr7cf2h8g8kc92l49cjji AT 4ax DOT com> NNTP-Posting-Host: modem-45.elmiron.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newsg1.svr.pol.co.uk 980002155 26905 62.136.92.45 (20 Jan 2001 14:49:15 GMT) NNTP-Posting-Date: 20 Jan 2001 14:49:15 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com al wrote: > >You are building Allegro 3.12? > > > Yes, version 3.12, newly downloaded. Which version of binutils? There seems to be a compatibility problem with the latest version of binutils. Do the example Allegro programs compile and run ok? Did you check the Allegro home page about this? Sorry, I can't suggest more than you either downgrade to binutils 2.8.1 or upgrade Allegro to a later version. Perhaps someone else can offer some better suggestions? Here is the output from an Allegro build with binutils 2.10, lots of similar errors snipped: Compiling Allegro. Please wait... [snip] writing structure offsets into obj/djgpp/asmdef.inc... gcc -x assembler-with-cpp -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o obj/djgpp/blit8.o -c src/blit8.s d:/djgpp/tmp\cc960fxG.s: Assembler messages: d:/djgpp/tmp\cc960fxG.s:280: Warning: indirect call without `*' d:/djgpp/tmp\cc960fxG.s:347: Warning: indirect call without `*' [snip] gcc -x assembler-with-cpp -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o obj/djgpp/blit16.o -c src/blit16.s d:/djgpp/tmp\ccEgrsOR.s: Assembler messages: d:/djgpp/tmp\ccEgrsOR.s:280: Warning: indirect call without `*' d:/djgpp/tmp\ccEgrsOR.s:338: Warning: indirect call without `*' [snip] gcc -x assembler-with-cpp -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o obj/djgpp/gfx8.o -c src/gfx8.s d:/djgpp/tmp\cc6dq8Te.s: Assembler messages: d:/djgpp/tmp\cc6dq8Te.s:266: Warning: indirect call without `*' [snip] d:/djgpp/tmp\cc6dq8Te.s:636: Warning: using `%cx' instead of `%ecx' due to `w' suffix d:/djgpp/tmp\cc6dq8Te.s:638: Warning: using `%si' instead of `%esi' due to `w' suffix d:/djgpp/tmp\cc6dq8Te.s:684: Warning: indirect call without `*' gcc -x assembler-with-cpp -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o obj/djgpp/gfx15.o -c src/gfx15.s d:/djgpp/tmp\ccZ63Wws.s: Assembler messages: [snip] d:/djgpp/tmp\ccxXHSQy.s:598: Warning: using `%cx' instead of `%ecx' due to `w' suffix d:/djgpp/tmp\ccxXHSQy.s:600: Warning: using `%si' instead of `%esi' due to `w' suffix d:/djgpp/tmp\ccxXHSQy.s:646: Warning: indirect call without `*' gcc -x assembler-with-cpp -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o obj/djgpp/gfx24.o -c src/gfx24.s d:/djgpp/tmp\cc8MxQSK.s: Assembler messages: d:/djgpp/tmp\cc8MxQSK.s:271: Warning: indirect call without `*' [snip] d:/djgpp/tmp\cc8MxQSK.s:446: Warning: using `%ax' instead of `%eax' due to `w' suffix d:/djgpp/tmp\cc8MxQSK.s:489: Warning: indirect call without `*' d:/djgpp/tmp\cc8MxQSK.s:684: Warning: using `%cx' instead of `%ecx' due to `w' suffix d:/djgpp/tmp\cc8MxQSK.s:686: Warning: using `%si' instead of `%esi' due to `w' suffix d:/djgpp/tmp\cc8MxQSK.s:736: Warning: indirect call without `*' gcc -x assembler-with-cpp -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o obj/djgpp/gfx32.o -c src/gfx32.s d:/djgpp/tmp\ccvFbFvY.s: Assembler messages: d:/djgpp/tmp\ccvFbFvY.s:269: Warning: indirect call without `*' [snip] gcc -x assembler-with-cpp -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o obj/djgpp/sprite32.o -c src/sprite32.s d:/djgpp/tmp\ccCK7teb.s: Assembler messages: d:/djgpp/tmp\ccCK7teb.s:402: Warning: indirect call without `*' [snip] gcc -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -m486 -O3 -ffast-math -fomit-frame-pointer -o obj/djgpp/gpro.o -c src/djgpp/gpro.c d:/djgpp/tmp\ccmHHjWL.s: Assembler messages: d:/djgpp/tmp\ccmHHjWL.s:72: Warning: using `%al' instead of `%eax' due to `b' suffix d:/djgpp/tmp\ccmHHjWL.s:84: Warning: using `%al' instead of `%eax' due to `b' suffix d:/djgpp/tmp\ccmHHjWL.s:154: Warning: using `%al' instead of `%eax' due to `b' suffix [snip] gcc -x assembler-with-cpp -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o obj/djgpp/irqwrap.o -c src/djgpp/irqwrap.s d:/djgpp/tmp\cc5Uk7Uk.s: Assembler messages: d:/djgpp/tmp\cc5Uk7Uk.s:215: Warning: indirect ljmp without `*' [snip] All done. To use Allegro, #include allegro.h and link with liballeg.a Example command line: gcc foobar.c -o foobar.exe -lalleg Run make compress to run DJP or UPX on the executable files Enjoy! make.exe: Leaving directory `d:/djgpp/allegro'