Hi list.
I recently upgraded my workstation PC to the latest Debian Unstable,
and I'm now having errors building tinyos2.x.
My (automated) build procedure is basically this:
1) setup all TOS environment vars
export TOSROOT=$CHECKOUT_DIR
export TOSDIR=$TOSROOT/tos
export MAKERULES=$TOSROOT/support/make/Makerules
export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar:.
export
PYTHONPATH=$TOSROOT/support/sdk/python:$HOME/local/lib/tinyos:$PYTHONPATH
export PATH=$TOSROOT/support/sdk/c:$PATH
export PATH=$HOME/local/bin:$PATH
export PATH=/opt/msp430/bin/:$PATH
2) Uninstall and disclean
cd $CHECKOUT_DIR/tools
make uninstall
make distclean
3) configure, make, and install:
cd $CHECKOUT_DIR/tools
./Bootstrap
./configure --prefix=$HOME/local
yes | make all
yes | make install
cd ../tos/lib/tosboot/
make telosb
I'm getting errors running 'make all'. Here is the error:
=========OUTPUT==========
[EMAIL PROTECTED]:~/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tools$
make all
Making all in platforms
make[1]: Entering directory
`/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tools/platforms'
Making all in mica
make[2]: Entering directory
`/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tools/platforms/mica'
Making all in cc1000-channelgen
make[3]: Entering directory
`/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tools/platforms/mica/cc1000-channelgen'
source='tos-channelgen.c' object='tos-channelgen.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../../../config-aux/depcomp \
gcc -DPACKAGE_NAME=\"tinyos-tools\"
-DPACKAGE_TARNAME=\"tinyos-tools\" -DPACKAGE_VERSION=\"1.2.4\"
-DPACKAGE_STRING=\"tinyos-tools\ 1.2.4\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"tinyos-tools\" -DVERSION=\"1.2.4\" -I. -g -O2 -c
tos-channelgen.c
gcc -g -O2 -o tos-channelgen tos-channelgen.o
gcc: tos-channelgen.o: No such file or directory
gcc: no input files
make[3]: *** [tos-channelgen] Error 1
make[3]: Leaving directory
`/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tools/platforms/mica/cc1000-channelgen'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tools/platforms/mica'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tools/platforms'
make: *** [all-recursive] Error 1
=========================
I am using the latest CVS version, but I have the same problem with
earlier versions, so I think it's due to an updated automake or gcc
version.
Any tips for fixing this problem?
I'm also going to try to solve the problem myself and will post to
this thread if/when I fix it.
David.
PS: Here are the gcc and 'make' versions on my workstation:
gcc: 4:4.2.3-9
make: 3.81-4
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help