[Tinyos-2-commits] CVS: tinyos-2.x/doc/html/tutorial lesson11.html,
1.7, 1.8
Phil Levis
scipio at users.sourceforge.net
Fri Feb 23 09:47:42 PST 2007
Update of /cvsroot/tinyos/tinyos-2.x/doc/html/tutorial
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv32406
Modified Files:
lesson11.html
Log Message:
Add more appendices.
Index: lesson11.html
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/doc/html/tutorial/lesson11.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** lesson11.html 22 Feb 2007 01:16:10 -0000 1.7
--- lesson11.html 23 Feb 2007 17:47:40 -0000 1.8
***************
*** 1396,1400 ****
<li>You have Python support installed, but it turns out to
be incompatible with TOSSIM.</li>
!
</ol>
--- 1396,1403 ----
<li>You have Python support installed, but it turns out to
be incompatible with TOSSIM.</li>
!
! <li>You have a variant of gcc/g++ installed that
! expects slightly different compilation options than the
! normal installation.</li>
</ol>
***************
*** 1553,1560 ****
needed Python files and libraries, but compilation is
still saying that it can't link to them ("undefined
! reference") or can't find them.</p>
<p><b>Solution:</b> Change the sim.extra file to point to
! the correct directories.</p>
<h2>You have Python support installed, but it turns out to
--- 1556,1563 ----
needed Python files and libraries, but compilation is
still saying that it can't link to them ("undefined
! reference") or can't find them ("cannot find -lpython2.4").</p>
<p><b>Solution:</b> Change the sim.extra file to point to
! the correct directories using -L and -I flags.</p>
<h2>You have Python support installed, but it turns out to
***************
*** 1569,1573 ****
Python.</p>
! <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>
--- 1572,1590 ----
Python.</p>
! <h2>You have a variant of gcc/g++ installed that
! 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>
More information about the Tinyos-2-commits
mailing list