From ad00e2badfa9ec079a632073e6693a01cba20fcf Mon Sep 17 00:00:00 2001 From: scipio Date: Fri, 23 Feb 2007 17:47:40 +0000 Subject: [PATCH] Add more appendices. --- doc/html/tutorial/lesson11.html | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) 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.

    -- 2.39.2