Toolchain add library "libserial"

macebre macebre at web.de
Thu Oct 30 13:01:07 CET 2008


On Thursday 30 October 2008 11:50:11 Joachim Ott wrote:
> 2008/10/30 macebre <macebre at web.de>
>
> > 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<https://lists.openmoko.org/mailman/listinfo/support
> >>
>
> It cannot find the c++ include files,  and I think it's because the
> include-path is misconfigured. Can you edit the Makefile and change the
> directive
>
> -isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include
>
> to this:
>
> -i/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include
>
Thanks,

that brought me to the solution..(it didn't work with the small -i)
then I set CCPFLAGS to:
CPPFLAGS= "-I/usr/local/openmoko/arm/arm-angstrom-linux-
gnueabi/usr/include/c++/4.1.2/arm-angstrom-linux-gnueabi -
I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/c++/4.1.2 -
I/usr/local/openmoko/arm/arm-angstrom-linux-
gnueabi/usr/include/c++/4.1.2/backward"

so all c++ includes will be found and mad another makefile with 

./configure --host=arm-angstrom-linux-gnueabi --
prefix=/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr

then 
make
make install

and it worked.

anyway it would be nice if somebody could add this library to the 
http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv4t/base
Repository

mat
> and try make once more?




More information about the support mailing list