I’m attempting to install Panda3D on Gentoo, but I am receiving a compilation error early on.
[ 7%] Building C++ object built/tmp/express_composite1.o
In file included from panda/src/express/virtualFileMountMultifile.h:21,
from panda/src/express/config_express.cxx:25,
from panda/src/express/express_composite1.cxx:3:
panda/src/express/multifile.h:103: error: ‘STACK’ has not been declared
In file included from panda/src/express/express_composite1.cxx:19:
panda/src/express/multifile.cxx:806: error: ‘STACK’ has not been declared
panda/src/express/multifile.cxx: In member function ‘bool Multifile::add_signature(X509*, int*, EVP_PKEY*)’:
panda/src/express/multifile.cxx:812: error: cannot convert ‘int*’ to ‘const _STACK*’ for argument ‘1’ to ‘int sk_num(const _STACK*)’
panda/src/express/multifile.cxx:814: error: cannot convert ‘int*’ to ‘const _STACK*’ for argument ‘1’ to ‘void* sk_value(const _STACK*, int)’
panda/src/express/multifile.cxx: In member function ‘int Multifile::validate_signature_certificate(int) const’:
panda/src/express/multifile.cxx:1134: error: ‘STACK’ was not declared in this scope
panda/src/express/multifile.cxx:1134: error: ‘stack’ was not declared in this scope
My thought is that maybe it has something to do with the version of GCC it is using to build with (gcc-4.4.3), but I am unaware of what versions are supported for the build.
If not that, does anyone know what the problem would be?