Hi,
When I compile my program with 'make micaz', my exe file is built,, but when I
compile with 'make micaz sim'
In interface `HplAt45db':
/opt/tinyos-main-master/tos/chips/at45db/HplAt45db.nc:120: syntax error before
`data'
/opt/tinyos-main-master/tos/chips/at45db/HplAt45db.nc:135: syntax error before
`data'
/opt/tinyos-main-master/tos/chips/at45db/HplAt45db.nc:179: syntax error before
`data'
In file included from /opt/tinyos-main-master/tos/chips/at45db/At45dbC.nc:33,
from
/opt/tinyos-main-master/tos/chips/at45db/WireBlockStorageP.nc:20,
from
/opt/tinyos-main-master/tos/chips/at45db/BlockStorageC.nc:35,
from PartitionToIndexAppC.nc:27:
In component `At45dbP':
/opt/tinyos-main-master/tos/chips/at45db/At45dbP.nc:411: conflicting types for
`At45db.read'
/opt/tinyos-main-master/tos/chips/at45db/At45db.nc:166: previous declaration of
`At45db.read'
/opt/tinyos-main-master/tos/chips/at45db/At45dbP.nc:424: conflicting types for
`At45db.write'
/opt/tinyos-main-master/tos/chips/at45db/At45db.nc:73: previous declaration of
`At45db.write'
In file included from /opt/tinyos-main-master/tos/chips/at45db/HplAt45dbC.nc:24,
from /opt/tinyos-main-master/tos/chips/at45db/At45dbC.nc:33,
from
/opt/tinyos-main-master/tos/chips/at45db/WireBlockStorageP.nc:20,
from
/opt/tinyos-main-master/tos/chips/at45db/BlockStorageC.nc:35,
from PartitionToIndexAppC.nc:27:
In component `HplAt45dbByteC':
/opt/tinyos-main-master/tos/chips/at45db/HplAt45dbByteC.nc:235: conflicting
types for `HplAt45db.read'
/opt/tinyos-main-master/tos/chips/at45db/HplAt45db.nc:134: previous declaration
of `HplAt45db.read'
/opt/tinyos-main-master/tos/chips/at45db/HplAt45dbByteC.nc:240: conflicting
types for `HplAt45db.readBuffer'
/opt/tinyos-main-master/tos/chips/at45db/HplAt45db.nc:119: previous declaration
of `HplAt45db.readBuffer'
/opt/tinyos-main-master/tos/chips/at45db/HplAt45dbByteC.nc:253: conflicting
types for `HplAt45db.write'
/opt/tinyos-main-master/tos/chips/at45db/HplAt45db.nc:178: previous declaration
of `HplAt45db.write'
In file included from /opt/tinyos-main-master/tos/chips/cc1000/CC1000Const.h:51,
from
/opt/tinyos-main-master/tos/chips/cc1000/CC1000ControlM.nc:41:
/opt/tinyos-main-master/tos/chips/atm128/sim/atm128const.h:19:22: error:
pgmspace.h: No such file or directory
In file included from PartitionToIndexAppC.nc:43:
In component `CC1000ControlM':
/opt/tinyos-main-master/tos/chips/cc1000/CC1000ControlM.nc: In function
`cc1000SetFrequency':
/opt/tinyos-main-master/tos/chips/cc1000/CC1000ControlM.nc:166: implicit
declaration of function `pgm_read_dword'
/opt/tinyos-main-master/tos/chips/cc1000/CC1000ControlM.nc:187: implicit
declaration of function `pgm_read_word'
/opt/tinyos-main-master/tos/chips/cc1000/CC1000ControlM.nc: In function
`CC1000Control.tunePreset':
/opt/tinyos-main-master/tos/chips/cc1000/CC1000ControlM.nc:302: implicit
declaration of function `pgm_read_byte'
make: *** [sim-exe] Error 1
1.I searched for pgmspace.h file using find command, it was present in .zip
format. But I am unable to unzip the file using unzip commad. It says it is
retreiving but doesn't show a retrieved file in the same directory.
2. Why are errors coming when compiling for sim directory.
Please help...
Regards
Vandana_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help