google-code-export / oregoncore

Automatically exported from code.google.com/p/oregoncore
GNU General Public License v2.0
1 stars 0 forks source link

Outdated GCC compile issue #365

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
*LAST or LATEST is NOT a valid revision-number, use hg tip or check in
Tortoise to find your Revision-ID
*Before posting an issue read http://is.gd/hTVFL
if you are using a build older than 100 revs from tip please update to tip
before reporting an issue*

What steps will reproduce the problem?
1. Need freebsd
2. compile
3. You will see the following errors

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

cd /root/server/oregoncore/build/dep/src/g3dlite && /usr/bin/c++   
-D_BUILD_DIRECTIVE=\"Release\" -DSCRIPTS -O3 -DNDEBUG 
-I/root/server/oregoncore/dep/include/g3dlite   -fno-delete-null-pointer-checks 
--no-warnings -o CMakeFiles/g3dlite.dir/Plane.cpp.o -c 
/root/server/oregoncore/dep/src/g3dlite/Plane.cpp
/usr/include/c++/4.2/ext/hashtable.h: In member function 'size_t 
__gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, 
_Alloc>::_M_bkt_num_key(const _Key&, size_t) const [with _Val = std::pair<const 
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, 
VMAP::ManagedModel>, _Key = std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, _HashFcn = __gnu_cxx::hash<std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >, _ExtractKey = 
std::_Select1st<std::pair<const std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, VMAP::ManagedModel> >, _EqualKey = 
std::equal_to<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > >, _Alloc = std::allocator<VMAP::ManagedModel>]':
/usr/include/c++/4.2/ext/hashtable.h:587:   instantiated from 'size_t 
__gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, 
_Alloc>::_M_bkt_num_key(const _Key&) const [with _Val = std::pair<const 
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, 
VMAP::ManagedModel>, _Key = std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, _HashFcn = __gnu_cxx::hash<std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >, _ExtractKey = 
std::_Select1st<std::pair<const std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, VMAP::ManagedModel> >, _EqualKey = 
std::equal_to<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > >, _Alloc = std::allocator<VMAP::ManagedModel>]'
/usr/include/c++/4.2/ext/hashtable.h:591:   instantiated from 'size_t 
__gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, 
_Alloc>::_M_bkt_num(const _Val&) const [with _Val = std::pair<const 
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, 
VMAP::ManagedModel>, _Key = std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, _HashFcn = __gnu_cxx::hash<std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >, _ExtractKey = 
std::_Select1st<std::pair<const std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, VMAP::ManagedModel> >, _EqualKey = 
std::equal_to<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > >, _Alloc = std::allocator<VMAP::ManagedModel>]'
/usr/include/c++/4.2/ext/hashtable.h:645:   instantiated from 
'__gnu_cxx::_Hashtable_iterator<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, 
_Alloc>& __gnu_cxx::_Hashtable_iterator<_Val, _Key, _HashFcn, _ExtractKey, 
_EqualKey, _Alloc>::operator++() [with _Val = std::pair<const 
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, 
VMAP::ManagedModel>, _Key = std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, _HashFcn = __gnu_cxx::hash<std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >, _ExtractKey = 
std::_Select1st<std::pair<const std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, VMAP::ManagedModel> >, _EqualKey = 
std::equal_to<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > >, _Alloc = std::allocator<VMAP::ManagedModel>]'
/root/server/oregoncore/src/collision/VMapManager2.cpp:47:   instantiated from 
here
/usr/include/c++/4.2/ext/hashtable.h:595: error: no match for call to '(const 
__gnu_cxx::hash<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > >) (const std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >&)'
gmake[2]: *** [src/collision/CMakeFiles/collision.dir/VMapManager2.cpp.o] Error 
1
gmake[2]: Leaving directory `/root/server/oregoncore/build'
gmake[1]: *** [src/collision/CMakeFiles/collision.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....

What revision of the Core are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by vent73...@gmail.com on 31 Dec 2010 at 9:36

GoogleCodeExporter commented 9 years ago
Compile issues are related to g3dlite. TC2 has the same issues as the g3d code 
has some known problems with compile on some distributions (debain works 
though).

Original comment by stfxm...@gmail.com on 2 Jan 2011 at 9:04

GoogleCodeExporter commented 9 years ago
Well. Made a small correction:) Commit a link which is below, repairing 
compilation.
http://code.google.com/p/trinitycore/source/detail?r=88d802a168e0d3aec28b52f3cf7
0e873b0532793

Original comment by vent73...@gmail.com on 11 Jan 2011 at 12:25

GoogleCodeExporter commented 9 years ago
Thanks vent73rus. Fixed as of: 
http://code.google.com/p/oregoncore/source/detail?r=b9b9af31a58e6dd33b04d35925bb
6bea888cda8c

Original comment by stfxm...@gmail.com on 11 Jan 2011 at 5:17