[Tinyos-help] TOSSIM Problems: declaration of `link' shadows global declaration...

Antonio antonio.guerrieri at email.it
Tue Jan 30 02:42:42 PST 2007


Hi, 

I'm trying to compile TOSSIM for the Blink application, but something goes
wrong. 

Can someone help me, please?!

I really don't know what to do. I also read the Appendix A inside the TOSSIM
lesson in the tutorial.

Thank you  very much,

Antonio

 

THIS IS THE COMPILING RESULT IN THE CYGWIN SHELL:

 

Antonio at wp /opt/tinyos-2.x/apps/Blink

$ OSTYPE=cygwin 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-tosnodes=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 -v
-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

/usr/bin/nescc -fnesc-include=tos -topdir=/opt/tinyos-2.x -DPLATFORM_MICAZ
-DBOARD_MICASB -c -DUSE_DL_IMPORT -fpic -o build/micaz/sim.o -g -O0
-fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node()
-finline-limit=100000 -Wall -Wshadow -Wnesc-all
-fnesc-cfile=build/micaz/app.c -v -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 -DTOSSIM -gcc=gcc -fnesc-no-debug
-fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic
,runTask,postTask -I/opt/tinyos-2.x/tos/sensorboards/micasb/sim
-I/opt/tinyos-2.x/tos/platforms/micaz/sim/sim
-I/opt/tinyos-2.x/tos/platforms/micaz/sim
-I/opt/tinyos-2.x/tos/platforms/mica/sim
-I/opt/tinyos-2.x/tos/platforms/micaz/chips/cc2420/sim
-I/opt/tinyos-2.x/tos/chips/cc2420/sim
-I/opt/tinyos-2.x/tos/chips/atm128/sim
-I/opt/tinyos-2.x/tos/chips/atm128/adc/sim
-I/opt/tinyos-2.x/tos/chips/atm128/pins/sim
-I/opt/tinyos-2.x/tos/chips/atm128/spi/sim
-I/opt/tinyos-2.x/tos/chips/atm128/timer/sim
-I/opt/tinyos-2.x/tos/lib/adc/sim -I/opt/tinyos-2.x/tos/lib/timer/sim
-I/opt/tinyos-2.x/tos/lib/serial/sim -I/opt/tinyos-2.x/tos/interfaces/sim
-I/opt/tinyos-2.x/tos/types/sim -I/opt/tinyos-2.x/tos/system/sim
-I/opt/tinyos-2.x/tos/lib/tossim -I/opt/tinyos-2.x/tos/sensorboards/micasb
-I/opt/tinyos-2.x/tos/platforms/micaz/sim
-I/opt/tinyos-2.x/tos/platforms/micaz -I/opt/tinyos-2.x/tos/platforms/mica
-I/opt/tinyos-2.x/tos/platforms/micaz/chips/cc2420
-I/opt/tinyos-2.x/tos/chips/cc2420 -I/opt/tinyos-2.x/tos/chips/atm128
-I/opt/tinyos-2.x/tos/chips/atm128/adc
-I/opt/tinyos-2.x/tos/chips/atm128/pins
-I/opt/tinyos-2.x/tos/chips/atm128/spi
-I/opt/tinyos-2.x/tos/chips/atm128/timer -I/opt/tinyos-2.x/tos/lib/adc
-I/opt/tinyos-2.x/tos/lib/timer -I/opt/tinyos-2.x/tos/lib/serial
-I/opt/tinyos-2.x/tos/interfaces -I/opt/tinyos-2.x/tos/types
-I/opt/tinyos-2.x/tos/system

nescc: 1.2.8a

gcc -_fnesc-gcc=gcc -specs=/usr/lib/ncc/tdspecs -_fnesc-include=nesc_nx
-I/usr/lib/ncc -_fnesc-include=tos -DPLATFORM_MICAZ -DBOARD_MICASB -c
-DUSE_DL_IMPORT -fpic -o build/micaz/sim.o -g -O0 -_fnesc-nido-tosnodes=1000
-_fnesc-simulate -_fnesc-nido-motenumber=sim_node() -finline-limit=100000
-Wall -Wshadow -_Wnesc-all -_fnesc-cfile=build/micaz/app.c -v
-_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
-DTOSSIM -_fnesc-no-debug
-_fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasi
c,runTask,postTask -I/opt/tinyos-2.x/tos/sensorboards/micasb/sim
-I/opt/tinyos-2.x/tos/platforms/micaz/sim/sim
-I/opt/tinyos-2.x/tos/platforms/micaz/sim
-I/opt/tinyos-2.x/tos/platforms/mica/sim
-I/opt/tinyos-2.x/tos/platforms/micaz/chips/cc2420/sim
-I/opt/tinyos-2.x/tos/chips/cc2420/sim
-I/opt/tinyos-2.x/tos/chips/atm128/sim
-I/opt/tinyos-2.x/tos/chips/atm128/adc/sim
-I/opt/tinyos-2.x/tos/chips/atm128/pins/sim
-I/opt/tinyos-2.x/tos/chips/atm128/spi/sim
-I/opt/tinyos-2.x/tos/chips/atm128/timer/sim
-I/opt/tinyos-2.x/tos/lib/adc/sim -I/opt/tinyos-2.x/tos/lib/timer/sim
-I/opt/tinyos-2.x/tos/lib/serial/sim -I/opt/tinyos-2.x/tos/interfaces/sim
-I/opt/tinyos-2.x/tos/types/sim -I/opt/tinyos-2.x/tos/system/sim
-I/opt/tinyos-2.x/tos/lib/tossim -I/opt/tinyos-2.x/tos/sensorboards/micasb
-I/opt/tinyos-2.x/tos/platforms/micaz/sim
-I/opt/tinyos-2.x/tos/platforms/micaz -I/opt/tinyos-2.x/tos/platforms/mica
-I/opt/tinyos-2.x/tos/platforms/micaz/chips/cc2420
-I/opt/tinyos-2.x/tos/chips/cc2420 -I/opt/tinyos-2.x/tos/chips/atm128
-I/opt/tinyos-2.x/tos/chips/atm128/adc
-I/opt/tinyos-2.x/tos/chips/atm128/pins
-I/opt/tinyos-2.x/tos/chips/atm128/spi
-I/opt/tinyos-2.x/tos/chips/atm128/timer -I/opt/tinyos-2.x/tos/lib/adc
-I/opt/tinyos-2.x/tos/lib/timer -I/opt/tinyos-2.x/tos/lib/serial
-I/opt/tinyos-2.x/tos/interfaces -I/opt/tinyos-2.x/tos/types
-I/opt/tinyos-2.x/tos/system -DNESC=128

Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/specs

Reading specs from /usr/lib/ncc/tdspecs

Configured with: /gcc/gcc-3.3.3-3/configure --verbose --prefix=/usr
--exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib
--mandir=/usr/share/man --infodir=/usr/share/info
--enable-languages=c,ada,c++,d,f77,java,objc,pascal --enable-nls
--without-included-gettext --enable-libgcj --with-system-zlib
--enable-interpreter --enable-threads=posix --enable-java-gc=boehm
--enable-sjlj-exceptions --disable-version-specific-runtime-libs
--disable-win32-registry

Thread model: posix

gcc version 3.3.3 (cygwin special)

 perl -S nesc-compile -_fnesc-gcc=gcc -_fnesc-include=nesc_nx
-_fnesc-include=tos -_fnesc-nido-tosnodes=1000 -_fnesc-simulate
-_fnesc-nido-motenumber=sim_node() -_Wnesc-all
-_fnesc-cfile=build/micaz/app.c -_Wno-nesc-data-race -_fnesc-dump=components
-_fnesc-dump=variables -_fnesc-dump=constants -_fnesc-dump=typedefs
-_fnesc-dump=interfacedefs -_fnesc-dump=tags -_fnesc-dumpfile=app.xml
-_fnesc-no-debug
-_fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasi
c,runTask,postTask -DPLATFORM_MICAZ -DBOARD_MICASB -DUSE_DL_IMPORT -DTOSSIM
-DNESC=128 -I/usr/lib/ncc -I/opt/tinyos-2.x/tos/sensorboards/micasb/sim
-I/opt/tinyos-2.x/tos/platforms/micaz/sim/sim
-I/opt/tinyos-2.x/tos/platforms/micaz/sim
-I/opt/tinyos-2.x/tos/platforms/mica/sim
-I/opt/tinyos-2.x/tos/platforms/micaz/chips/cc2420/sim
-I/opt/tinyos-2.x/tos/chips/cc2420/sim
-I/opt/tinyos-2.x/tos/chips/atm128/sim
-I/opt/tinyos-2.x/tos/chips/atm128/adc/sim
-I/opt/tinyos-2.x/tos/chips/atm128/pins/sim
-I/opt/tinyos-2.x/tos/chips/atm128/spi/sim
-I/opt/tinyos-2.x/tos/chips/atm128/timer/sim
-I/opt/tinyos-2.x/tos/lib/adc/sim -I/opt/tinyos-2.x/tos/lib/timer/sim
-I/opt/tinyos-2.x/tos/lib/serial/sim -I/opt/tinyos-2.x/tos/interfaces/sim
-I/opt/tinyos-2.x/tos/types/sim -I/opt/tinyos-2.x/tos/system/sim
-I/opt/tinyos-2.x/tos/lib/tossim -I/opt/tinyos-2.x/tos/sensorboards/micasb
-I/opt/tinyos-2.x/tos/platforms/micaz/sim
-I/opt/tinyos-2.x/tos/platforms/micaz -I/opt/tinyos-2.x/tos/platforms/mica
-I/opt/tinyos-2.x/tos/platforms/micaz/chips/cc2420
-I/opt/tinyos-2.x/tos/chips/cc2420 -I/opt/tinyos-2.x/tos/chips/atm128
-I/opt/tinyos-2.x/tos/chips/atm128/adc
-I/opt/tinyos-2.x/tos/chips/atm128/pins
-I/opt/tinyos-2.x/tos/chips/atm128/spi
-I/opt/tinyos-2.x/tos/chips/atm128/timer -I/opt/tinyos-2.x/tos/lib/adc
-I/opt/tinyos-2.x/tos/lib/timer -I/opt/tinyos-2.x/tos/lib/serial
-I/opt/tinyos-2.x/tos/interfaces -I/opt/tinyos-2.x/tos/types
-I/opt/tinyos-2.x/tos/system -g -O0 -Wall -Wshadow -v -fpic
-finline-limit=100000 -o build/micaz/sim.o BlinkAppC.nc -_ASM

nesc1 -_fnesc-gcc=gcc -_fnesc-include=nesc_nx -_fnesc-include=tos
-_fnesc-nido-tosnodes=1000 -_fnesc-simulate
-_fnesc-nido-motenumber=sim_node() -_Wnesc-all -_Wno-nesc-data-race
-_fnesc-dump=components -_fnesc-dump=variables -_fnesc-dump=constants
-_fnesc-dump=typedefs -_fnesc-dump=interfacedefs -_fnesc-dump=tags
-_fnesc-dumpfile=app.xml -_fnesc-no-debug
-_fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasi
c,runTask,postTask -DPLATFORM_MICAZ -DBOARD_MICASB -DUSE_DL_IMPORT -DTOSSIM
-DNESC=128 -I/usr/lib/ncc -I/opt/tinyos-2.x/tos/sensorboards/micasb/sim
-I/opt/tinyos-2.x/tos/platforms/micaz/sim/sim
-I/opt/tinyos-2.x/tos/platforms/micaz/sim
-I/opt/tinyos-2.x/tos/platforms/mica/sim
-I/opt/tinyos-2.x/tos/platforms/micaz/chips/cc2420/sim
-I/opt/tinyos-2.x/tos/chips/cc2420/sim
-I/opt/tinyos-2.x/tos/chips/atm128/sim
-I/opt/tinyos-2.x/tos/chips/atm128/adc/sim
-I/opt/tinyos-2.x/tos/chips/atm128/pins/sim
-I/opt/tinyos-2.x/tos/chips/atm128/spi/sim
-I/opt/tinyos-2.x/tos/chips/atm128/timer/sim
-I/opt/tinyos-2.x/tos/lib/adc/sim -I/opt/tinyos-2.x/tos/lib/timer/sim
-I/opt/tinyos-2.x/tos/lib/serial/sim -I/opt/tinyos-2.x/tos/interfaces/sim
-I/opt/tinyos-2.x/tos/types/sim -I/opt/tinyos-2.x/tos/system/sim
-I/opt/tinyos-2.x/tos/lib/tossim -I/opt/tinyos-2.x/tos/sensorboards/micasb
-I/opt/tinyos-2.x/tos/platforms/micaz/sim
-I/opt/tinyos-2.x/tos/platforms/micaz -I/opt/tinyos-2.x/tos/platforms/mica
-I/opt/tinyos-2.x/tos/platforms/micaz/chips/cc2420
-I/opt/tinyos-2.x/tos/chips/cc2420 -I/opt/tinyos-2.x/tos/chips/atm128
-I/opt/tinyos-2.x/tos/chips/atm128/adc
-I/opt/tinyos-2.x/tos/chips/atm128/pins
-I/opt/tinyos-2.x/tos/chips/atm128/spi
-I/opt/tinyos-2.x/tos/chips/atm128/timer -I/opt/tinyos-2.x/tos/lib/adc
-I/opt/tinyos-2.x/tos/lib/timer -I/opt/tinyos-2.x/tos/lib/serial
-I/opt/tinyos-2.x/tos/interfaces -I/opt/tinyos-2.x/tos/types
-I/opt/tinyos-2.x/tos/system -Wall -Wshadow -v -fpic -finline-limit=100000
BlinkAppC.nc -o build/micaz/app.c

preprocessing /usr/lib/ncc/nesc_nx.h

preprocessing /opt/tinyos-2.x/tos/lib/tossim/tos.h

In file included from /opt/tinyos-2.x/tos/lib/tossim/sim_mac.c:34,

                 from /opt/tinyos-2.x/tos/lib/tossim/tos.h:89:

/opt/tinyos-2.x/tos/lib/tossim/sim_gain.c:14: warning: declaration of `link'
shadows global declaration

