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 / 3248
3247  |  3249
Subject: 
/brickos-0.2.6.10/kernel/dsensor.c:360: `sys_time' undeclared (first use in this function)
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 28 Apr 2003 14:21:44 GMT
Viewed: 
2790 times
  
I changed in /boot/config.h
the
//#define CONF_DSENSOR_MUX                //!< sensor multiplexor
TO
#define CONF_DSENSOR_MUX                //!< sensor multiplexor

Now I got an errormessage if compile once again

make realclean
make depend
make --unix


/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: *** [all] Error 2

The funny think is , with the old legosVersion 0.2.5 with patch for active
sensor multiplexor it works.

Enviroment:
Latest Version: Cygwin  1.3.22-1
WIN2000
brickos-0.2.6.10
+
gcc-2.95.2 + binutils-2.10.1 + legos-buildgcc.zip

Does anybody tried that ?

Bernhard



Message has 1 Reply:
  Re: /brickos-0.2.6.10/kernel/dsensor.c:360: `sys_time' undeclared (first use in this function)
 
(...) now i tried to change //#define CONF_DSENSOR_VELOCITY //!< rotation sensor velocity to #define CONF_DSENSOR_VELOCITY //!< rotation sensor velocity because it use sys_time too. same error: /usr/local/bin/h8300...hi-hms-gcc -O2 -fno-builtin (...) (21 years ago, 28-Apr-03, to lugnet.robotics.rcx.legos)

4 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