Hi!
I had the same error. I've posted it here already. I could figure out
throw CVS the developer nickname who has made this 2 lines changes:
idgay. But I found no e-mail. Maybe guests don't allow to see it. Does
somebody know how we can submit this issue?
As workaround I've commented successfully these lines. But I can only
guess how dangerous it can be.
Andrey
Iñigo Urteaga wrote:
> Hi all,
>
> I updated my CVS directory today and found that I am not able to
> compile my code for simulation ("make micaz sim") anymore. However, I
> am able to compile the code for real motes ("make micaz").
>
> Error output is included at the end of the email. It seems to be
> related to the latest updates to the
> /tinyos-2.x/tos/lib/safe/include/annots_stage1.h file. I am using the
> stable nesC version (1.2.9-20080625), not the nesC 1.3 beta version.
> All the tinyos tree was successfully updated using CVS.
>
> Any help would be greatly appreciated.
>
> Thanks in advance,
>
> Iñigo
>
> ***********************************************************************
> make micaz sim
> mkdir -p simbuild/micaz
> placing object files in simbuild/micaz
> writing XML schema to app.xml
> compiling SimpleAppC to object file sim.o
> ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim
> -fnesc-nido-tosnodes=1000 -fnesc-simulate
> -fnesc-nido-motenumber=sim_node\(\) -Wall -Wshadow -Wnesc-all
> -target=micaz -fnesc-cfile=simbuild/micaz/app.c -board=micasb
> -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
> -I../../Src -I../../Src/Interfaces -I../../Src/CommunicationTree
> -I../../Src/CommunicationTree/NeighborManagement
> -I/opt/tinyos-2.x/tos/lib/net -I/opt/tinyos-2.x/tos/lib/net/4bitle
> -I/opt/tinyos-2.x/tos/lib/net/ctp -DIDENT_APPNAME=\"SimpleAppC\"
> -DIDENT_USERNAME=\"urteaga\" -DIDENT_HOSTNAME=\"txarly\"
> -DIDENT_USERHASH=0x90e5717cL -DIDENT_TIMESTAMP=0x486d0997L
> -DIDENT_UIDHASH=0x08ad6904L -Wno-nesc-data-race SimpleAppC.nc
> -fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants
> -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags
> -fnesc-dumpfile=app.xml
> compiling Python support and C libraries into pytossim.o, tossim.o,
> and c-support.o
> g++ -c -shared -fPIC -o simbuild/micaz/pytossim.o -g -O0 -I../../Src
> -I../../Src/Interfaces -I../../Src/CommunicationTree
> -I../../Src/CommunicationTree/NeighborManagement
> -I/opt/tinyos-2.x/tos/lib/net -I/opt/tinyos-2.x/tos/lib/net/4bitle
> -I/opt/tinyos-2.x/tos/lib/net/ctp -DIDENT_APPNAME=\"SimpleAppC\"
> -DIDENT_USERNAME=\"urteaga\" -DIDENT_HOSTNAME=\"txarly\"
> -DIDENT_USERHASH=0x90e5717cL -DIDENT_TIMESTAMP=0x486d0997L
> -DIDENT_UIDHASH=0x08ad6904L
> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx
> -I/usr/include/python2.5 -I/opt/tinyos-2.x/tos/lib/tossim
> -DHAVE_CONFIG_H
> In file included from /opt/tinyos-2.x/tos/lib/tossim/tos.h:66,
> from /opt/tinyos-2.x/tos/lib/tossim/tossim.h:39,
> from /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:681:
> /opt/tinyos-2.x/tos/lib/tossim/../../lib/safe/include/annots_stage1.h:39:
> error: stray '@' in program
> /opt/tinyos-2.x/tos/lib/tossim/../../lib/safe/include/annots_stage1.h:40:
> error: stray '@' in program
> make: *** [sim-exe] Error 1
>
> ***********************************************************************
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help