/usr/include/sys/unistd.h:98: warning: location of shadowed declaration

/opt/tinyos-2.x/tos/lib/tossim/sim_gain.c:20: warning: declaration of `link'
shadows global declaration

/usr/include/sys/unistd.h:98: warning: location of shadowed declaration

/opt/tinyos-2.x/tos/lib/tossim/sim_gain.c: In function
`sim_gain_allocate_link':

/opt/tinyos-2.x/tos/lib/tossim/sim_gain.c:134: warning: declaration of
`link' shadows global declaration

/usr/include/sys/unistd.h:98: warning: location of shadowed declaration

/opt/tinyos-2.x/tos/lib/tossim/sim_gain.c: At top level:

/opt/tinyos-2.x/tos/lib/tossim/sim_gain.c:141: warning: declaration of
`link' shadows global declaration

/usr/include/sys/unistd.h:98: warning: location of shadowed declaration

preprocessing /opt/tinyos-2.x/tos/lib/tossim/TinySchedulerC.nc

preprocessing /opt/tinyos-2.x/tos/interfaces/Scheduler.nc

preprocessing /opt/tinyos-2.x/tos/interfaces/TaskBasic.nc

preprocessing /opt/tinyos-2.x/tos/lib/tossim/SimSchedulerBasicP.nc

