compilation problems

Abraham Leon abraham.leon@gmail.com
Fri Feb 24 12:40:00 GMT 2006


Hello,
I got the following when trying to compile a *.cpp with the following 
includes:

Aria.h (ActivMedia Robotics Interface for Applications (ARIA))
matrix.h (Matrix TCL Lite v1.13)

============================================================
clear; make clean; make
test -z "kdev_helenaonline" || rm -f kdev_helenaonline
rm -rf .libs _libs
rm -f *.o core *.core
rm -f *.o
rm -f *.lo
g++ -DHAVE_CONFIG_H -I. -I/home/catix/_pfc/test/kdev_helenaonline/src 
-I..   -I/usr/local/Aria/include -D_REENTRANT  -O0 -g3 -c 
/home/catix/_pfc/test/kdev_helenaonline/src/HelenaOnline.cpp
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_bvector.h: 
In member function 'void std::vector<bool, 
_Alloc>::_M_insert_range(std::_Bit_iterator, _ForwardIterator, 
_ForwardIterator, std::forward_iterator_tag)':
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_bvector.h:542: 
error: expected unqualified-id before '(' token
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_bvector.h: 
In member function 'void std::vector<bool, 
_Alloc>::_M_fill_insert(std::_Bit_iterator, size_t, bool)':
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_bvector.h:889: 
error: expected unqualified-id before '(' token
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/vector.tcc: 
In member function 'void std::vector<_Tp, 
_Alloc>::_M_fill_insert(__gnu_cxx::__normal_iterator<typename 
_Alloc::pointer, std::vector<_Tp, _Alloc> >, size_t, const _Tp&)':
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/vector.tcc:353: 
error: expected unqualified-id before '(' token
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/vector.tcc: 
In member function 'void std::vector<_Tp, 
_Alloc>::_M_range_insert(__gnu_cxx::__normal_iterator<typename 
_Alloc::pointer, std::vector<_Tp, _Alloc> >, _ForwardIterator, 
_ForwardIterator, std::forward_iterator_tag)':
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/vector.tcc:452: 
error: expected unqualified-id before '(' token
make: *** [HelenaOnline.o] Error 1
============================================================

please, could you help me to solve that problem?

thank you for your attention, regards

Abraham León García
IRI, Institut de Robòtica i Informàtica Industrial
Parc Tecnològic de Barcelona - Edifici U
C/Llorens i Artigas 4-6, 2 planta, 08028 Barcelona, Spain Phone: +34 
934015791     Fax  : +34 934015750    http://www-iri.upc.es



More information about the Gcc-help mailing list