Thanks for the reply. The link you mentioned, indeed helped. But now I cannot "make" tinyviz. I am encountering the following error:
http://www.mail-archive.com/[email protected]/msg19987.html Secondly, I do not understand that if the TINYOS_VER is already set to tinyos-2.x then why there is in an issue building the Blink application under the tinyos-2.x/apps directory? Regards, MN On Fri, Oct 30, 2009 at 6:45 PM, Mehmet Akif Antepli <[email protected]>wrote: > I think it is related to environment variable TINYOS_VER. > > Could you try the steps in the following link? > > > http://www.mail-archive.com/[email protected]/msg29697.html > > -- > Mehmet Akif Antepli > > > On Fri, Oct 30, 2009 at 8:27 AM, MN <[email protected]> wrote: > >> Hi, >> I am running Xubuntos on a VM workstation. My installation is giving me >> errors when I give make command. In the Blink application, the make command >> does not create the main.exe file. >> >> However when I build the dissemination example under /tinyos-2.x/apps, the >> main.exe got created. >> >> The recent issue is : >> >> When I try to build TestTinyViz. I get the following errors: >> >> ubu...@ubuntu:/opt/tinyos-1.x/apps/TestTinyViz$ sudo make micaz >> mkdir -p build/micaz >> compiling TestTinyViz to a micaz binary >> ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow >> -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb >> -DIDENT_PROGRAM_NAME=\"TestTinyViz\" -DIDENT_USER_ID=\"root\" >> -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USER_HASH=0xa3473ba6L >> -DIDENT_UNIX_TIME=0x4aead971L -DIDENT_UID_HASH=0xd1e66754L >> -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' >> -fnesc-dump='referenced(interfacedefs, components)' >> -fnesc-dumpfile=build/micaz/wiring-check.xml TestTinyViz.nc -lm >> In component `TestTinyViz': >> TestTinyViz.nc:50: component Main not found >> In file included from TestTinyViz.nc:50: >> In component `TestTinyVizM': >> TestTinyVizM.nc:46: too few arguments to interface `Timer' >> TestTinyVizM.nc:47: interface ReceiveMsg not found >> TestTinyVizM.nc:48: interface SendMsg not found >> In file included from TestTinyViz.nc:50: >> TestTinyVizM.nc:58: syntax error before `beacon_packet' >> TestTinyVizM.nc:60: syntax error before `StdControl' >> TestTinyVizM.nc:62: syntax error before `<' >> TestTinyVizM.nc:62: syntax error before `++' >> TestTinyVizM: `StdControl.start' not implemented >> TestTinyVizM: `StdControl.stop' not implemented >> TestTinyVizM: `Timer.fired' not implemented >> In component `TestTinyViz': >> TestTinyViz.nc:50: component TimerC not found >> TestTinyViz.nc:50: component RandomLFSR not found >> TestTinyViz.nc:50: component GenericComm not found >> TestTinyViz.nc:52: cannot find `StdControl' >> TestTinyViz.nc:53: cannot find `StdControl' >> TestTinyViz.nc:54: cannot find `StdControl' >> TestTinyViz.nc:56: no match >> TestTinyViz.nc:57: cannot find `Timer' >> TestTinyViz.nc:58: cannot find `SendMsg' >> TestTinyViz.nc:59: cannot find `ReceiveMsg' >> make: *** [exe0] Error 1 >> >> Regards, >> MN >> >> >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > > -- Verily, His Command, when He intends a thing, is only that He says to it, "Be!" and it is! (36:82)
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
