Subject:
|
Install problems on Linux RedHat 9
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Fri, 18 Jul 2003 18:01:48 GMT
|
Viewed:
|
2907 times
|
| |
| |
Hi,
I tried to install brickos-0.2.6.10 and have been unsuccessful.
I started by going to rpmfind.net to get the h8300 binutils and gcc. The
versions were:
h8300-hms-binutils-2.11.2-1
h8300-hms-gcc-3.0.1-2
The brickos make failed with the following:
/usr/local/bin/h8300-hms-ld -T ../boot/brickOS.lds -relax
-L/home/gregk/sw/brickos-0.2.6.10/lib c++.o -lc -lmint -lfloat -lc++ -o
c++.dc1 --oformat coff-h8300 -Ttext 0xb000
c++.o(.text+0x30):c++.cpp: undefined reference to `operator new(unsigned)'
c++.o(.text+0x42):c++.cpp: undefined reference to `operator delete(void*)'
c++.o(.text+0x4a):c++.cpp: undefined reference to `operator new(unsigned)'
c++.o(.text+0x5c):c++.cpp: undefined reference to `operator delete(void*)'
c++.o(.text+0x30):c++.cpp: undefined reference to `operator new(unsigned)'
c++.o(.text+0x42):c++.cpp: undefined reference to `operator delete(void*)'
c++.o(.text+0x4a):c++.cpp: undefined reference to `operator new(unsigned)'
c++.o(.text+0x5c):c++.cpp: undefined reference to `operator delete(void*)'
c++.o(.text+0x30):c++.cpp: undefined reference to `operator new(unsigned)'
c++.o(.text+0x42):c++.cpp: undefined reference to `operator delete(void*)'
c++.o(.text+0x4a):c++.cpp: undefined reference to `operator new(unsigned)'
c++.o(.text+0x5c):c++.cpp: undefined reference to `operator delete(void*)'
c++.o(.rodata+0x18):c++.cpp: undefined reference to `vtable for
__cxxabiv1::__si_class_type_info'
c++.o(.rodata+0x1e):c++.cpp: undefined
reference to `vtable for __cxxabiv1::__si_class_type_info'
c++.o(.rodata+0x40):c++.cpp: undefined reference to `vtable for
__cxxabiv1::__class_type_info' make[1]: *** [c++.dc1] Error 1
Then I found the h8300-hms project on sourceforge.net. I tried the latest
gcc (which includes binutils); version:
h8300-hms-gcc-3.3-0.1
The make failed with the following:
make[2]: Entering directory `/home/gregk/sw/brickos-0.2.6.10/lib/c'
/usr/local/bin/h8300-hms-gcc -O2 -fno-builtin -fomit-frame-pointer -Wall
-I/home/gregk/sw/brickos-0.2.6.10/include
-I/home/gregk/sw/brickos-0.2.6.10/include/lnp -I. -c memcpy.c -o memcpy.o
memcpy.c:48:9: missing terminating " character
memcpy.c:56:9: missing terminating " character
memcpy.c:58:9: missing terminating " character
memcpy.c: In function `memcpy':
memcpy.c:59: error: parse error before numeric constant
memcpy.c:60:16: invalid suffix "f" on integer constant
memcpy.c:61: error: syntax error at '@' token
memcpy.c:62: error: syntax error at '@' token
memcpy.c:63: error: syntax error at '#' token
memcpy.c:64:16: invalid suffix "b" on integer constant
memcpy.c:66:9: missing terminating " character
memcpy.c:44: warning: unused variable `end'
memcpy.c:45: warning: unused variable `dummy'
make[2]: *** [memcpy.o] Error 1
make[2]: Leaving directory `/home/gregk/sw/brickos-0.2.6.10/lib/c'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/gregk/sw/brickos-0.2.6.10/lib'
make: *** [all] Error 2
I then went back to the previous version from sourceforge.net; version(s):
h8300-hms-gcc-3.1-1
h8300-hms-binutils-2.13-1
The make failed with the following:
/usr/local/bin/h8300-hms-ld -T ../boot/brickOS.lds -relax
-L/home/gregk/sw/brickos-0.2.6.10/lib helloworld.o -lc -lmint -lfloat
-lc++ -o helloworld.dc1 --oformat coff-h8300 -Ttext 0xb000
/usr/local/bin/h8300-hms-objcopy -I coff-h8300 -O symbolsrec
helloworld.dc1 helloworld.ds1 /usr/local/bin/h8300-hms-ld -T
../boot/brickOS.lds -relax -L/home/gregk/sw/brickos-0.2.6.10/lib
helloworld.o -lc -lmint -lfloat -lc++ -o helloworld.dc2 --oformat
coff-h8300 -Ttext 0xb210 /usr/local/bin/h8300-hms-objcopy -I coff-h8300 -O
symbolsrec helloworld.dc2 helloworld.ds2
/home/gregk/sw/brickos-0.2.6.10/util/makelx helloworld.ds1 helloworld.ds2
helloworld.lx malformed symbolsrec file at line 2
make[1]: *** [helloworld.lx] Error 255
Any ideas on how to get it working? It seems the compiler changes a lot :(
Between each version change I deleted and re-created the brickos-0.2.6.10
directory.
Thanks, Greg.
|
|
Message has 2 Replies: | | Re: Install problems on Linux RedHat 9
|
| (...) ... (...) ... Yes, no one has ported the C++ bits of brickOS to work with gcc3. Use gcc2, or restrict yourself to plain C. (...) ... (...) Yes, gcc3.3 removed support for multi-line string literals. The brickOS committers all seem to be rather (...) (21 years ago, 18-Jul-03, to lugnet.robotics.rcx.legos)
| | | Re: Install problems on Linux RedHat 9
|
| (...) You should stay with this version if you don't want to use C++. (...) This is the newest compiler, I think. The problem with this is that the famous "multi line string literals" are not working any more. Mlsl have been marked as deprecated in (...) (21 years ago, 18-Jul-03, to lugnet.robotics.rcx.legos)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|