From: scipio
Date: Fri, 23 Feb 2007 17:47:40 +0000 (+0000)
Subject: Add more appendices.
X-Git-Tag: tinyos/2.0.1~159
X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=ad00e2badfa9ec079a632073e6693a01cba20fcf;p=tinyos-2.x.git
Add more appendices.
---
diff --git a/doc/html/tutorial/lesson11.html b/doc/html/tutorial/lesson11.html
index 8b7f3649..a495f6a6 100644
--- a/doc/html/tutorial/lesson11.html
+++ b/doc/html/tutorial/lesson11.html
@@ -1395,7 +1395,10 @@ Lesson >
You have Python support installed, but it turns out to
be incompatible with TOSSIM.
-
+
+ You have a variant of gcc/g++ installed that
+ expects slightly different compilation options than the
+ normal installation.
We'll visit each in turn.
@@ -1552,10 +1555,10 @@ CFLAGS += -I/path
Symptom: You've verified that you have the
needed Python files and libraries, but compilation is
still saying that it can't link to them ("undefined
- reference") or can't find them.
+ reference") or can't find them ("cannot find -lpython2.4").
Solution: Change the sim.extra file to point to
- the correct directories.
+ the correct directories using -L and -I flags.
You have Python support installed, but it turns out to
be incompatible with TOSSIM.
@@ -1568,7 +1571,21 @@ CFLAGS += -I/path
tos/lib/tossim, or install a different version of
Python.
- Hopefully, these solutions worked and you can get back
+
You have a variant of gcc/g++ installed that
+ expects slightly different compilation options than the
+ normal installation.
+
+ Symptom: g++ complains that it cannot find
+ main() when you are compiling the shared library
+ ("undefined reference to `_WinMain@16'").
+
+ Solution: There are two possible solutions.
+ The first is to include a dummy main(), as described
+ in this tinyos-help posting. The
+ second is to add the -shared option, as described in
+ this web page.
+
+
Hopefully, these solutions worked and you can get back
to compiling, If not, then you
should email tinyos-help.