|
Boost : |
From: Madan Revoor (madangopal_at_[hidden])
Date: 2007-02-21 08:44:08
Hi,
I'm trying to build the boost serialization library for the embedded MIPS
platform (Everex RedHat) using the provided mipsel-linux gcc cross compiler
on a standard desktop (RedHat 9).
I can build it comfortably using gcc on the desktop but nothing works when I
use the mipsel-linux gcc cross compiler.
Here is what I tried....
/usr/local/mipsel-linux/g++ -I /usr/local/include/boost-1_33_1 -c
basic_iarchive.cpp
In file included from
/usr/local/include/boost-1_33_1/boost/type_traits/has_trivial_copy.hpp:14,
from
/usr/local/include/boost-1_33_1/boost/type_traits/has_nothrow_copy.hpp:12,
from
/usr/local/include/boost-1_33_1/boost/state_saver.hpp:32,
from basic_iarchive.cpp:30:
/usr/local/include/boost-1_33_1/boost/type_traits/is_volatile.hpp:43: parse
error before `*' token
In file included from
/usr/local/include/boost-1_33_1/boost/type_traits/is_enum.hpp:17,
from
/usr/local/include/boost-1_33_1/boost/type_traits/is_scalar.hpp:13,
from
/usr/local/include/boost-1_33_1/boost/type_traits/is_pod.hpp:14,
from
/usr/local/include/boost-1_33_1/boost/type_traits/has_trivial_copy.hpp:15,
from
/usr/local/include/boost-1_33_1/boost/type_traits/has_nothrow_copy.hpp:12,
from
/usr/local/include/boost-1_33_1/boost/state_saver.hpp:32,
from basic_iarchive.cpp:30:
/usr/local/include/boost-1_33_1/boost/type_traits/is_convertible.hpp:119:
ISO
C++ forbids declaration of `no_type' with no type
/usr/local/include/boost-1_33_1/boost/type_traits/is_convertible.hpp:119:
invalid
use of `::'
/usr/local/include/boost-1_33_1/boost/type_traits/is_convertible.hpp:119:
parse
error before `(' token
/usr/local/include/boost-1_33_1/boost/type_traits/is_convertible.hpp:120:
ISO
C++ forbids declaration of `yes_type' with no type
/usr/local/include/boost-1_33_1/boost/type_traits/is_convertible.hpp:120:
invalid
use of `::'
/usr/local/include/boost-1_33_1/boost/type_traits/is_convertible.hpp:120:
parse
error before `(' token
/usr/local/include/boost-1_33_1/boost/type_traits/is_convertible.hpp:228:
parse
error before `,' token
/usr/local/include/boost-1_33_1/boost/type_traits/is_convertible.hpp:348:
parse
error before `,' token
/usr/local/include/boost-1_33_1/boost/type_traits/is_convertible.hpp:348:
template
argument 2 is invalid
In file included from
/usr/local/include/boost-1_33_1/boost/type_traits/is_enum.hpp:20,
from
/usr/local/include/boost-1_33_1/boost/type_traits/is_scalar.hpp:13,
from
/usr/local/include/boost-1_33_1/boost/type_traits/is_pod.hpp:14,
from
/usr/local/include/boost-1_33_1/boost/type_traits/has_trivial_copy.hpp:15,
from
/usr/local/include/boost-1_33_1/boost/type_traits/has_nothrow_copy.hpp:12,
from
/usr/local/include/boost-1_33_1/boost/state_saver.hpp:32,
from basic_iarchive.cpp:30:
/usr/local/include/boost-1_33_1/boost/type_traits/is_function.hpp:41:
`false_result'
is not a class or namespace
Any help would be appreciated. I need serialization on the embedded linux
badly.
Thanks.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk