PortaLib fails to build
I am trying to build PortaLib 0.3.0 from source and (after adding "using namespace std;" to mmgr.cpp to get rid of some C++ errors related to new_handler), I get the following error:
c++ -DHAVE_CONFIG_H -I. -I. -I.. -march=pentium -mcpu=pentiumpro -O6 -DNDEBUG -fexpensive-optimizations -DUSE_LIBPNG -Wall -Werror -Wno-deprecated -c EventGenerator.cpp
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from /usr/include/math.h:70,
from pl3d.h:63,
from EventGenerator.cpp:17:
/usr/include/bits/mathcalls.h:310: error: expected unqualified-id before "int"
/usr/include/bits/mathcalls.h:310: error: expected `)' before "int"
I am building on Gentoo with the 2.6 kernel running, gcc version 3.4.6, and make version 3.8.
Does anyone know what's up?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement