Subject:
|
Re: can't dll with brickOS 2.6.10
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Fri, 25 Apr 2003 10:49:52 GMT
|
Viewed:
|
3645 times
|
| |
| |
In lugnet.robotics.rcx.legos, Bernhard Powolny writes:
> In lugnet.robotics.rcx.legos, Ben Jackson writes:
> > I have been away for quite a while, and when I tried to upgrade to 0.2.6.10
> > I found that after I firmdl3 (which works, and the RCX works) I am unable to
> > dll (yes, using the included dll, yes, with rebuilt .lx files). I get
> > "error deleting program". With any combination of args. The RCX does not
> > respond to "standard" IR commands (eg sent with NQC) either, though I can
> > see its IR indicator flicker. Going back to legOS 0.2.3 works.
> >
> > This is on FreeBSD, but that doesn't seem to be the problem (at least the
> > port is set up right and the tower does send IR).
Dear Ben
Now i have find the solution for the problem:
Machine: WIN2000
1) delete cygwin-B20 and clean regedit
2) Follow now the Instruction
LegOS 0_2_6 - Instructions for installing on Win9x-NT-2000-XP.htm
install latest cygwin Version 1.3.22-1
I installed more or less everything
$ cygcheck -c
Cygwin Package Information
Package Version
_update-info-dir 00162-1
agetty 2.1-1
ash 20020731-1
astyle 1.15.3-3
autoconf 2.54-1
autoconf-devel 2.57-1
autoconf-stable 2.13-4
automake 1.7.1-1
automake-devel 1.7.3-1
automake-stable 1.4p5-5
base-files 1.3-1
base-passwd 1.1-1
bash 2.05b-9
bc 1.06-1
binutils 20030307-1
bison 20030307-1
byacc 1.9-1
bzip2 1.0.2-2
ccache 1.9-1
chkconfig 1.2.24h-1
clear 1.0-1
cmake 1.6.6-1
compface 1.4-5
cpio 2.5-1
crypt 1.0-1
ctags 5.5-3
curl 7.10.4-1
curl-devel 7.10.4-1
cvs 1.11.0-1
cygrunsrv 0.95-1
cygutils 1.1.3-1
cygwin 1.3.22-1
cygwin-doc 1.3-2
dejagnu 20021217-2
diff 1.0-1
diffutils 2.8.1-1
doxygen 1.2.18-1
dpkg 1.10.4-2
ed 0.2-1
ELFIO 1.0.0-1
emacs 21.2-12
emacs-el 21.2-11
expat 1.95.5-1
expect 20030128-1
figlet 2.2-1
file 4.02-1
fileutils 4.1-1
findutils 4.1.7-4
flex 2.5.4-2
gawk 3.1.2-2
gcc 3.2-3
gcc-mingw 20020817-5
gcc2 2.95.3-10
gdbm 1.8.0-5
gettext 0.11.5-1
gettext-devel 0.11.5-1
gnupg 1.2.1-1
gperf 2.7.2-1
grep 2.5-1
groff 1.18.1-2
gsl 1.3-1
guile 1.6.0-1
guile-devel 1.6.0-1
guile-doc 1.6.0-1
gzip 1.3.3-4
indent 2.2.8-1
initscripts 0.9-1
ioperm 0.4-1
jbigkit 1.4-1
less 378-1
libbz2_0 1.0.2-1
libbz2_1 1.0.2-2
libcharset1 1.8-2
libdb3.1 3.1.17-2
libgdbm 1.8.0-5
libgdbm-devel 1.8.0-5
libgdbm3 1.8.3-1
libguile12 1.6.0-1
libiconv 1.8-2
libiconv2 1.8-2
libintl 0.10.38-3
libintl1 0.10.40-1
libintl2 0.11.5-1
libkpathsea3 2.0.2-1
libltdl3 1.5-1
libncurses-devel 5.3-1
libncurses5 5.2-1
libncurses6 5.2-8
libncurses7 5.3-1
libpng12 1.2.5-1
libpopt0 1.6.4-4
libreadline4 4.1-2
libreadline5 4.3-2
libtool 20020705-1
libtool-devel 20030216-1
libtool-stable 1.4.3-1
libxml2 2.4.23-1
libxslt 1.0.13-1
login 1.8-1
m4 1.4-1
make 3.79.1-7
man 1.5j-2
mc 4.6.0-2
mingw-runtime 2.4-1
mktemp 1.4-1
more 2.11o-1
nano 1.2.0-1
nasm 0.98.36-1
ncurses 5.3-1
newlib-man 20020801
openssl 0.9.7b-1
openssl-devel 0.9.7b-1
openssl096 0.9.6j-1
patch 2.5.8-3
pcre 4.1-1
perl 5.8.0-2
perl_manpages 5.8.0-2
pkgconfig 0.15.0-1
procps 010801-2
readline 4.3-2
rebase 2.2-2
rxvt 2.7.10-3
sed 4.0.7-1
sh-utils 2.0.15-3
sharutils 4.2.1-2
swig 1.3.19-1
sysvinit 2.84-3
tar 1.13.25-1
tcltk 20030214-1
tcsh 6.12.00-5
termcap 20020930-1
terminfo 5.3-2
texinfo 4.2-4
textutils 2.0.21-1
time 1.7-1
unzip 5.50-2
vim 6.1.300-1
w32api 2.3-1
which 1.5-1
zip 2.3-2
zlib 1.1.4-1
3) try to install hitachi crosscompiler
binutils-2.10.1.tar.gz
gcc-2.95.2.tar.gz
legos-buildgcc.zip
got errors IN
7-8 Wed Apr 23 09:55:36 2003 GCC build START
make[1]: Entering directory `/build/gcc/libiberty'
................
/build/gcc/gcc/xgcc -B/build/gcc/gcc/ -B/usr/local/h8300-hitachi-hms/bin/
-c -DHAVE_CONFIG_H -g -Os -I. -I/build/gcc-2.95.2/libiberty/../include
/build/gcc-2.95.2/libiberty/choose-temp.c -o pic/choose-temp.o
/build/gcc/gcc/xgcc -B/build/gcc/gcc/ -B/usr/local/h8300-hitachi-hms/bin/ -c
-DHAVE_CONFIG_H -g -Os -I. -I/build/gcc-2.95.2/libiberty/../include
/build/gcc-2.95.2/libiberty/choose-temp.c
/build/gcc-2.95.2/libiberty/choose-temp.c:29: stdio.h: No such file or directory
/build/gcc-2.95.2/libiberty/choose-temp.c:30: sys/types.h: No such file or
directory
make[2]: *** [choose-temp.o] Error 1
make[2]: Leaving directory `/build/gcc/h8300-hitachi-hms/libiberty'
make[1]: *** [all-target-libiberty] Error 2
make[1]: Leaving directory `/build/gcc'
make: *** [cross] Error 2
Wed Apr 23 10:09:22 2003 GCC build END
AND
8-8 Wed Apr 23 10:09:22 2003 GCC install START
/bin/sh /build/gcc-2.95.2/mkinstalldirs /usr/local /usr/local
..............................
/build/gcc/gcc/xgcc -B/build/gcc/gcc/ -B/usr/local/h8300-hitachi-hms/bin/
-c -DHAVE_CONFIG_H -g -Os -I. -I/build/gcc-2.95.2/libiberty/../include
/build/gcc-2.95.2/libiberty/choose-temp.c -o pic/choose-temp.o
/build/gcc/gcc/xgcc -B/build/gcc/gcc/ -B/usr/local/h8300-hitachi-hms/bin/ -c
-DHAVE_CONFIG_H -g -Os -I. -I/build/gcc-2.95.2/libiberty/../include
/build/gcc-2.95.2/libiberty/choose-temp.c
/build/gcc-2.95.2/libiberty/choose-temp.c:29: stdio.h: No such file or directory
/build/gcc-2.95.2/libiberty/choose-temp.c:30: sys/types.h: No such file or
directory
make[1]: *** [choose-temp.o] Error 1
make[1]: Leaving directory `/build/gcc/h8300-hitachi-hms/libiberty'
make: *** [install-target-libiberty] Error 2
Wed Apr 23 10:10:19 2003 GCC install END
*************-------------------------------------------------
Done.
Done.
:-------------------- End Wed Apr 23 10:10:19 2003 --------------------:
3) as i had no success to compile the hitachi crosscompiler I
reinstall Cygwin once again and tried to install precompiled hitachi tools
GCC/Binutils from Hitachi (for cygwin):
http://semiconductor.hitachi.com/tools/2000r1 i686-cygwin32-x-h8300-hms.zip
But now the old link do not exist any longer.
The new one is
http://america.renesas.com/redirect.html
and i could not find 2000r1 i686-cygwin32-x-h8300-hms.zip file on the homepage.
So i choose the h8/300 gcc-cross-compiler binaries
h8300-hitachi-hms.zip
from
http://www.cs.brown.edu/courses/cs148/2003/brickOS/quickstart.html
4) now i tried to compile the Brickos version:
brickos-0.2.6.08.newConf
brickos-0.2.6.10
and had succes.
Also firmdl3 and dll works now.
4)
If i change in /boot/config.h
//#define CONF_DSENSOR_MUX //!< sensor multiplexor
to
#define CONF_DSENSOR_MUX //!< sensor multiplexor
to check if it's work i get compilererrors
make realclean OK
make depend
gcc -M -D_WIN32 -O2 -Wall -I. -I/brickos-0.2.6.10/include/lnp -c loader.c
rcxtty.c keepalive.c /brickos-0.2.6.10/kernel/
lnp.c lx.c convert.c srec.c srecload.c lx.c >.depend
/brickos-0.2.6.10/kernel/lnp.c:152:9: warning: multi-line string literals
are deprecated
make --unix
/usr/local/bin/h8300-hms-gcc -O2 -fno-builtin -fomit-frame-pointer -Wall
-I/brickos-0.2.6.10/include -I/brickos-0.2.6.10
/include/lnp -I. -c /brickos-0.2.6.10/kernel/dsensor.c -o dsensor.o
/brickos-0.2.6.10/kernel/dsensor.c: In function `ds_mux_on':
/brickos-0.2.6.10/kernel/dsensor.c:360: `sys_time' undeclared (first use in
this function)
/brickos-0.2.6.10/kernel/dsensor.c:360: (Each undeclared identifier is
reported only once
/brickos-0.2.6.10/kernel/dsensor.c:360: for each function it appears in.)
/brickos-0.2.6.10/kernel/dsensor.c: In function `ds_mux_handler':
/brickos-0.2.6.10/kernel/dsensor.c:381: `sys_time' undeclared (first use in
this function)
make[1]: *** [dsensor.o] Error 1
make[1]: Leaving directory `/brickos-0.2.6.10/boot'
make: *** [all] Error 2
Does anybody has this kind of problem ?
By the way. In legos version 0.2.5 with the CONF_DSENSOR_MUX patch it works!!
regards Bernhard
|
|
Message is in Reply To:
| | Re: can't dll with brickOS 2.6.10
|
| (...) Dear Ben I have the same problem. But i checked version 0.2.6 till 0.2.6.10 and i got the same problem with all versions. (only vers 0.2.5 and earlier works) . I have testes with WIN2000 and WIN98. cygwin Vers is B20 and i use the old (...) (22 years ago, 22-Apr-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
|
|
|
|