Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#6 tools build but demos don't

open
nobody
None
5
2004-04-24
2004-04-24
Eidirsceoil
No

First off, thanks for making the OS and for looking at
this ;-)

I built gcc-3.3 and binutils 2.13 for the hitachi using
the method in the HOWTO.

I can build the util/ tools for brickOS-0.2.6.10.6 and
the CVS version. However, both versions fail during
the build of the demos, during the makelx invocation.

Here is the output of the makefile for the CVS
version. Essentially the same error is happens in
the other. (gcc, etc., are in /opt/h8300/bin. Spacing
added).

$ make
/opt/h8300/bin/h8300-hitachi-hms-ld -T
../boot/brickOS.lds -relax
-L/home/jon/apps/OS/legOS/kernel/cur/brickos/lib
helloworld.o -lc -lmint -lfloat -lc++ -o helloworld.dc1
--oformat coff-h8300 -Ttext 0xb000

/opt/h8300/bin/h8300-hitachi-hms-objcopy -I
coff-h8300 -O symbolsrec helloworld.dc1
helloworld.ds1

/opt/h8300/bin/h8300-hitachi-hms-ld -T
../boot/brickOS.lds -relax
-L/home/jon/apps/OS/legOS/kernel/cur/brickos/lib
helloworld.o -lc -lmint -lfloat -lc++ -o helloworld.dc2
--oformat coff-h8300 -Ttext 0xb210

/opt/h8300/bin/h8300-hitachi-hms-objcopy -I
coff-h8300 -O symbolsrec helloworld.dc2
helloworld.ds2

/home/jon/apps/OS/legOS/kernel/cur/brickos/util/makelx
helloworld.ds1 helloworld.ds2 helloworld.lx

malformed symbolsrec file at line 2
make: *** [helloworld.lx] Error 255
rm helloworld.ds1 helloworld.dc2 helloworld.ds2
helloworld.dc1

Discussion

  • Eidirsceoil
    Eidirsceoil
    2004-04-24

    Logged In: YES
    user_id=1028083

    I looked through the source behind makelx, particularly
    srecload.c, and by examining it and modifying the error
    messages so I could actually see what they were about, I
    realized the problem was objcopy dumped a different file
    format than was expected. I have begun rewriting
    srecload.c to reflect this. For future reference, line #'s are
    NOT enough for error messages.