🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #11317

Same problem after patch

#11317
From: Rich Carreiro
Date: Tue, 14 Feb 1989 17:47
55 lines
2629 bytes
I asked this question about 10 days ago and got a number of
answers.  Most blamed the problem on the 5.0 bugs.  I have since
installed the 5.02 patch.  I got the patches from the LBBS on 2/8/89.

My lc.lib has definitely been patched, and lcnb.lib is dated Jan 17, 1989.

Now for the problem:

I havve a program named gadget.c.  It is John Draper's gadget tutorial program.
When I had 4.0x, I recompiled it with
lc -v -Lv gadget

It worked, but there were no gadget images (they weree pre-initialized and were
ending up in my fast RAM).  I then compiled with
lc -v -abd -Lv gadget

THIS WORKED.  IT SHOWED THE GADGETS PERFECTLY.

So along comes 5.0.  I try
lc -v -abd -Lv gadget
and the linker dies with
Error 510: _IntuitionBase references unmerged ......
       try -b0 option on LC.
    etc, etc.

so I do
lc -v -b0 -abd -Lv gadget
and the same thing happens.  I change -abd to -ad.  Same error.
I change -ad to -abcd.  Same error.

Someone, a Mark or Dan or Steve Riley sends me email saying that
I should do -ad, but in any case it will only work in 5.02.

I get 5.02 and apply all the patches.  I compile the program with
lc -v -b0 -ad -Lv gadget

and the linker dies with the SAME error 510.

The only way I've been able to get the program to work is to use the CHIP
option to BLINK to force everything into chip RAM.  I do not like
that solution.  So, what am I doing wrong?
lc -v -abd -Lv gadget    worked FINE with 4.0x
       It (and any permuations of -a[bcd] and -b[0] will NOT work
with 5.0 or 5.02.  I have the same setup now as with 4.0x.

Any explantions?

ARPA:    rlcarr@athena.mit.edu
UUCP:    {wherever}!mit-eddie!mit-athena!rlcarr
BITNET:  rlcarr%athena.mit.edu@MITVMA.mit.edu

*******************************************************************************
* Rich Carreiro                 "Back off man, I'm a scientist."              *
* rlcarr@athena.mit.edu                - Dr. Peter Venkman                    *
*******************************************************************************
Technical Details
Message-ID: <9254@bloom-beacon.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!athena.mit.edu!rlcarr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!athena.mit.edu!rlcarr
From: rlcarr@athena.mit.edu (Rich Carreiro)
Newsgroups: comp.sys.amiga.tech,comp.sys.amiga
Subject: Same problem after patch
Summary: Lattice 5.02
Keywords: My problem or compiler's?
Message-ID: <9254@bloom-beacon.MIT.EDU>
Date: 14 Feb 89 17:47:14 GMT
Sender: daemon@bloom-beacon.MIT.EDU
Reply-To: rlcarr@athena.mit.edu (Rich Carreiro)
Followup-To: comp.sys.amiga.tech
Organization: Massachusetts Institute of Technology
Lines: 55