Subject:
|
linker segmentation fault
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Tue, 17 Dec 2002 15:14:45 GMT
|
Viewed:
|
2748 times
|
| |
| |
I'm running Red Hat Linux 8.0 (gcc 3.2 and binutils 2.13). Whe I try to
compile the demos that come with brickOS 0.2.6.09, using binutils
2.12.91 for the cross-linker and gcc 3.2.1 as cross-compiler, the linker
crashes.
Here is the output of the make file:
make[1]: Entering directory
`/home/hlabella/tmp/brickos-0.2.6.09.newConf2/demo'
/home/myhome/mindstorm/bin/h8300-hms-gcc -O2 -fno-builtin
-fomit-frame-pointer -Wall
-I/home/myhome/tmp/brickos-0.2.6.09.newConf2/include
-I/home/myhome/tmp/brickos-0.2.6.09.newConf2/include/lnp -I.
-I/home/myhome/tmp/brickos-0.2.6.09.newConf2/boot -c helloworld.c -o
helloworld.o
In file included from
/home/myhome/tmp/brickos-0.2.6.09.newConf2/include/conio.h:53,
from helloworld.c:1:
/home/myhome/tmp/brickos-0.2.6.09.newConf2/boot/config.h:123:8: warning:
multi-line string literals are deprecated
/home/myhome/mindstorm/bin/h8300-hms-ld -T ../boot/brickOS.lds -relax
-L/home/myhome/tmp/brickos-0.2.6.09.newConf2/lib helloworld.o -lc
-lmint -lfloat -lc++ -o helloworld.ds1 -Ttext 0xb000
make[1]: *** [helloworld.ds1] Segmentation fault
make[1]: *** Deleting file `helloworld.ds1'
make[1]: Leaving directory `/home/myhome/tmp/brickos-0.2.6.09.newConf2/demo'
make: *** [all] Error 2
I tried changing version of ld (before I was using 2.13), but nothing
changed. Do you have any idea or suggestion?
Thanks,
Halva
|
|
Message has 1 Reply:
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|