preprocessing BlinkAppC.nc

preprocessing /opt/tinyos-2.x/tos/lib/tossim/MainC.nc

preprocessing /opt/tinyos-2.x/tos/interfaces/Boot.nc

preprocessing /opt/tinyos-2.x/tos/interfaces/Init.nc

preprocessing /opt/tinyos-2.x/tos/platforms/mica/sim/PlatformC.nc

preprocessing /opt/tinyos-2.x/tos/platforms/mica/PlatformP.nc

preprocessing /opt/tinyos-2.x/tos/platforms/micaz/MotePlatformC.nc

preprocessing /opt/tinyos-2.x/tos/platforms/micaz/MotePlatformP.nc

preprocessing /opt/tinyos-2.x/tos/interfaces/GeneralIO.nc

preprocessing
/opt/tinyos-2.x/tos/chips/atm128/pins/sim/HplAtm128GeneralIOC.nc

preprocessing
/opt/tinyos-2.x/tos/chips/atm128/pins/HplAtm128GeneralIOPortP.nc

preprocessing
/opt/tinyos-2.x/tos/chips/atm128/pins/sim/HplAtm128GeneralIOPinP.nc

preprocessing
/opt/tinyos-2.x/tos/chips/atm128/pins/HplAtm128GeneralIOSlowPinP.nc

