Error installing in Gentoo

I downloaded panda-1.7.0 from main website but it failed. This problem has been solved [url][SOLVED] Installation problem on Gentoo Linux].
I’ll try the one available at sourceforge once it is fixed.

Jaguareins panda # make && make install
cd ./src/pandabase && make all
make[1]: Entering directory `/opt/panda3d-1.7.0/panda/src/pandabase'
g++ -ftemplate-depth-30  -c -o Opt3-Linux/pandabase_pandabase.o -I. -I/opt/panda3d-1.7.0/panda -I/usr/local/panda/include    -g -O2 -fPIC pandabase.cxx
g++ -shared  -o Opt3-Linux/libpandabase.so Opt3-Linux/pandabase_pandabase.o  -L/usr/local/panda/lib -L/usr/local/panda/lib -linterrogatedb -ldconfig -ldtoolutil -ldtoolbase -lprc
make[1]: Leaving directory `/opt/panda3d-1.7.0/panda/src/pandabase'
cd ./src/express && make all
make[1]: Entering directory `/opt/panda3d-1.7.0/panda/src/express'
gcc   -c -o Opt3-Linux/express_ca_bundle_data_src.o -I. -I/opt/panda3d-1.7.0/panda -I../pandabase -I/usr/local/panda/include    -g -O2 -fPIC ca_bundle_data_src.c
g++ -ftemplate-depth-30  -c -o Opt3-Linux/express_express_composite1.o -I. -I/opt/panda3d-1.7.0/panda -I../pandabase -I/usr/local/panda/include    -g -O2 -fPIC express_composite1.cxx
In file included from virtualFileMountMultifile.h:21,
                 from config_express.cxx:25,
                 from express_composite1.cxx:3:
multifile.h:103: error: 'STACK' has not been declared
In file included from express_composite1.cxx:19:
multifile.cxx:806: error: 'STACK' has not been declared
multifile.cxx: In member function 'bool Multifile::add_signature(X509*, int*, EVP_PKEY*)':
multifile.cxx:812: error: cannot convert 'int*' to 'const _STACK*' for argument '1' to 'int sk_num(const _STACK*)'
multifile.cxx:814: error: cannot convert 'int*' to 'const _STACK*' for argument '1' to 'void* sk_value(const _STACK*, int)'
multifile.cxx: In member function 'int Multifile::validate_signature_certificate(int) const':
multifile.cxx:1134: error: 'STACK' was not declared in this scope
multifile.cxx:1134: error: 'stack' was not declared in this scope
make[1]: *** [Opt3-Linux/express_express_composite1.o] Error 1
make[1]: Leaving directory `/opt/panda3d-1.7.0/panda/src/express'
make: *** [express] Error 2

Thanks