[Coco] Nitros9 Build question
Robert Gault
robert.gault at att.net
Tue Jan 27 22:27:43 EST 2015
Bill Nobel wrote:
> Hi all, I got a question about building Nitros9. I have lwtools, toolshed etc.. installed on my Win7 machine all builds working fine. On both my Linux & Mac Machines, I get the following error:
>
> lwasm --6309 --format=os9 --pragma=pcaspcr,nosymbolcase,condundefzero,undefextern,dollarnotlocal --includedir=. --includedir=/Users/billnobel/Downloads/Coco3/nitros9-v3.3.0/defs -DNOS9VER=3 -DNOS9MAJ=3 -DNOS9MIN=0 -DNOS9DBG=0 -Dcoco3=1 -DH6309=1 -I/Users/billnobel/Downloads/Coco3/nitros9-v3.3.0/level2/modules/kernel -I/Users/billnobel/Downloads/Coco3/nitros9-v3.3.0/level1/modules/kernel /Users/billnobel/Downloads/Coco3/nitros9-v3.3.0/level2/modules/kernel/krn.asm -okrn
> WARNING: IFP1 if is not supported; ignoring
> /Users/billnobel/Downloads/Coco3/nitros9-v3.3.0/level2/modules/kernel/krn.asm:00028 IFP1
>
> ERROR: Multiply defined symbol (D.CCStk)
> /Users/billnobel/Downloads/Coco3/nitros9-v3.3.0/level2/modules/kernel/krn.asm:00101 D.CCStk std <D.CCStk set pointer to top of global memory to $2000
>
> Am I missing something?
>
> Also my hg clone command isn’t working on my Mac tonight (Getting server error 500) anybody else experiencing this tonight?
>
> Bill Nobel
>
>
Bill,
Many of the lwasm errors are either confusing or misleading. The IFP1 error is
one of those and results from the second error preventing calculation of file
size, etc.
I just tried compiling a recent level2/coco3 tree and did not receive an error
for krn.asm. That indicates there is something wrong with either your copy of
krn.asm or one of the other files, rules.mak, port.mak, makefile.
Given that D.CCStk is multiply defined, suggests that in addition to being
defined in os9.d ( use defsfile ) you have defined it somewhere else.
Robert
More information about the Coco
mailing list