I got the same issues as Mr. Becker when compiling from svn. I tried
to solve the errors myself but I got stuck.

The new file structure, however, looks really promising compared to
the old one. As I am writing a new routing protocol for Blip, I am
looking forward for the next version. Keep up the good work guys.

Best Regards
Joakim Flathagen

2010/9/29 Markus Becker <[email protected]>:
> Hi Steve,
>
> when trying out blip-2.0 from svn I came across the following issues:
>
> * Compilation of blip/interface/ is missing pthread library on Linux:
>
>  gcc -DPC -I../../../../../tos/types -I../../sf -g -O2   -o ieee154-interface 
> ieee154-interface.o tun_dev.o logging.o config.o queue.o 
> ../lib6lowpan/lib6lowpan.a ../../sf/libmote.a
> ieee154-interface.o: In function `main':
> /home/mab/src/external/gitsvn/tinyos-main-read-only/support/sdk/c/blip/interface/ieee154-interface.c:506:
>  undefined reference to `pthread_create'
> /home/mab/src/external/gitsvn/tinyos-main-read-only/support/sdk/c/blip/interface/ieee154-interface.c:507:
>  undefined reference to `pthread_create'
> /home/mab/src/external/gitsvn/tinyos-main-read-only/support/sdk/c/blip/interface/ieee154-interface.c:521:
>  undefined reference to `pthread_create'
> /home/mab/src/external/gitsvn/tinyos-main-read-only/support/sdk/c/blip/interface/ieee154-interface.c:522:
>  undefined reference to `pthread_create'
> /home/mab/src/external/gitsvn/tinyos-main-read-only/support/sdk/c/blip/interface/ieee154-interface.c:524:
>  undefined reference to `pthread_join'
>
> Fixed for me by:
>
> diff --git a/support/sdk/c/blip/interface/Makefile.am 
> b/support/sdk/c/blip/interface/Makefile.am
> index 8108bfc..389038e 100644
> --- a/support/sdk/c/blip/interface/Makefile.am
> +++ b/support/sdk/c/blip/interface/Makefile.am
> @@ -1,5 +1,5 @@
>
> -AM_CFLAGS = -DPC -I../../../../../tos/types -I../../sf
> +AM_CFLAGS = -DPC -I../../../../../tos/types -I../../sf -lpthread
>
>  sbin_PROGRAMS = ieee154-interface
>
> * Is it possible to remove tun_dev.c, *.in and autoconf.h from svn? Those 
> files are created and changed by autotools. svn reports them as changed then.
> * serial_tun_conf can be removed.
>
> * Is it possible to have *.o, *.a, *.log, Makefile, *.in and so forth in 
> svn:ignore for blip/? My list is:
>
> Makefile
> *.m4
> autom4te.cache/
> config.guess
> config.h
> config.log
> config.status
> config.sub
> configure
> depcomp
> install-sh
> .deps/
> ieee154-interface
> *.o
> *.a
> missing
> stamp-h1
>
> * And UDPEcho and IPBaseStation are not compiling because of various 
> issues... (I am sure you are working on that already.)
>
> Looking forward to blip-2.0,
> Markus
>
>> Hi Everyone -- for people who are (a) using blip, and (b) using
>> core/svn, I just wanted to let you all know that we (me and Jeonggil
>> Ko, of JHU) have replaced the existing blip code in core with the
>> beginnings of the new stack.  It contains a full implementation of
>> draft-ietf-6lowpan-hc-06, and draft-ietf-roll-rpl.  However, it's
>> still pretty rough around the edges and also undocumented and so I
>> recommend that people who don't want to mess around with the internals
>> stick with the 2.1.1 release.
>>
>> We'll be cleaning it up in the coming weeks to make it more usable,
>> but we felt it was important to start integrating it with core.
>>
>> Steve
> ------------------------------------------------
> | Dipl.-Ing. Markus Becker
> | Communication Networks
> | Mobile Research Center
> | TZI - Center for Computing Technologies
> | University Bremen
> | Germany
> ------------------------------------------------
> | web: http://www.comnets.uni-bremen.de/~mab/
> | mailto: [email protected]
> | telephone: +49 421 218 62379
> | building: NW1 room: N2260
> ------------------------------------------------
>

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to