I downloaded the latest version of nesc and installed the statically linked "as" program as described in one of the earlier mails to this list. This enabled me to run and simulate the Blink example, also using the simulator GUI TinyViz on both, RedHat7.3 and RedHat8.0. "make mica" also works with this configuration on both platforms.
However, when trying to do a "make pc" in, for instance, the apps/CntToRfm directory, I still get a number of errors (on both systems). I've attached the log file. Is there an update of TinyOS available fixing this problem?
Asu
compiling CntToRfm to a pc binary ncc -board=micasb -o build/pc/main.exe -g -O0 -pthread -target=pc -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -fnesc-nido-tosnodes=1000 -fnesc-cfile=build/pc/app.c CntToRfm.nc -lm In file included from /usr/home/ma/motes/tinyos-1.x/tos/system/LogicalTimeM.nc:60: /usr/home/ma/motes/tinyos-1.x/tos/interfaces/SysTime.nc:57: warning: declaration of `time' shadows global declaration /usr/include/time.h:182: warning: location of shadowed declaration /usr/home/ma/motes/tinyos-1.x/tos/interfaces/SysTime.nc:64: warning: declaration of `time' shadows global declaration /usr/include/time.h:182: warning: location of shadowed declaration /usr/home/ma/motes/tinyos-1.x/tos/platform/pc/SysTimeC.nc:67: warning: declaration of `time' shadows global declaration /usr/include/time.h:182: warning: location of shadowed declaration /usr/home/ma/motes/tinyos-1.x/tos/platform/pc/SysTimeC.nc:77: warning: declaration of `time' shadows global declaration /usr/include/time.h:182: warning: location of shadowed declaration /usr/home/ma/motes/tinyos-1.x/tos/platform/pc/SysTimeC.nc: In function `SysTime.set': /usr/home/ma/motes/tinyos-1.x/tos/platform/pc/SysTimeC.nc:81: implicit declaration of function `__outw_atomic' /usr/home/ma/motes/tinyos-1.x/tos/platform/pc/SysTimeC.nc: At top level: /usr/home/ma/motes/tinyos-1.x/tos/platform/pc/SysTimeC.nc:88: old-style parameter lists not supported /usr/home/ma/motes/tinyos-1.x/tos/platform/pc/SysTimeC.nc:88: warning: return-type defaults to `int' make: *** [build/pc/main.exe] Error 1
