Dear all I just meet some serious and weird problems.
When I use Makerules at apps directory, it works fine. but when I use Makerules at tools/make directory by using export MAKERULES=/opt/tinyos-1.x/tools/make/Makerules then i go to compile any app/ source code, there are some error like these: $ make mica2 mkdir -p build/mica2 compiling Blink to a mica2 binary ncc -o build/mica2/main.exe -Os -DCC1K_DEF_FREQ=916700000 -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x05 -Wnesc-all -target=mica2 -fnesc-cfile=bui ld/mica2/app.c -board=micasb -I%T/lib/Deluge -DIDENT_PROGRAM_NAME="Blink" -DIDEN T_PROGRAM_NAME_BYTES="66,108,105,110,107,0" -DIDENT_USER_HASH=0x42d12a73L -DIDEN T_UNIX_TIME=0x457187c7L Blink.nc -lm In file included from c:/tinyos/cygwin/opt/tinyos-1.x/tos/system/tos.h:190: c:/tinyos/cygwin/opt/tinyos-1.x/tos/system/Ident.h:55: `Blink' undeclared here ( not in a function) c:/tinyos/cygwin/opt/tinyos-1.x/tos/system/Ident.h:55: initializer element is no t constant c:/tinyos/cygwin/opt/tinyos-1.x/tos/system/Ident.h:55: (near initialization for `G_Ident.program_name') make: *** [exe0] Error 1 =========================================================================== In every compiling, there are errors In file included from c:/tinyos/cygwin/opt/tinyos-1.x/tos/system/tos.h:190: c:/tinyos/cygwin/opt/tinyos-1.x/tos/system/Ident.h:55: `Blink' undeclared here ( not in a function) c:/tinyos/cygwin/opt/tinyos-1.x/tos/system/Ident.h:55: initializer element is no t constant c:/tinyos/cygwin/opt/tinyos-1.x/tos/system/Ident.h:55: (near initialization for `G_Ident.program_name') make: *** [exe0] Error 1 so, anyone know why...... thank you in advance... Fitch 12/2/2006
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
