I think you should compile and build sf in support/sdk/c/sf and then blip.  I'm 
not sure about the current status of the driver, if you are using tinyos 2.1.1 
version you should be fine.

--Antonio 

Jared Fisher <[email protected]> wrote:

>Hello,
>
>I am working on the BLIP tutorials, and I am trying to get everything to run. 
>I have gotten to
>
>$ cd $TOSROOT/support/sdk/c/blip
>$ ./bootstrap.sh
>$ ./configure
>$ makehowever, when I run make, it gives me errors,
>xubuntos@xubuntos-tinyos:/opt/tinyos-2.1.1/support/sdk/c/blip$ sudo 
>./configurechecking for a BSD-compatible install... /usr/bin/install 
>-cchecking whether build environment is sane... yeschecking for gawk... 
>nochecking for mawk... mawkchecking whether make sets $(MAKE)... yeschecking 
>for ranlib... ranlibchecking for gcc... gccchecking for C compiler default 
>output file name... a.outchecking whether the C compiler works... yeschecking 
>whether we are cross compiling... nochecking for suffix of executables... 
>checking for suffix of object files... ochecking whether we are using the GNU 
>C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option 
>to accept ISO C89... none neededchecking for style of include used by make... 
>GNUchecking dependency style of gcc... gcc3configure: creating 
>./config.statusconfig.status: creating Makefileconfig.status: creating 
>lib6lowpan/Makefileconfig.status: creating driver/Makefileconfig.status: 
>creating config.hconfig.status: c!
 onfig.h is unchangedconfig.status: executing depfiles commands=== configuring 
in driver/radvd-1.0 
(/opt/tinyos-2.1.1/support/sdk/c/blip/driver/radvd-1.0)configure: running 
/bin/bash ./configure '--prefix=/usr/local'  --cache-file=/dev/null 
--srcdir=.checking build system type... i686-pc-linux-gnuchecking host system 
type... i686-pc-linux-gnuchecking target system type... 
i686-pc-linux-gnuchecking for a BSD-compatible install... /usr/bin/install 
-cchecking whether build environment is sane... yeschecking for gawk... 
nochecking for mawk... mawkchecking whether make sets $(MAKE)... yesbuilding 
for architecture... linuxchecking for gcc... gccchecking for C compiler default 
output file name... a.outchecking whether the C compiler works... yeschecking 
whether we are cross compiling... nochecking for suffix of executables... 
checking for suffix of object files... ochecking whether we are using the GNU C 
compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option t!
 o accept ISO C89... none neededchecking for style of include used by m
a
ke... GNUchecking dependency style of gcc... gcc3checking for a BSD-compatible 
install... /usr/bin/install -cchecking for rm... /bin/rmchecking for sed... 
/bin/sedchecking for ln... /bin/lnchecking for bison... nochecking for byacc... 
nochecking for flex... nochecking for lex... nochecking for tar... 
/bin/tarchecking for gzip... /bin/gzipchecking where to put logfile... 
/var/log/radvd.logchecking where to put pidfile... /var/run/radvd.pidchecking 
where to find configfile... ${prefix}/etc/radvd.confchecking which syslog 
facility to use... LOG_DAEMONchecking for inet_ntop in -lc... yeschecking how 
to run the C preprocessor... gcc -Echecking for grep that handles long lines 
and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for ANSI C header 
files... yeschecking for sys/types.h... yeschecking for sys/stat.h... 
yeschecking for stdlib.h... yeschecking for string.h... yeschecking for 
memory.h... yeschecking for strings.h... yeschecking for inttypes.h... 
yeschecking for !
 stdint.h... yeschecking for unistd.h... yeschecking sys/time.h usability... 