preprocessing /opt/tinyos-2.x/tos/platforms/mica/sim/MeasureClockC.nc

preprocessing /opt/tinyos-2.x/tos/lib/tossim/SimMainP.nc

preprocessing /opt/tinyos-2.x/tos/lib/tossim/SimMoteP.nc

preprocessing /opt/tinyos-2.x/tos/lib/tossim/SimMote.nc

preprocessing /opt/tinyos-2.x/tos/lib/tossim/TossimActiveMessageP.nc

preprocessing /opt/tinyos-2.x/tos/interfaces/AMSend.nc

preprocessing /opt/tinyos-2.x/tos/interfaces/Receive.nc

preprocessing /opt/tinyos-2.x/tos/interfaces/Packet.nc

preprocessing /opt/tinyos-2.x/tos/interfaces/AMPacket.nc

preprocessing /opt/tinyos-2.x/tos/lib/tossim/TossimPacketModel.nc

preprocessing BlinkC.nc

preprocessing /opt/tinyos-2.x/tos/lib/timer/Timer.nc

preprocessing /opt/tinyos-2.x/tos/interfaces/Leds.nc

preprocessing /opt/tinyos-2.x/tos/system/LedsC.nc

preprocessing /opt/tinyos-2.x/tos/system/LedsP.nc

