[Smac-users] SMACTest compiling error
Tsenka Stoyanova
tsstoyanova at ee.upatras.gr
Mon Jan 17 02:52:29 PST 2005
Hi All,
I am trying to compile SMACTest, but I got following errors:
----------------------------------------------------------
tsstoyanova at naxos /opt/tinyos-1.x/contrib/s-mac/apps/smactest
$ make mica2
../Makesmac:13: SMACDIR is not defined, assuming ../../tos.
compiling SMACTest to a mica2 binary
ncc -o
build/mica2/main.exe -Os -board=micasb -target=mica2 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7D
-Wall -finline-limit=100000 -fnesc-cfile=build/mica2/app.c -DCC1K_DEFAULT_FREQ=CC1K_915_998_MHZ
-DRA
DIO_XMIT_POWER=0xFF SMACTest.nc -lm
testMsg.h:8:21: SMACMsg.h: No such file or directory
SMACTest.nc:32: failed to preprocess testMsg.h
SMACTestM.nc:45:23: SMACConst.h: No such file or directory
SMACTest.nc:38: failed to preprocess SMACTestM.nc
C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/avrmote/HPLInit.nc:51: expected
component `SMACTestM', but got component 'HPLInit'
SMACTest.nc:38: component SMAC not found
C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/avrmote/HPLInit.nc:51: expected
component `SMAC', but got component 'HPLInit'
SMACTest.nc:40: no match
SMACTest.nc:41: cannot find `MACControl'
SMACTest.nc:42: cannot find `MACComm'
SMACTest.nc:43: cannot find `LinkState'
SMACTest.nc:44: cannot find `MACTest'
SMACTest.nc:45: cannot find `Leds'
make: *** [build/mica2/main.exe] Error 1
---------------------------------------------------------------------------------------
I think something's wrong with my SMACDIR and the compiler cannot find
(SMACDIR)/platform/mica2, (SMACDIR)/interfaces, and (SMACDIR)/system, but I
cannot fix that problem.
The whole SMACDIR path is C:/tinyos/cygwin/opt/tinyos-1.x/contrib/s-mac/tos.
I'm using the latest SMAC Test version, 1.7 for makesmac, and 1.2 for
makefile, and cygwin under WinXP.
Thank you in advance,
Tsenka
-------------------------------------------------
Tsenka Stoyanova, PhD student
Applied Electronics Laboratory (APEL)
http://www.apel.ee.upatras.gr/
University of Patras
26500 Rion-Patras
Greece
E-mail: tsstoyanova at ee.upatras.gr
Phone: +302610997312
--------------------------------------------------
More information about the Smac-users
mailing list