*I did the make mica2 command two consequently times first time was failed
but the second one was OK, Why??? plz.. i am getting crazy.....


[EMAIL PROTECTED] /opt/tinyos-2.x/apps/blink
$ make mica2*
mkdir -p build/mica2
    compiling BlinkAppC to a mica2 binary
ncc -o build/mica2/main.exe -Os -finline-limit=100000 -Wall -Wshadow
-Wnesc-all
-target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb
-DIDENT_PROGRAM_NAME=
\"BlinkAppC\" -DIDENT_USER_ID=\"Yamen\" -DIDENT_HOSTNAME=\"yamnws\"
-DIDENT_USER
_HASH=0xfa33021aL -DIDENT_UNIX_TIME=0x47f2146fL -DIDENT_UID_HASH=0x481187d8L
-fn
esc-dump=wiring -fnesc-dump='interfaces(!abstract())'
-fnesc-dump='referenced(in
terfacedefs, components)' -fnesc-dumpfile=build/mica2/wiring-check.xmlBlinkAppC
.nc -lm
In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:36:
/opt/tinyos-2.x/tos/interfaces/Scheduler.nc:1: syntax error at end of input
In file included from
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/inttypes.h:
36,
                 from
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/avr/sfr_def
s.h:123,
                 from
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/avr/io.h:86
,
                 from /opt/tinyos-2.x/tos/chips/atm128/atm128hardware.h:44,
                 from /opt/tinyos-2.x/tos/platforms/mica2/hardware.h:50,
                 from /opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:41,
                 from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:40:
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:65: redefinition of
`int
8_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:65: previous
declaration
 of `int8_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:70: redefinition of
`uin
t8_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:70: previous
declaration
 of `uint8_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:104: warning:
redefiniti
on of `int16_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:104: warning:
previous d
eclaration of `int16_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:109: warning:
redefiniti
$
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:109: warning:
previous d
eclaration of `uint16_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:120: warning:
redefiniti
on of `int32_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:120: warning:
previous d
eclaration of `int32_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:125: warning:
redefiniti
on of `uint32_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:125: warning:
previous d
eclaration of `uint32_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:136: warning:
redefiniti
on of `int64_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:136: warning:
previous d
eclaration of `int64_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:141: warning:
redefiniti
on of `uint64_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:141: warning:
previous d
eclaration of `uint64_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:155: warning:
redefiniti
on of `intptr_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:155: warning:
previous d
eclaration of `intptr_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:160: warning:
redefiniti
on of `uintptr_t'
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h:160: warning:
previous d
eclaration of `uintptr_t'
In file included from
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/avr/pgmspac
e.h:69,
                 from /opt/tinyos-2.x/tos/chips/atm128/atm128hardware.h:52,
                 from /opt/tinyos-2.x/tos/platforms/mica2/hardware.h:50,
                 from /opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:41,
                 from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:40:
/usr/lib/gcc/avr/3.4.3/include/stddef.h:213: warning: redefinition of
`size_t'
/usr/lib/gcc/avr/3.4.3/include/stddef.h:213: warning: previous declaration
of `s
ize_t'
In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:40:
In component `SchedulerBasicP':
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:114: `init' is not in
interface `S
cheduler'
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:124: `runNextTask' is not in
inter
face `Scheduler'
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:139: `taskLoop' is not in
interfac
e `Scheduler'
In file included from /opt/tinyos-2.x/tos/system/MainC.nc:50,
                 from BlinkAppC.nc:45:
