Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error with Centos 6.3 gcc 4.4.6 #437

Closed
Chedi opened this issue Sep 26, 2012 · 1 comment
Closed

Compilation error with Centos 6.3 gcc 4.4.6 #437

Chedi opened this issue Sep 26, 2012 · 1 comment

Comments

@Chedi
Copy link

Chedi commented Sep 26, 2012

Hi,

I got this error while compiling on Centos 6.3:

g++ -o extractor.o -c -minline-all-stringops -fopenmp -O3 -DNDEBUG -I/home/osm/stxxl-1.3.1/include -I/usr/include -I/usr/include/include -I/usr/include/libxml2 -I-lluabind extractor.cpp
extractor.cpp: In function 'int main(int, char**)':
extractor.cpp:135: error: no matching function for call to 'luabind::class_<_Way, luabind::detail::unspecified, luabind::detail::unspecified, luabind::detail::unspecified>::def_readwrite(const char [10], _Way::<anonymous enum> _Way::*)'
scons: *** [extractor.o] Error 1
scons: building terminated because of errors.

I cannot switch to ubunto, so this has to work with this config:
centos 6.3
gcc-4.4.6-4.el6.x86_64
luabind-0.9.1
stxxl-1.3.1
boost (svn rev 80703)

@DennisOSRM
Copy link
Collaborator

GCC is the problem here. It seems that GCC versions <= 4.5 have trouble compiling the code. Unfortunately there is no easy fix other than to upgrade thej compiler to a more recent version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants