Hi everyone, I'm experiencing a problem in compiling the Blink application of the tutorial's first lesson. If I simply try to compile using "make micaz" I've no problem: compilation works correctly. If, on the other hand, I try to compile using "make micaz sim" for Tossim, I receive the following error:
$ make micaz sim mkdir -p build/micaz placing object files in build/micaz writing XML schema to app.xml compiling BlinkAppC to object file sim.o ncc -c -DUSE_DL_IMPORT -fpic -o build/micaz/sim.o -g -O0 -tossim -fnesc-nido- to snodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) -finline- limit =100000 -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c - board=micasb -Wno-nesc-data-race BlinkAppC.nc -fnesc-dump=components -fnesc- d ump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc- dump=interfacede fs -fnesc-dump=tags -fnesc-dumpfile=app.xml cc1: warning: -fpic ignored for target (all code is position independent) compiling Python support and C libraries into pytossim.o, tossim.o, and c- supp ort.o g++ -c -DUSE_DL_IMPORT -fpic -o build/micaz/pytossim.o -g -O0 /opt/tinyos-2. x /tos/lib/tossim/tossim_wrap.cxx -I/usr/include/python2.3.4BUILDDIR = simbuild/ micaz -I/opt/tinyos-2.x/tos/lib/tossim -DHAVE_CONFIG_H g++: cannot specify -o with -c or -S and multiple compilations make: *** [sim-exe] Error 1 Do you know how to fix the problem? Thank you very much! Lorenzo _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