In component `RealMainP':
/opt/tinyos-2.x/tos/system/RealMainP.nc: In function `main':
/opt/tinyos-2.x/tos/system/RealMainP.nc:60: implicit declaration of function
`pl
atform_bootstrap'
/opt/tinyos-2.x/tos/system/RealMainP.nc:62: interface has no command or
event na
med `init'
/opt/tinyos-2.x/tos/system/RealMainP.nc:69: interface has no command or
event na
med `runNextTask'
/opt/tinyos-2.x/tos/system/RealMainP.nc:76: interface has no command or
event na
med `runNextTask'
/opt/tinyos-2.x/tos/system/RealMainP.nc:85: interface has no command or
event na
med `taskLoop'
In file included from BlinkAppC.nc:45:
In component `BlinkC':
BlinkC.nc: In function `Timer0.fired':
BlinkC.nc:58: implicit declaration of function `dbg'
BlinkC.nc:58: implicit declaration of function `sim_time_string'
BlinkC.nc: In function `Timer1.fired':
BlinkC.nc:64: implicit declaration of function `dbg'
BlinkC.nc:64: implicit declaration of function `sim_time_string'
BlinkC.nc: In function `Timer2.fired':
BlinkC.nc:70: implicit declaration of function `dbg'
BlinkC.nc:70: implicit declaration of function `sim_time_string'
In file included from /opt/tinyos-2.x/tos/system/LedsC.nc:38,
                 from BlinkAppC.nc:45:
In component `LedsP':
/opt/tinyos-2.x/tos/system/LedsP.nc: In function `Init.init':
/opt/tinyos-2.x/tos/system/LedsP.nc:47: implicit declaration of function
`dbg'
/opt/tinyos-2.x/tos/system/LedsP.nc: In function `Leds.led0On':
/opt/tinyos-2.x/tos/system/LedsP.nc:65: implicit declaration of function
`dbg'
/opt/tinyos-2.x/tos/system/LedsP.nc: In function `Leds.led0Off':
/opt/tinyos-2.x/tos/system/LedsP.nc:70: implicit declaration of function
`dbg'
/opt/tinyos-2.x/tos/system/LedsP.nc: In function `Leds.led0Toggle':
/opt/tinyos-2.x/tos/system/LedsP.nc:75: implicit declaration of function
`dbg'
/opt/tinyos-2.x/tos/system/LedsP.nc: In function `Leds.led1On':
/opt/tinyos-2.x/tos/system/LedsP.nc:80: implicit declaration of function
`dbg'
/opt/tinyos-2.x/tos/system/LedsP.nc: In function `Leds.led1Off':
/opt/tinyos-2.x/tos/system/LedsP.nc:85: implicit declaration of function
`dbg'
/opt/tinyos-2.x/tos/system/LedsP.nc: In function `Leds.led1Toggle':
/opt/tinyos-2.x/tos/system/LedsP.nc:90: implicit declaration of function
`dbg'
/opt/tinyos-2.x/tos/system/LedsP.nc: In function `Leds.led2On':
/opt/tinyos-2.x/tos/system/LedsP.nc:95: implicit declaration of function
`dbg'
/opt/tinyos-2.x/tos/system/LedsP.nc: In function `Leds.led2Off':
/opt/tinyos-2.x/tos/system/LedsP.nc:100: implicit declaration of function
`dbg'
/opt/tinyos-2.x/tos/system/LedsP.nc: In function `Leds.led2Toggle':
/opt/tinyos-2.x/tos/system/LedsP.nc:105: implicit declaration of function
`dbg'
In file included from /opt/tinyos-2.x
/tos/chips/atm128/timer/Atm128AlarmAsyncC.n
c:32,
                 from /opt/tinyos-2.x
/tos/platforms/mica/AlarmCounterMilliP.nc:3
3,
                 from /opt/tinyos-2.x
/tos/platforms/mica/HilTimerMilliC.nc:44,
                 from /opt/tinyos-2.x/tos/system/TimerMilliP.nc:41,
                 from /opt/tinyos-2.x/tos/system/TimerMilliC.nc:40,
                 from BlinkAppC.nc:46:
In component `Atm128AlarmAsyncP':
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc: In function
`setInt
errupt':
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:101: implicit
declar
ation of function `dbg'
make: *** [exe0] Error 1

[EMAIL PROTECTED] /opt/tinyos-2.x/apps/blink
$ make mica2*
mkdir -p build/mica2
    compiling BlinkAppC to a mica2 binary
ncc -o build/mica2/main.exe -Os -finline-limit=100000 -Wall -Wshadow
-Wnesc-all
-target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb
-DIDENT_PROGRAM_NAME=
\"BlinkAppC\" -DIDENT_USER_ID=\"Yamen\" -DIDENT_HOSTNAME=\"yamnws\"
-DIDENT_USER
_HASH=0xfa33021aL -DIDENT_UNIX_TIME=0x47f214a1L -DIDENT_UID_HASH=0x306ef687L
-fn
esc-dump=wiring -fnesc-dump='interfaces(!abstract())'
-fnesc-dump='referenced(in
terfacedefs, components)' -fnesc-dumpfile=build/mica2/wiring-check.xmlBlinkAppC
.nc -lm
    compiled BlinkAppC to build/mica2/main.exe
            2358 bytes in ROM
              52 bytes in RAM
avr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec
avr-objcopy --output-target=ihex build/mica2/main.exe build/mica2/main.ihex
    writing TOS image

[EMAIL PROTECTED] /opt/tinyos-2.x/apps/blink
$*
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to