Hi,

I woud like to install the library "libserial" 
http://libserial.sourceforge.net/mediawiki/index.php/Main_Page
into the Toolchain. I followed the instructions in the wiki under Toolchain ( 
http://wiki.openmoko.org/wiki/Toolchain - Installing additional libraries into 
the toolchain)

./configure --host=arm-angstrom-linux-gnueabi --
prefix=/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr
seems to do fine

now i'm stuck by the  command: make
i get following errors: (in the text-file)

can somebody give me a hint what i have to do next to install it,
or maybe sombody can add it to the angstrom-repositories

Thanks, mat


 
make  all-recursive
make[1]: Betrete Verzeichnis '/tmp/libserial-0.5.2'
Making all in src
make[2]: Betrete Verzeichnis '/tmp/libserial-0.5.2/src'
if /bin/bash ../libtool --tag=CXX --mode=compile ccache 
arm-angstrom-linux-gnueabi-g++ -march=armv4t -mtune=arm920t -DHAVE_CONFIG_H -I. 
-I. -I..   -isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include  
-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include 
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os 
-fpermissive -fvisibility-inlines-hidden -MT SerialStreamBuf.lo -MD -MP -MF 
".deps/SerialStreamBuf.Tpo" -c -o SerialStreamBuf.lo SerialStreamBuf.cc; \
        then mv -f ".deps/SerialStreamBuf.Tpo" ".deps/SerialStreamBuf.Plo"; 
else rm -f ".deps/SerialStreamBuf.Tpo"; exit 1; fi
 ccache arm-angstrom-linux-gnueabi-g++ -march=armv4t -mtune=arm920t 
-DHAVE_CONFIG_H -I. -I. -I.. 
-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include 
-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include 
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os 
-fpermissive -fvisibility-inlines-hidden -MT SerialStreamBuf.lo -MD -MP -MF 
.deps/SerialStreamBuf.Tpo -c SerialStreamBuf.cc  -fPIC -DPIC -o 
.libs/SerialStreamBuf.o
SerialStreamBuf.cc:1:20: error: iostream: No such file or directory
SerialStreamBuf.cc:6:19: error: cassert: No such file or directory
SerialStreamBuf.cc:7:19: error: fstream: No such file or directory
In file included from SerialStreamBuf.cc:9:
SerialStreamBuf.h:13:18: error: iosfwd: No such file or directory
SerialStreamBuf.h:14:21: error: streambuf: No such file or directory
SerialStreamBuf.h:15:18: error: string: No such file or directory
SerialStreamBuf.h:36: error: expected class-name before '{' token
SerialStreamBuf.h:234: error: expected unqualified-id before 'filename'
SerialStreamBuf.h:234: error: expected ',' or '...' before 'filename'
SerialStreamBuf.h:236: warning: ISO C++ forbids declaration of 'parameter' with 
no type
SerialStreamBuf.h:398: warning: ISO C++ forbids declaration of 'streambuf' with 
no type
SerialStreamBuf.h:398: error: invalid use of '::'
SerialStreamBuf.h:398: error: expected ';' before '*' token
SerialStreamBuf.h:407: error: 'streamsize' in namespace 'std' does not name a 
type
SerialStreamBuf.h:419: error: 'streamsize' in namespace 'std' does not name a 
type
SerialStreamBuf.h:428: error: 'int_type' does not name a type
SerialStreamBuf.h:438: error: 'int_type' does not name a type
SerialStreamBuf.h:446: error: 'int_type' does not name a type
SerialStreamBuf.h:454: error: 'streamsize' in namespace 'std' does not name a 
type
SerialStreamBuf.h:462: error: 'int_type' does not name a type
SerialStreamBuf.h: In constructor 
'LibSerial::SerialStreamBuf::SerialStreamBuf()':
SerialStreamBuf.h:504: error: 'setbuf' was not declared in this scope
SerialStreamBuf.h: At global scope:
SerialStreamBuf.h:525: error: expected initializer before '*' token
SerialStreamBuf.h:563: error: 'std::streambuf' has not been declared
SerialStreamBuf.h:564: error: expected initializer before 'SerialStreamBuf'
SerialStreamBuf.cc:40: error: expected ',' or '...' before 'filename'
SerialStreamBuf.cc:41: warning: ISO C++ forbids declaration of 'string' with no 
type
SerialStreamBuf.cc: In member function 'LibSerial::SerialStreamBuf* 
LibSerial::SerialStreamBuf::open(int)':
SerialStreamBuf.cc:55: error: 'mode' was not declared in this scope
SerialStreamBuf.cc:55: error: 'ios_base' has not been declared
SerialStreamBuf.cc:55: error: 'ios_base' has not been declared
SerialStreamBuf.cc:57: error: 'ios_base' has not been declared
SerialStreamBuf.cc:59: error: 'ios_base' has not been declared
SerialStreamBuf.cc:86: error: 'filename' was not declared in this scope
SerialStreamBuf.cc: In member function 'int 
LibSerial::SerialStreamBuf::SetParametersToDefault()':
SerialStreamBuf.cc:171: error: 'bzero' was not declared in this scope
SerialStreamBuf.cc: In member function 'const 
LibSerial::SerialStreamBuf::BaudRateEnum LibSerial::SerialStreamBuf::BaudRate() 
const':
SerialStreamBuf.cc:356: error: 'assert' was not declared in this scope
SerialStreamBuf.cc: At global scope:
SerialStreamBuf.cc:738: error: 'streamsize' does not name a type
SerialStreamBuf.cc:811: error: 'streamsize' in namespace 'std' does not name a 
type
SerialStreamBuf.cc:853: error: 'streambuf' has not been declared
SerialStreamBuf.cc:854: error: expected constructor, destructor, or type 
conversion before 'SerialStreamBuf'
SerialStreamBuf.cc:912: error: 'streambuf' has not been declared
SerialStreamBuf.cc:913: error: expected constructor, destructor, or type 
conversion before 'SerialStreamBuf'
SerialStreamBuf.cc:944: error: 'streamsize' does not name a type
SerialStreamBuf.cc:972: error: 'streambuf' has not been declared
SerialStreamBuf.cc:973: error: expected constructor, destructor, or type 
conversion before 'SerialStreamBuf'
make[2]: *** [SerialStreamBuf.lo] Fehler 1
make[2]: Verlasse Verzeichnis '/tmp/libserial-0.5.2/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/tmp/libserial-0.5.2'
make: *** [all] Fehler 2
_______________________________________________
support mailing list
[email protected]
https://lists.openmoko.org/mailman/listinfo/support

Reply via email to