Article View: comp.sys.amiga.tech
Article #2946Re: does Lattice 5.04 BLINK have any bu
From: GARYM
Date: Thu, 15 Mar 1990 10:17
Date: Thu, 15 Mar 1990 10:17
68 lines
3370 bytes
3370 bytes
>Background: I'm porting p2c (a fairly good pascal-to-c converter) to the
>Amiga. Everything compiles properly, but when I blink, this is what happens :
>Blink - Version 5.04
>Copyright (c) 1988 Lattice, Inc. All Rights Reserved.
>Undefined symbols First Referenced
>------------------------ ----------------
>_DOSBase File 'lib:cres.o'
>Enter a DEFINE value for _DOSBase (default _stub):
>I have another question : is there anyway to get Lattice to successfully
>compile very large source files (that produce objects of size >32K) ?
>The p2c source had several like this (I broke them up so they'd compile) that
>generated warnings.
>Advance Thanx,
>fred
>grwalter@watmath.uwaterloo.ca (Canadian domain)
>grwalter@watmath.waterloo.edu (US Internet, including CSNET)
>grwalter@watmath.waterloo.cdn (CDNnet and some European nets)
>watmath!grwalter (UUCP)
Hope this will help.
Looks as though yor missing the "c.o" library in you load path.
Try This:
vvvvvvv
BLINK TO p2c FROM lib:c.o lib:cres.o trans.o stuff.o out.o comment.o lex.o
^^^^^^^
dir.o parse1.o parse2.o parse3.o parse4.o decl1.o decl2.o decl3.o decl4.o
decl5.o expr1.o expr2.o expr3.o expr4.o expr5.o pexpr1.o pexpr2.o pexpr3.o
funcs1.o funcs2.o funcs3.o funcs4.o funcs5.o hpmods.o citmods.o LIBRARY
lib:a.lib+lib:lc.lib NODEBUG
That should do it. _DOSbase is just a basic C library macro (I believe!?).
I had this same problem, then I decided to REALLY read the manual.
Which, incidentally sucks... AND they really don't mention the
C.O library all that much. Took me two days to compile "Hello World!"
Also, you may want to get the developers kit from (CATS) Commodore,
looks like you don't have the Amiga.lib (this is very important).
It also may be on your Lattice disks....
Sorry I can't help you out on the next question...
+---------------------------+
| |
| // |+
| \X/ = A Creative Mind ||+
| |||
+---------------------+ +---------------------------------------------------+
|Gary MacDougall | | The opinions expressed here are in no way related |\
|Prime Computer Inc. | | with my employer, unless of course the're good | |
|Oracle Development | | enough get me a healthy raise... | |
|Framingham, Ma 01701 | | | |
+---------------------+ +---------------------------------------------------+ |
\ \ \ \|
+---------------------+ +---------------------------------------------------+
Technical Details
Message-ID:
<387100014@ENG.Prime.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!think!snorkelwacker!bloom-beacon!primerd!ENI!ENG!GARYMReferences:
<21930@watdragon.waterloo.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!think!snorkelwacker!bloom-beacon!primerd!ENI!ENG!GARYM From: GARYM@ENG.Prime.COM Newsgroups: comp.sys.amiga.tech Subject: Re: does Lattice 5.04 BLINK have any bu Message-ID: <387100014@ENG.Prime.COM> Date: 15 Mar 90 10:17:00 GMT References: <21930@watdragon.waterloo.edu> Lines: 68 Nf-ID: #R:watdragon.waterloo.edu:-2193000:ENG:387100014:000:2815 Nf-From: ENG.Prime.COM!GARYM Mar 15 10:17:00 1990