meghs94 / tinyos-main

Automatically exported from code.google.com/p/tinyos-main
1 stars 0 forks source link

cppbsl does not compile #82

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to build cppbsl using the supplied automake files

What is the expected output? What do you see instead?

Some libc functions aren't included when I build on Debian squeeze.  

stevedh@jackalope:~/svn/tinyos-main.clean/tools/platforms/msp430/cppbsl$ make
make  all-recursive
make[1]: Entering directory 
`/mnt/md0/home/stevedh/svn/tinyos-main.clean/tools/platforms/msp430/cppbsl'
Making all in config
make[2]: Entering directory 
`/mnt/md0/home/stevedh/svn/tinyos-main.clean/tools/platforms/msp430/cppbsl/confi
g'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/mnt/md0/home/stevedh/svn/tinyos-main.clean/tools/platforms/msp430/cppbsl/confi
g'
Making all in src
make[2]: Entering directory 
`/mnt/md0/home/stevedh/svn/tinyos-main.clean/tools/platforms/msp430/cppbsl/src'
g++ -DHAVE_CONFIG_H -I. -I..     -g -O2  -MT Parameters.o -MD -MP -MF 
.deps/Parameters.Tpo -c -o Parameters.o Parameters.cc
mv -f .deps/Parameters.Tpo .deps/Parameters.Po
g++ -DHAVE_CONFIG_H -I. -I..     -g -O2  -MT Serial.o -MD -MP -MF 
.deps/Serial.Tpo -c -o Serial.o Serial.cc
Serial.cc: In member function ‘int BaseSerial::disconnect(int*)’:
Serial.cc:195: error: ‘strerror’ was not declared in this scope
make[2]: *** [Serial.o] Error 1
make[2]: Leaving directory 
`/mnt/md0/home/stevedh/svn/tinyos-main.clean/tools/platforms/msp430/cppbsl/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/mnt/md0/home/stevedh/svn/tinyos-main.clean/tools/platforms/msp430/cppbsl'
make: *** [all] Error 2

Please use labels and text to provide additional information.

Original issue reported on code.google.com by sdh...@gmail.com on 15 Nov 2011 at 6:33

GoogleCodeExporter commented 8 years ago
My patch wasn't included...

Original comment by sdh...@gmail.com on 15 Nov 2011 at 6:33

Attachments:

GoogleCodeExporter commented 8 years ago
Feel free to apply the patch.

Original comment by philip.l...@gmail.com on 21 Nov 2011 at 5:57

GoogleCodeExporter commented 8 years ago

Original comment by philip.l...@gmail.com on 21 Nov 2011 at 5:58

GoogleCodeExporter commented 8 years ago
r5824

Original comment by sdh...@gmail.com on 21 Nov 2011 at 9:31