Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sing-generate under tos/lib/tossim does not exist #45

Closed
tinyos-issues opened this issue Dec 21, 2012 · 1 comment
Closed

sing-generate under tos/lib/tossim does not exist #45

tinyos-issues opened this issue Dec 21, 2012 · 1 comment

Comments

@tinyos-issues
Copy link
Member

Original author: neelomad...@gmail.com (May 28, 2011 06:44:28)

What steps will reproduce the problem?

  1. while compiling TOSSIM
    $ cd apps/Blink
    $ make micaz sim

What is the expected output? What do you see instead?
sasmita@sasmita-laptop:/opt/tinyos-2.1.1/apps/Blink$ make micaz sim
mkdir -p simbuild/micaz
placing object files in simbuild/micaz
writing XML schema to app.xml
compiling BlinkAppC to object file sim.o
ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node() -fnesc-gcc=gcc -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=simbuild/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000 -DIDENT_APPNAME="BlinkAppC" -DIDENT_USERNAME="sasmita" -DIDENT_HOSTNAME="sasmita-laptop" -DIDENT_USERHASH=0xb6d90fc0L -DIDENT_TIMESTAMP=0x4de08e72L -DIDENT_UIDHASH=0xc651c2faL -I/usr/include/python2.6 -Wno-nesc-data-race BlinkAppC.nc -fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml
compiling Python support and C libraries into pytossim.o, tossim.o, and c-support.o
g++ -c -shared -fPIC -o simbuild/micaz/pytossim.o -g -O0 -DIDENT_APPNAME="BlinkAppC" -DIDENT_USERNAME="sasmita" -DIDENT_HOSTNAME="sasmita-laptop" -DIDENT_USERHASH=0xb6d90fc0L -DIDENT_TIMESTAMP=0x4de08e72L -DIDENT_UIDHASH=0xc651c2faL -I/usr/include/python2.6 /opt/tinyos-2.1.1/tos/lib/tossim/tossim_wrap.cxx -I/usr/include/python2.6 -I/opt/tinyos-2.1.1/tos/lib/tossim -DHAVE_CONFIG_H
/opt/tinyos-2.1.1/tos/lib/tossim/tossim_wrap.cxx: In function ‘void SWIG_Python_AddErrorMsg(const char*)’:
/opt/tinyos-2.1.1/tos/lib/tossim/tossim_wrap.cxx:880: warning: format not a string literal and no format arguments
g++ -c -shared -fPIC -o simbuild/micaz/tossim.o -g -O0 -DIDENT_APPNAME="BlinkAppC" -DIDENT_USERNAME="sasmita" -DIDENT_HOSTNAME="sasmita-laptop" -DIDENT_USERHASH=0xb6d90fc0L -DIDENT_TIMESTAMP=0x4de08e72L -DIDENT_UIDHASH=0xc651c2faL -I/usr/include/python2.6 /opt/tinyos-2.1.1/tos/lib/tossim/tossim.c -I/usr/include/python2.6 -I/opt/tinyos-2.1.1/tos/lib/tossim
g++ -c -shared -fPIC -o simbuild/micaz/c-support.o -g -O0 -DIDENT_APPNAME="BlinkAppC" -DIDENT_USERNAME="sasmita" -DIDENT_HOSTNAME="sasmita-laptop" -DIDENT_USERHASH=0xb6d90fc0L -DIDENT_TIMESTAMP=0x4de08e72L -DIDENT_UIDHASH=0xc651c2faL -I/usr/include/python2.6 /opt/tinyos-2.1.1/tos/lib/tossim/hashtable.c -I/usr/include/python2.6 -I/opt/tinyos-2.1.1/tos/lib/tossim
linking into shared object ./_TOSSIMmodule.so
g++ -shared -fPIC simbuild/micaz/pytossim.o simbuild/micaz/sim.o simbuild/micaz/tossim.o simbuild/micaz/c-support.o -lstdc++ -o _TOSSIMmodule.so
copying Python script interface TOSSIM.py from lib/tossim to local directory

*** Successfully built micaz TOSSIM library.

What version of the product are you using? On what operating system?
Ubuntu 10.04 Lucid
TinyOS 2.1.1

Please provide any additional information below.

Installed swig, python-setuptools python-dev
sudo apt-get install swig python-setuptools python-dev

How to regenerate Python support? The script sing-generate does not exist in tos/lib/tossim.

Original issue: http://code.google.com/p/tinyos-main/issues/detail?id=42

@tinyos-issues
Copy link
Member Author

From philip.l...@gmail.com on May 31, 2011 18:37:53
Please send questions to tinyos-help. tos/lib/tossim/generate-swig.bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant