what does tos-check-env say? what version of the toolchains are you using?
On Tue, Jul 23, 2013 at 9:56 AM, Vladimir Pouzanov <[email protected]>wrote: > Hi all. > > I'm trying to build my first application for tinyos – apps/Blink. My > target platform is ave, but for simplicity I try to follow the official > tutorial now. > > I've done everything by the > http://tinyos.stanford.edu/tinyos-wiki/index.php/Installing_From_Source wiki > page. My target system is Mac OS 10.8, so I had to patch tos-locate-jre a > bit, so that it could find java. > > At this point I expect to have a functional nesc/ncc. Now, to the problem: > > $ make micaz sim > mkdir -p simbuild/micaz > placing object files in simbuild/micaz > writing XML schema to app.xml > compiling BlinkAppC to object file sim.o > ncc -c -fPIC -D_FORTIFY_SOURCE=0 -o simbuild/micaz/sim.o -g -O0 -tossim > -fnesc-nido-tosnodes=1000 -fnesc-simulate > -fnesc-nido-motenumber=sim_node\(\) -fnesc-gcc=gcc -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 > -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"farcaller\" > -DIDENT_HOSTNAME=\"Phoenix.local\" -DIDENT_USERHASH=0x6f38e7b7L > -DIDENT_TIMESTAMP=0x51eeb362L -DIDENT_UIDHASH=0x47cc68b7L > -Wno-nesc-data-race BlinkAppC.nc -fnesc-dump=components > -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs > -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml > nesC: Internal error. > Please submit an issue to the GitHub repository at > https://github.com/tinyos/nesc > make: *** [sim-exe] Error 1 > > I thought it might be the issue with llvm-gcc (I don't have gcc for my > native target), but exactly the same error happens with avr-gcc. > > Any hints on how to debug this further (or better, any fix)? > > -- Vladimir > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
