Hi, I'm having a problem to build PSFQ application on TinyOS 1.1.11
here is some screenshot to give you more info about my system configuration
[EMAIL PROTECTED] psfq]# ncc --version
ncc: 1.2alpha5
nescc: 1.2.8a
avr-gcc: avr-gcc (GCC) 3.4.3
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[EMAIL PROTECTED] psfq]# nescc --version
nescc: 1.2.8a
gcc: gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-56.fc5)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I'm running on Fedora Core 5
When I try to build PSFQ application with the command "make pc" I have this
error message
[EMAIL PROTECTED] psfq]# make pc
mkdir -p build/pc
compiling Psfq to a pc binary
ncc -o build/pc/main.exe -g -O0 -pthread -Ilib/ -fnesc-nido-tosnodes=1000
-Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=pc
-fnesc-cfile=build/pc/app.c -board=micasb -DCLOCKSECOND=102
-DFORWARD_TIMER_MIN=153 -DFORWARD_TIMER_MAX=204 -DREFETCH_TIMER=51 -DDELTA=5
-DTOSSIM -DCC1K_DEF_FREQ=908547000 -DPOWER=0x80 -DTOSH_DATA_LENGTH=29
-DLOCAL_GROUP=0x7D -DAM_PSFQ=0x4d -DIDENT_PROGRAM_NAME="Psfq"
-DIDENT_PROGRAM_NAME_BYTES="80,115,102,113,0" -DIDENT_USER_ID="root"
-DIDENT_USER_ID_BYTES="114,111,111,116,0" -DIDENT_HOSTNAME=" bit0.dgrc.crc.ca"
-DIDENT_HOSTNAME_BYTES="98,105,116,48,46,100,103,114,99,46,99,114,99,46,99,97,0"
-DIDENT_USER_HASH=0xec8464b5L -DIDENT_UNIX_TIME=0x46faa66dL Psfq.nc -lm
In file included from /opt/tinyos- 1.x/tos/platform/pc/hardware.h:43,
from /opt/tinyos-1.x/tos/system/tos.h:144:
/opt/tinyos-1.x/tos/platform/pc/nido.h:67: `TOSH_NUM_NODES' undeclared here
(not in a function)
/opt/tinyos-1.x/tos/platform/pc/nido.h:67: enumerator value for `TOSNODES' not
integer constant
make: *** [exe0] Error 1
However TOSH_NUM_NODES is suppose to be declared by NesC since this command
"-fnesc-nido-tosnodes=1000" appears in the compiling command line
I'm realy stuck on this problem
thanks for any help!
Frédéric Daigle
Stagiaire / Coop student
Groupe RASN group
Centre de recherches sur les communications Canada /
Communications Research Centre Canada
(613) 949-8216_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help