[Tinyos-help] a compilation warning for TOSSIM

Chung-Ching Shen ccshen at gmail.com
Tue Mar 29 16:04:14 PST 2005


Hi,

When I try to compile an application by "make pc", a warning message occurs as follows,
gcc: unrecognized option `-pthread'

The main.exe file can still be generated and the output formats are showing as follows. But it seems that two motes cannot be simulated by TOSSIM at the same time. Does anybody know how to solve these problems?
Thanks very much.

$ main 2
SIM: EEPROM system initialized.
SIM: event queue initialized.
SIM: Random seed is 625000
SIM: Initializing sockets
SIM: Created server socket listening on port 10584.
SIM: Created server socket listening on port 10585.
SIM: eventAcceptThread running.
SIM: Time for mote 0 initialized to 25111972.
SIM: Time for mote 1 initialized to 6587617.
1: BOOT: Scheduling for boot Node 0 at 0:0:6.27799300.
1: BOOT: Scheduling for boot Node 1 at 0:0:1.64690425.
1: Popping event for mote 1 with time 0:0:1.64690425.
1: Setting TOS_LOCAL_ADDRESS to 1
1: BOOT: Mote booting at time 0:0:1.64690425.
1: LED: initialized.
1: Clear bit 3 of port 64
SIM: commandReadThread running.
1: Clear bit 6 of port 64
1: Clear bit 3 of port 69
1: Clear bit 7 of port 4294967168
1: Set bit 4 of port 52
Exiting on SIGINT at 0:0:1.64690425.
 



More information about the Tinyos-help mailing list