yeschecking sys/time.h presence... yeschecking for sys/time.h... yeschecking 
whether time.h and sys/time.h may both be included... yeschecking netinet/ip6.h 
usability... yeschecking netinet/ip6.h presence... yeschecking for 
netinet/ip6.h... yeschecking sys/sockio.h usability... nochecking sys/sockio.h 
presence... nochecking for sys/sockio.h... nochecking getopt.h usability... 
yeschecking getopt.h presence... yeschecking for getopt.h... yeschecking for 
inttypes.h... (cached) yeschecking net/if_dl.h usability... nochecking 
net/if_dl.h presence... nochecking for net/if_dl.h... nochecking net/if_types.h 
usability... nochecking net/if_types.h presence... nochecking for 
net/if_types.h... nochecking net/if_arp.h usability... yeschecking net/if_arp.h 
presence... yeschecking for net/if_arp.h... yeschecking sys/param.h 
usability... yeschecking sys/param.h presence... yeschecking for sys/param.h... 
yeschecking!
  machine/param.h usability... nochecking machine/param.h presence... n
o
checking for machine/param.h... nochecking machine/limits.h usability... 
nochecking machine/limits.h presence... nochecking for machine/limits.h... 
nochecking for an ANSI C-conforming const... yeschecking whether struct 
sockaddr_in6 has sin6_scope_id... yeschecking whether struct in6_addr has 
u6_addrXX and defines s6_addrXX... yeschecking for getopt_long... yesconfigure: 
creating ./config.statusconfig.status: creating Makefileconfig.status: creating 
config.hconfig.status: config.h is unchangedconfig.status: linking 
./device-linux.c to device.cconfig.status: executing depfiles 
commandsxubuntos@xubuntos-tinyos:/opt/tinyos-2.1.1/support/sdk/c/blip$ sudo 
makemake  all-recursivemake[1]: Entering directory 
`/opt/tinyos-2.1.1/support/sdk/c/blip'Making all in lib6lowpanmake[2]: Entering 
directory `/opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan'make[2]: Nothing to 
be done for `all'.make[2]: Leaving directory 
`/opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan'Making all in drivermake[2!
 ]: Entering directory `/opt/tinyos-2.1.1/support/sdk/c/blip/driver'if gcc 
-DHAVE_CONFIG_H -I. -I. -I..    -DPC -D_GNU_SOURCE 
-I/opt/tinyos-2.1.0/support/sdk/c/sf/ -I.. -g -O2 -MT ip_driver-serial_tun.o 
-MD -MP -MF ".deps/ip_driver-serial_tun.Tpo" -c -o ip_driver-serial_tun.o `test 
-f 'serial_tun.c' || echo './'`serial_tun.c; \        then mv -f 
".deps/ip_driver-serial_tun.Tpo" ".deps/ip_driver-serial_tun.Po"; else rm -f 
".deps/ip_driver-serial_tun.Tpo"; exit 1; fiserial_tun.c:77:26: error: 
serialpacket.h: No such file or directoryserial_tun.c:78:28: error: 
serialprotocol.h: No such file or directoryserial_tun.c: In function 
'write_radio_header':serial_tun.c:371: error: 'SERIAL_TOS_SERIAL_802_15_4_ID' 
undeclared (first use in this function)serial_tun.c:371: error: (Each 
undeclared identifier is reported only onceserial_tun.c:371: error: for each 
function it appears in.)make[2]: *** [ip_driver-serial_tun.o] Error 1make[2]: 
Leaving directory `/opt/tinyos-2.1.1/support/sdk/c/bl!
 ip/driver'make[1]: *** [all-recursive] Error 1make[1]: Leaving directo
r
y `/opt/tinyos-2.1.1/support/sdk/c/blip'make: *** [all] Error 2I acquired a 
copy of serialprotocol.h and serialpacket.h, and I have put them in the driver 
folder. I am not sure if this is correct though.
>
>Is there a working vm that I can download that is ready to go? Or is there a 
>location where I should be putting these files?
>
>Thanks,
>JFisher
>_______________________________________________
>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

Reply via email to