preprocessing /opt/tinyos-2.x/tos/platforms/mica/PlatformLedsC.nc

preprocessing /opt/tinyos-2.x/tos/system/TimerMilliC.nc

preprocessing /opt/tinyos-2.x/tos/system/TimerMilliP.nc

preprocessing /opt/tinyos-2.x/tos/platforms/mica/sim/HilTimerMilliC.nc

preprocessing /opt/tinyos-2.x/tos/lib/timer/LocalTime.nc

preprocessing /opt/tinyos-2.x/tos/platforms/mica/AlarmCounterMilliP.nc

preprocessing /opt/tinyos-2.x/tos/lib/timer/Alarm.nc

preprocessing /opt/tinyos-2.x/tos/lib/timer/Counter.nc

preprocessing
/opt/tinyos-2.x/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncC.nc

preprocessing /opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer.nc

preprocessing /opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128TimerCtrl8.nc

preprocessing /opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Compare.nc

preprocessing
/opt/tinyos-2.x/tos/chips/atm128/timer/sim/HplAtm128Counter0C.nc

preprocessing
/opt/tinyos-2.x/tos/chips/atm128/timer/sim/HplAtm128TimerNotify.nc

preprocessing
/opt/tinyos-2.x/tos/chips/atm128/timer/sim/HplAtm128CompareC.nc

In file included from
/opt/tinyos-2.x/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncC.nc:58,

                 from
/opt/tinyos-2.x/tos/platforms/mica/AlarmCounterMilliP.nc:30,

                 from
