delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2016/05/16/16:45:08

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.129.51.77 with SMTP id z74mr21850221ywz.13.1463430573932;
Mon, 16 May 2016 13:29:33 -0700 (PDT)
X-Received: by 10.140.102.107 with SMTP id v98mr874484qge.15.1463430573804;
Mon, 16 May 2016 13:29:33 -0700 (PDT)
Newsgroups: comp.os.msdos.djgpp
Date: Mon, 16 May 2016 13:29:33 -0700 (PDT)
In-Reply-To: <573A10AB.50506@gmx.de>
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=95.97.234.31; posting-account=FtL26AoAAAAOWnPCykSWF42mZjEap865
NNTP-Posting-Host: 95.97.234.31
References: <e5a345c1-cfcb-4951-bc97-ae41166756ce AT googlegroups DOT com> <573A10AB DOT 50506 AT gmx DOT de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0a1ee49f-92cd-4575-a311-c795632d3122@googlegroups.com>
Subject: Re: Trying to link Allegro, but something is wrong. Any pointers appreciated
From: "mike AT letsdeliver DOT com [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Injection-Date: Mon, 16 May 2016 20:29:33 +0000
Bytes: 3603
Lines: 51
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u4GKj2Fr014685
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Monday, May 16, 2016 at 8:26:05 PM UTC+2, Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com] wrote:
> 
> I have tried to compile all422s out-of-the-box using an actual DJGPP installation
> composed by djdev205, gcc610, bnu226br3 and mak41br2 and the configuration step
> already miserable failed.  I got the following error message:
> 
> I had to install the DJGPP port of make 3.81 to get the makefile working.

First of all, thanks so much for the detailed response. I managed to get a hello world example to compile with 4.2.2, thanks to your help: http://i.imgur.com/he4IihL.png

Interestingly, I did not need to do everything you described in your mail. I'm not sure why. I did do a few other changes to the Makefile a few days before, so possibly I've already fixed whatever problems there were—I can't remember everything I specifically did. I'll know once I copy over these changes to my repo so I can see in the diff exactly how it's different from the vanilla 4.2.2 release. I also intend to write an article/tutorial about this.

I did, however, need the -fgnu89-inline. That was an essential part of the puzzle. After that, it complained about "saved_ds" being an undefined reference. I went into the code and simply removed its "static" declaration.

> This shall only show that the allegro code is quite old and that it has been
> tailored to be compiled with programs that are nowadays obsolete.  You are
> completely alone to port allegro to the versions of the compilers that you want
> to use to write your code.  It is also not clear to my why you do not install
> /current/v2tk/allegro/all422ar2.zip.  Probably you will also need
> /current/v2tk/allegro/freeb12br3.zip aka freeb12b FreeBE/AF 1.2 for DJGPP V2.

Yes, I was not expecting it to work at this point. I didn't get any of these other dependencies. Maybe I will in the future as I start actually working with it, though. I'm sure other errors will crop up.

> Again, I am not aware of any DJGPP user that still uses allegro for DJGPP or DOS
> purposes anymore so you cannot expect much assistance.  You will have to solve
> the problems alone or give up.  I have never used allegro in my whole live and
> cannot give more assistance.

You've been a great help, thanks again.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019