To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3374
3373  |  3375
Subject: 
memcpy.c missing terminating " character
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 22 Jul 2003 10:52:12 GMT
Reply-To: 
target_rex@hotmail.STOPSPAMMERScom
Viewed: 
2965 times
  
Hello!
First: Im pretty new into Linux/unix as a sysadmin!

I have installed gcc as a cross gcc (h8300):
Here is what happens when I "make" the BrickOS-0.2.6.10:

#########################################################
[root@ville lego]# tar zxvf brickos-0.2.6.10.tar.gz
brickos-0.2.6.10/
brickos-0.2.6.10/README
...
...
...
brickos-0.2.6.10/configure
[root@ville lego]# cd brickos-0.2.6.10
[root@ville brickos-0.2.6.10]# ./configure

Welcome to the brickOS Makefile configurator.
Attempting to find the Hitachi gcc compiler. (This may take some time.)

- Toolprefix = /usr/local/bin/h8300-hms-
- Found Linux/Unix system

[root@ville brickos-0.2.6.10]# make
make[1]: Entering directory `/home/ville/develop/lego/brickos-0.2.6.10/util'
cc -O2 -Wall -O2 -Wall    fontdesign.c   -o fontdesign
make[2]: Enterin...
...
...
...
/usr/local/bin/h8300-hms-gcc -O2 -fno-builtin -fomit-frame-pointer -Wall
-I/home
/ville/develop/lego/brickos-0.2.6.10/include
-I/home/ville/develop/lego/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/ville/develop/lego/brickos-0.2.6.10/lib/c'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ville/develop/lego/brickos-0.2.6.10/lib'
make: *** [all] Error 2
[root@ville brickos-0.2.6.10]#

#########################################################
In order to solve this problem, I have done the following:

1. My skills in assembler is close to zero, so:
- Did read pretty much on that subject and,
- I tryed to edit memcpy.c, without luck.

2. Checked BrickOS.sourceforge.com in order to find bug/patch report, but
that failed too.

3. Searched google for a bunch of keywords, such as: "memcpy.c", "brickos"
and "0.2.6.10" in different combinations. No luck either.

4. Browsed this newsgroup, searched in it and did read alot of the threads,
no answer found.

I would be more than happy, if somebody could help me out!



BTW, good to see such a good LEGO group, maby I get stuck reading here ;)

Thanks in advance,

DrRex
-------------------
www.DrRex.dk



Message has 1 Reply:
  Re: memcpy.c missing terminating " character
 
I had some problems sending the original messages before I went to vacation for 10 days... When I came home, I fixed the problem and did send: memcpy.c missing terminating " character BTW, I would like to write programs in C++. Greetings from (...) (21 years ago, 22-Jul-03, to lugnet.robotics.rcx.legos)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR