Hello Romain!
It's bad that you still cannot use TOSSIM. Tymo is waiting for
improvements :)
What if you try to compile something like this:
--------------------------------
#include <stddef.h>
#include <inttypes.h>
int
main(int argc, char* argv[])
{
return 0;
}
-------------------------------
The included headers are from gcc (or am I wrong?). So even additionally
includes shouldn't affect the compilation (only if the same header stays
sooner).
And when you run "make micaz sim", you can see the command line with g++
and parameters, that ends with failure. Can you also post it?
Andrey
Romain Thouvenin wrote:
> Thanks everybody for your responses, but couldn't find the issue yet...
>
> I do have gcc-4.1 and gcc-4.2 installed, and the directory from
> /usr/lib/gcc/i486-linux-gnu/4.2.3/include (which is the one according
> to gcc -print-search-dirs) exists.
>
> How can I know the include paths used when I run "make micaz sim".
>
> Thanks for your help,
> Romain
>
> On Thu, Sep 11, 2008 at 12:30 PM, Sarfraz Nawaz <[EMAIL PROTECTED]> wrote:
>> Romain,
>>
>> I am using Ubuntu Gutsy and on my machine the include search path when
>> compiling for tossim is
>>
>> /usr/include/python2.5
>> /home/mnawaz/tinyos-2.x/tos/lib/tossim
>> /usr/include/c++/4.1.3
>> /usr/include/c++/4.1.3/i486-linux-gnu
>> /usr/include/c++/4.1.3/backward
>> /usr/local/include
>> /usr/lib/gcc/i486-linux-gnu/4.1.3/include
>> /usr/include
>>
>> stddef.h lives under /usr/lib/gcc/i486-linux-gnu/4.1.3/include and is
>> part of package gcc-4.1. A quick search on packages.ubuntu.com shows
>> that it this package is also available for hardy.
>>
>> On Tue, Sep 9, 2008 at 6:34 PM, Romain Thouvenin
>> <[EMAIL PROTECTED]> wrote:
>>> Hello,
>>>
>>> I recently (a week or 2 ago) upgraded my Ubuntu distribution to Hardy,
>>> and since then I
>>> cannot compile tossim anymore.
>>> I tried to remove completely all tinyos related packages and reinstall
>>> the latest ones, but this didn't affect the behavior.
>>> I didn't install the tinyos package though, as I work with the CVS tree.
>>>
>>> Please find attached the compiler log (I ran make micaz sim)
>>> I still can compile for micaz.
>>>
>>> I tried to find someone with the same issue in the archives, but
>>> surprisingly couldn't find
>>> any.
>>>
>>> It looks like some dev package is missing, but they should have been
>>> updated during the upgrade and/or installed as dependencies of tinyos
>>> packages. Any hint?
>>> Or maybe some misconfiguration in the Makefiles? My stddef (first file
>>> missing, see the log attached) is in /usr/include/linux.
>>>
>>> Thanks for your help!
>>> Romain
>>>
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> [email protected]
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help