/opt/tinyos-2.x/tos/platforms/mica/sim/HilTimerMilliC.nc:41,

                 from /opt/tinyos-2.x/tos/system/TimerMilliP.nc:41,

                 from /opt/tinyos-2.x/tos/system/TimerMilliC.nc:40,

                 from BlinkAppC.nc:46:

In component `HplAtm128CompareC':

/opt/tinyos-2.x/tos/chips/atm128/timer/sim/HplAtm128CompareC.nc: In function
`timer0_compare_handle':

/opt/tinyos-2.x/tos/chips/atm128/timer/sim/HplAtm128CompareC.nc:195:
warning: declaration of `time' shadows global declaration

/usr/include/time.h:49: warning: location of shadowed declaration

preprocessing /opt/tinyos-2.x/tos/chips/atm128/timer/Atm128TimerInitC.nc

preprocessing /opt/tinyos-2.x/tos/chips/atm128/timer/Atm128AlarmC.nc

preprocessing /opt/tinyos-2.x/tos/chips/atm128/timer/Atm128CounterC.nc

preprocessing /opt/tinyos-2.x/tos/lib/timer/TransformAlarmCounterC.nc

preprocessing /opt/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc

preprocessing /opt/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc

preprocessing /opt/tinyos-2.x/tos/lib/timer/CounterToLocalTimeC.nc

gcc -B/usr/lib/ncc -g -O0 -Wall -Wshadow -v -fpic -finline-limit=100000 -o
build/micaz/sim.o -c -fdollars-in-identifiers build/micaz/app.c

Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/specs

Configured with: /gcc/gcc-3.3.3-3/configure --verbose --prefix=/usr
--exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib
--mandir=/usr/share/man --infodir=/usr/share/info
--enable-languages=c,ada,c++,d,f77,java,objc,pascal --enable-nls
--without-included-gettext --enable-libgcj --with-system-zlib
--enable-interpreter --enable-threads=posix --enable-java-gc=boehm
--enable-sjlj-exceptions --disable-version-specific-runtime-libs
--disable-win32-registry

Thread model: posix

gcc version 3.3.3 (cygwin special)

 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/cc1.exe -quiet -v -isystem
/usr/lib/ncc/include -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=3
-D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -idirafter
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../include/w32api -idirafter
/usr/lib/ncc/../../include/w32api build/micaz/app.c -quiet -dumpbase app.c
-auxbase-strip build/micaz/sim.o -g -O0 -Wall -Wshadow -version -fpic
-finline-limit=100000 -fdollars-in-identifiers -o
/cygdrive/k/DOCUME~1/Antonio/IMPOST~1/Temp/ccl5Wn9r.s

ignoring nonexistent directory "/usr/lib/ncc/include"

cc1: warning: -fpic ignored for target (all code is position independent)

GNU C version 3.3.3 (cygwin special) (i686-pc-cygwin)

        compiled by GNU C version 3.3.3 (cygwin special).

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072

ignoring nonexistent directory "/usr/local/include"

ignoring nonexistent directory "/usr/i686-pc-cygwin/include"

ignoring duplicate directory "/usr/include/w32api"

#include "..." search starts here:

#include <...> search starts here:

 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/include

 /usr/include

 /usr/include/w32api

End of search list.

 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/as.exe
--traditional-format -o build/micaz/sim.o
/cygdrive/k/DOCUME~1/Antonio/IMPOST~1/Temp/ccl5Wn9r.s

  compiling Python support and C libraries into pytossim.o, tossim.o, and
c-support.o

g++ -c  -DUSE_DL_IMPORT -fpic -o build/micaz/pytossim.o -g -O0 -v
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx -I/usr/include/python2.4
-I/opt/tinyos-2.x/tos/lib/tossim -DHAVE_CONFIG_H

Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/specs

Configured with: /gcc/gcc-3.3.3-3/configure --verbose --prefix=/usr
--exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib
--mandir=/usr/share/man --infodir=/usr/share/info
--enable-languages=c,ada,c++,d,f77,java,objc,pascal --enable-nls
--without-included-gettext --enable-libgcj --with-system-zlib
--enable-interpreter --enable-threads=posix --enable-java-gc=boehm
--enable-sjlj-exceptions --disable-version-specific-runtime-libs
--disable-win32-registry

Thread model: posix

gcc version 3.3.3 (cygwin special)

 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/cc1plus.exe -quiet -v
-I/usr/include/python2.4 -I/opt/tinyos-2.x/tos/lib/tossim -D__GNUC__=3
-D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=3 -D__CYGWIN32__ -D__CYGWIN__
-Dunix -D__unix__ -D__unix -idirafter
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../include/w32api -idirafter
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/lib/../../i
nclude/w32api -DUSE_DL_IMPORT -DHAVE_CONFIG_H
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx -D__GNUG__=3 -quiet -dumpbase
tossim_wrap.cxx -auxbase-strip build/micaz/pytossim.o -g -O0 -version -fpic
-o /cygdrive/k/DOCUME~1/Antonio/IMPOST~1/Temp/ccbKFskb.s

cc1plus: warning: -fpic ignored for target (all code is position
independent)

GNU C++ version 3.3.3 (cygwin special) (i686-pc-cygwin)

        compiled by GNU C version 3.3.3 (cygwin special).

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072

ignoring nonexistent directory "/usr/local/include"

ignoring nonexistent directory "/usr/i686-pc-cygwin/include"

ignoring duplicate directory "/usr/i686-pc-cygwin/lib/../../include/w32api"

#include "..." search starts here:

#include <...> search starts here:

 /usr/include/python2.4

 /opt/tinyos-2.x/tos/lib/tossim

 /usr/include/c++/3.3.3

 /usr/include/c++/3.3.3/i686-pc-cygwin

 /usr/include/c++/3.3.3/backward

 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/include

 /usr/include

 /usr/include/w32api

End of search list.

 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/as.exe
--traditional-format -o build/micaz/pytossim.o
/cygdrive/k/DOCUME~1/Antonio/IMPOST~1/Temp/ccbKFskb.s

g++ -c  -DUSE_DL_IMPORT -fpic -o build/micaz/tossim.o -g -O0 -v
/opt/tinyos-2.x/tos/lib/tossim/tossim.c -I/usr/include/python2.4
-I/opt/tinyos-2.x/tos/lib/tossim

Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/specs

Configured with: /gcc/gcc-3.3.3-3/configure --verbose --prefix=/usr
--exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib
--mandir=/usr/share/man --infodir=/usr/share/info
--enable-languages=c,ada,c++,d,f77,java,objc,pascal --enable-nls
--without-included-gettext --enable-libgcj --with-system-zlib
--enable-interpreter --enable-threads=posix --enable-java-gc=boehm
--enable-sjlj-exceptions --disable-version-specific-runtime-libs
--disable-win32-registry

Thread model: posix

gcc version 3.3.3 (cygwin special)

 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/cc1plus.exe -quiet -v
-I/usr/include/python2.4 -I/opt/tinyos-2.x/tos/lib/tossim -D__GNUC__=3
-D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=3 -D__CYGWIN32__ -D__CYGWIN__
-Dunix -D__unix__ -D__unix -idirafter
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../include/w32api -idirafter
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/lib/../../i
nclude/w32api -DUSE_DL_IMPORT /opt/tinyos-2.x/tos/lib/tossim/tossim.c
-D__GNUG__=3 -quiet -dumpbase tossim.c -auxbase-strip build/micaz/tossim.o
-g -O0 -version -fpic -o
/cygdrive/k/DOCUME~1/Antonio/IMPOST~1/Temp/ccsusN1R.s

cc1plus: warning: -fpic ignored for target (all code is position
independent)

GNU C++ version 3.3.3 (cygwin special) (i686-pc-cygwin)

        compiled by GNU C version 3.3.3 (cygwin special).

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072

ignoring nonexistent directory "/usr/local/include"

ignoring nonexistent directory "/usr/i686-pc-cygwin/include"

ignoring duplicate directory "/usr/i686-pc-cygwin/lib/../../include/w32api"

#include "..." search starts here:

#include <...> search starts here:

 /usr/include/python2.4

 /opt/tinyos-2.x/tos/lib/tossim

 /usr/include/c++/3.3.3

 /usr/include/c++/3.3.3/i686-pc-cygwin

 /usr/include/c++/3.3.3/backward

 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/include

 /usr/include

 /usr/include/w32api

End of search list.

 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/as.exe
--traditional-format -o build/micaz/tossim.o
/cygdrive/k/DOCUME~1/Antonio/IMPOST~1/Temp/ccsusN1R.s

g++ -c  -DUSE_DL_IMPORT -fpic -o build/micaz/c-support.o -g -O0 -v
/opt/tinyos-2.x/tos/lib/tossim/hashtable.c -I/usr/include/python2.4
-I/opt/tinyos-2.x/tos/lib/tossim

Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/specs

Configured with: /gcc/gcc-3.3.3-3/configure --verbose --prefix=/usr
--exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib
--mandir=/usr/share/man --infodir=/usr/share/info
--enable-languages=c,ada,c++,d,f77,java,objc,pascal --enable-nls
--without-included-gettext --enable-libgcj --with-system-zlib
--enable-interpreter --enable-threads=posix --enable-java-gc=boehm
--enable-sjlj-exceptions --disable-version-specific-runtime-libs
--disable-win32-registry

Thread model: posix

gcc version 3.3.3 (cygwin special)

 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/cc1plus.exe -quiet -v
-I/usr/include/python2.4 -I/opt/tinyos-2.x/tos/lib/tossim -D__GNUC__=3
-D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=3 -D__CYGWIN32__ -D__CYGWIN__
-Dunix -D__unix__ -D__unix -idirafter
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../include/w32api -idirafter
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/lib/../../i
nclude/w32api -DUSE_DL_IMPORT /opt/tinyos-2.x/tos/lib/tossim/hashtable.c
-D__GNUG__=3 -quiet -dumpbase hashtable.c -auxbase-strip
build/micaz/c-support.o -g -O0 -version -fpic -o
/cygdrive/k/DOCUME~1/Antonio/IMPOST~1/Temp/ccucZFTq.s

cc1plus: warning: -fpic ignored for target (all code is position
independent)

GNU C++ version 3.3.3 (cygwin special) (i686-pc-cygwin)

        compiled by GNU C version 3.3.3 (cygwin special).

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072

ignoring nonexistent directory "/usr/local/include"

ignoring nonexistent directory "/usr/i686-pc-cygwin/include"

ignoring duplicate directory "/usr/i686-pc-cygwin/lib/../../include/w32api"

#include "..." search starts here:

#include <...> search starts here:

 /usr/include/python2.4

 /opt/tinyos-2.x/tos/lib/tossim

 /usr/include/c++/3.3.3

 /usr/include/c++/3.3.3/i686-pc-cygwin

 /usr/include/c++/3.3.3/backward

 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/include

 /usr/include

 /usr/include/w32api

End of search list.

 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/as.exe
--traditional-format -o build/micaz/c-support.o
/cygdrive/k/DOCUME~1/Antonio/IMPOST~1/Temp/ccucZFTq.s

  linking into shared object ./_TOSSIM.dll

g++ -fpic -W1,--enabled-auto-image-base   build/micaz/pytossim.o
build/micaz/sim.o build/micaz/tossim.o build/micaz/c-support.o
-L//usr/include/python2.4/config -lstdc++ -lpython2.4 -o _TOSSIM.dll

/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld:
cannot find -lpython2.4

collect2: ld returned 1 exit status

make: *** [sim-exe] Error 1

 


 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Corso base ASP Gratis - Video con trucchi e segreti per imparare a creare il tuo Sito Web Dinamico con la tecnologia ASP
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5146&d=30-1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070130/d68dd74d/attachment.htm


More information about the Tinyos-help mailing list