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 / 1290
1289  |  1291
Subject: 
Re: Rotation Sensor Values
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 25 Jul 2000 12:19:45 GMT
Viewed: 
2072 times
  
This is the whole directory command dump. These errors are half-corrected if I
specify ../include/*.h in the include# line. Then I get errors about not being
able to find other *.h's that the originals included.

Makefile:41: .depend: No such file or directory
/usr/local/bin/h8300-hitachi-hms-gcc -M -I/home/andy/legOS/include
-I/home/andy/legOS/include/lnp -I. -I../boot/ *.c > .depend
/usr/local/bin/h8300-hitachi-hms-gcc -O2 -fno-builtin -fomit-frame-pointer
-Wall -I/home/andy/legOS/include -I/home/andy/legOS/include/lnp -I. -I../boot/
-c helloworld.c
-o helloworld.o
/usr/local/bin/h8300-hitachi-hms-ld -T ../boot/legOS.lds -relax
-L/home/andy/legOS/lib helloworld.o  -lc -lmint -lfloat -lc++ -o helloworld.ds1
-Ttext 0xb000
helloworld.o(.text+0x4):helloworld.c: undefined reference to `cputs'
helloworld.o(.text+0xc):helloworld.c: undefined reference to `sleep'
helloworld.o(.text+0x14):helloworld.c: undefined reference to `cputs'
helloworld.o(.text+0x1c):helloworld.c: undefined reference to `sleep'
helloworld.o(.text+0x24):helloworld.c: undefined reference to `cls'
helloworld.o(.text+0x4):helloworld.c: undefined reference to `cputs'
helloworld.o(.text+0xc):helloworld.c: undefined reference to `sleep'
helloworld.o(.text+0x14):helloworld.c: undefined reference to `cputs'
helloworld.o(.text+0x1c):helloworld.c: undefined reference to `sleep'
helloworld.o(.text+0x24):helloworld.c: undefined reference to `cls'
make: *** [helloworld.ds1] Error 1

Also, when in you 0.2.4 directory, please also send the output of
the command 'pwd'. I guess this is a LEGOS_ROOT problem. Does the
problem disappear, if you set LEGOS_ROOT by hand in Makefile.common?>

PWD = /home/andy/legOS
The problem does not dissapear if I set LEGOS_ROOT by hand, in fact, I set it
anyway, because I wanted to make sure that the root was et correctly.

Andy

Eddie C. Dost
ecd@skynet.be



Message is in Reply To:
  Re: Rotation Sensor Values
 
(...) Could you please post the compile command the makefile generates to the list, including the error? Like in: ecd@reset:~/lego/min...egOS/demo> make /usr/local/bin/h8300...hi-hms-gcc -O2 -fno-builtin -fomit-frame-pointer -Wall (...) (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)

16 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