Compiling error [Arch]


#1

I use command: python makepanda/makepanda.py --everything --no-artoolkit --no-fcollada --no-fftw --no-fmodex --no-ode --no-vrpn --no-opencv --no-rocket --no-xf86dga
All libs installed

[bakalavr@green panda3d-1.9.4]$ python makepanda/makepanda.py --everything --no-artoolkit --no-fcollada --no-fftw --no-fmodex --no-ode --no-vrpn --no-opencv --no-rocket --no-xf86dga
/bin/sh: rpm: команда не найдена
/bin/sh: rpm: команда не найдена
Version: 1.9.4
Generating dependencies...
[  0%] Building C++ object built/tmp/p3dtoolbase_composite1.o
[  0%] Building C++ object built/tmp/p3dtoolbase_composite2.o
[  0%] Building C object built/tmp/p3dtoolbase_lookup3.o
[  0%] Building C++ object built/tmp/p3dtoolbase_indent.o
[  0%] Building C++ object built/tmp/p3dtoolutil_composite1.o
[  0%] Building C++ object built/tmp/p3dtoolutil_composite2.o
[  1%] Linking dynamic library built/lib/libp3dtool.so
built/tmp/p3dtoolutil_composite1.o: In function `Filename::temporary(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Filename::Type)':
p3dtoolutil_composite1.cxx:(.text+0x5615): warning: the use of `tempnam' is dangerous, better use `mkstemp'
[  1%] Building Bison object built/tmp/p3cppParser_cppBison.o
dtool/src/cppparser/cppBison.yxx:198.1-12: warning: deprecated directive, use '%pure-parser' [-Wdeprecated]
 %pure_parser
 ^^^^^^^^^^^^
[  1%] Building C++ object built/tmp/p3cppParser_composite1.o
[  2%] Building C++ object built/tmp/p3cppParser_composite2.o
[  2%] Linking static library built/tmp/libp3cppParser.a
ar: `u' modifier ignored since `D' is the default (see `U')
[  2%] Building C++ object built/tmp/p3prc_composite1.o
In file included from dtool/src/prc/encryptStream.h:23:0,
                 from dtool/src/prc/configPage.cxx:21,
                 from dtool/src/prc/p3prc_composite1.cxx:5:
dtool/src/prc/encryptStreamBuf.h:71:18: error: field '_read_ctx' has incomplete type 'EVP_CIPHER_CTX {aka evp_cipher_ctx_st}'
   EVP_CIPHER_CTX _read_ctx;
                  ^~~~~~~~~
In file included from /usr/local/include/openssl/evp.h:14:0,
                 from dtool/src/prc/prcKeyRegistry.h:27,
                 from dtool/src/prc/configPage.cxx:19,
                 from dtool/src/prc/p3prc_composite1.cxx:5:
/usr/local/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}'
 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
                ^~~~~~~~~~~~~~~~~
In file included from dtool/src/prc/encryptStream.h:23:0,
                 from dtool/src/prc/configPage.cxx:21,
                 from dtool/src/prc/p3prc_composite1.cxx:5:
dtool/src/prc/encryptStreamBuf.h:77:18: error: field '_write_ctx' has incomplete type 'EVP_CIPHER_CTX {aka evp_cipher_ctx_st}'
   EVP_CIPHER_CTX _write_ctx;
                  ^~~~~~~~~~
In file included from /usr/local/include/openssl/evp.h:14:0,
                 from dtool/src/prc/prcKeyRegistry.h:27,
                 from dtool/src/prc/configPage.cxx:19,
                 from dtool/src/prc/p3prc_composite1.cxx:5:
/usr/local/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}'
 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
                ^~~~~~~~~~~~~~~~~
In file included from dtool/src/prc/p3prc_composite1.cxx:5:0:
dtool/src/prc/configPage.cxx: In member function 'bool ConfigPage::read_prc(std::istream&)':
dtool/src/prc/configPage.cxx:160:17: error: invalid use of incomplete type 'EVP_MD_CTX {aka struct evp_md_ctx_st}'
   _md_ctx = new EVP_MD_CTX;
                 ^~~~~~~~~~
In file included from /usr/local/include/openssl/evp.h:14:0,
                 from dtool/src/prc/prcKeyRegistry.h:27,
                 from dtool/src/prc/configPage.cxx:19,
                 from dtool/src/prc/p3prc_composite1.cxx:5:
/usr/local/include/openssl/ossl_typ.h:92:16: note: forward declaration of 'EVP_MD_CTX {aka struct evp_md_ctx_st}'
 typedef struct evp_md_ctx_st EVP_MD_CTX;
                ^~~~~~~~~~~~~
In file included from dtool/src/prc/p3prc_composite1.cxx:5:0:
dtool/src/prc/configPage.cxx:240:24: warning: possible problem detected in invocation of delete operator: [-Wdelete-incomplete]
   delete (EVP_MD_CTX *)_md_ctx;
                        ^~~~~~~
dtool/src/prc/configPage.cxx:240:10: warning: invalid use of incomplete type 'struct evp_md_ctx_st'
   delete (EVP_MD_CTX *)_md_ctx;
          ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/openssl/evp.h:14:0,
                 from dtool/src/prc/prcKeyRegistry.h:27,
                 from dtool/src/prc/configPage.cxx:19,
                 from dtool/src/prc/p3prc_composite1.cxx:5:
/usr/local/include/openssl/ossl_typ.h:92:16: note: forward declaration of 'struct evp_md_ctx_st'
 typedef struct evp_md_ctx_st EVP_MD_CTX;
                ^~~~~~~~~~~~~
In file included from dtool/src/prc/p3prc_composite1.cxx:5:0:
dtool/src/prc/configPage.cxx:240:24: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined
   delete (EVP_MD_CTX *)_md_ctx;
                        ^~~~~~~
Storing dependency cache.
Elapsed Time: 36 sec
The following command returned a non-zero value: g++ -ftemplate-depth-70 -fPIC -c -o built/tmp/p3prc_composite1.o -Ibuilt/tmp -Ibuilt/include -I/usr/include/python3.6m -I/usr/local/include/eigen3 -I/usr/local/include -DEIGEN_MPL2_ONLY= -DEIGEN_NO_DEBUG= -Idtool/src/prc -pthread -fno-exceptions -msse2 -ffast-math -fno-finite-math-only -O2 -DBUILDING_DTOOLCONFIG dtool/src/prc/p3prc_composite1.cxx
Build terminated.

#2

1.9.x is not compatible with the latest version of OpenSSL. Please get the latest version of the source from GitHub instead:

github.com/panda3d/panda3d