[Tinyos-2-commits] CVS: tinyos-2.x/doc/html/tutorial lesson11-200.html, NONE, 1.1

Phil Levis scipio at users.sourceforge.net
Tue May 1 20:12:48 PDT 2007


Update of /cvsroot/tinyos/tinyos-2.x/doc/html/tutorial
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv8186/html/tutorial

Added Files:
	lesson11-200.html 
Log Message:
Updated instructions.


--- NEW FILE: lesson11-200.html ---
<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
  <title>Lesson 11: Simulation with TOSSIM</title>
  <link href="../../stylesheets/tutorial.css" rel="stylesheet" type="text/css">
</head>
<body>

<div class="title">Lesson 11: Simulation with TOSSIM</div>
<div class="subtitle">Last Modified: 18 May 2006</div>

      <p>This lesson introduces the TOSSIM simulator. You will become
        familiar with how to compile TOSSIM and use some of its
        functionality. You will learn how to:</p>

      <p>
        
        <ul>
          
[...1555 lines suppressed...]
	        expects slightly different compilation options than the
		normal installation.</h2>

		<p><b>Symptom:</b> g++ complains that it cannot find
		 main() when you are compiling the shared library
		 ("undefined reference to `_WinMain at 16'").</p>

		 <p><b>Solution:</b> There are two possible solutions.
		 The first is to include a dummy main(), as described
		  in this <A HREF="http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-December/021719.html">tinyos-help posting.</A> The
		  second is to add the -shared option, as described in
		  this <A HREF="http://curl.haxx.se/mail/archive-2003-01/0056.html">web page</A>.
		  
		  <p>Hopefully, these solutions worked and you can get back
	    to <A HREF="#compiling">compiling</A>, If not, then you
		should email tinyos-help.</p>
</center>

</body>
</html>



More information about the Tinyos-2-commits mailing list