rlcarr@athena.mit.edu (Rich Carreiro) (02/15/89)
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 * *******************************************************************************