What's new

Inne Kompilacja debian 9

Czopeq

Advanced User
Joined
Jun 29, 2015
Messages
191
Reaction score
6
Hello mam problem z kompilacj? otx2 8.6x na debianie 9 ;o
Wcze?niej nie przechodzi?a mi nawet konfiguracja.. pokombinowa?em troszeczk? i przesz?o, ale teraz przy budowaniu.. b??d openssl ;-;
[CPP]otserv.cpp: In function ‘void otserv(StringVec, ServiceManager*)’:
otserv.cpp:613:18: error: invalid use of incomplete type ‘RSA {aka struct rsa_st }’
BN_dec2bn(&g_RSA->p, g_config.getString(ConfigManager::RSA_PRIME1).c_str());
^~
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka s truct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:614:18: error: invalid use of incomplete type ‘RSA {aka struct rsa_st }’
BN_dec2bn(&g_RSA->q, g_config.getString(ConfigManager::RSA_PRIME2).c_str());
^~
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka s truct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:615:18: error: invalid use of incomplete type ‘RSA {aka struct rsa_st }’
BN_dec2bn(&g_RSA->d, g_config.getString(ConfigManager::RSA_PRIVATE).c_str());
^~
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka s truct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:616:18: error: invalid use of incomplete type ‘RSA {aka struct rsa_st }’
BN_dec2bn(&g_RSA->n, g_config.getString(ConfigManager::RSA_MODULUS).c_str());
^~
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka s truct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:617:18: error: invalid use of incomplete type ‘RSA {aka struct rsa_st }’
BN_dec2bn(&g_RSA->e, g_config.getString(ConfigManager::RSA_PUBLIC).c_str());
^~
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka s truct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
In file included from /usr/include/openssl/asn1.h:24:0,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
otserv.cpp:627:15: error: invalid use of incomplete type ‘RSA {aka struct rsa_st }’
BN_mod(g_RSA->dmp1, g_RSA->d, r1, ctx);
^
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka s truct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
In file included from /usr/include/openssl/asn1.h:24:0,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
otserv.cpp:627:28: error: invalid use of incomplete type ‘RSA {aka struct rsa_st }’
BN_mod(g_RSA->dmp1, g_RSA->d, r1, ctx);
^
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka s truct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
In file included from /usr/include/openssl/asn1.h:24:0,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
otserv.cpp:628:15: error: invalid use of incomplete type ‘RSA {aka struct rsa_st }’
BN_mod(g_RSA->dmq1, g_RSA->d, r2, ctx);
^
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka s truct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
In file included from /usr/include/openssl/asn1.h:24:0,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
otserv.cpp:628:28: error: invalid use of incomplete type ‘RSA {aka struct rsa_st }’
BN_mod(g_RSA->dmq1, g_RSA->d, r2, ctx);
^
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka s truct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:630:23: error: invalid use of incomplete type ‘RSA {aka struct rsa_st }’
BN_mod_inverse(g_RSA->iqmp, g_RSA->q, g_RSA->p, ctx);
^~
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka s truct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:630:36: error: invalid use of incomplete type ‘RSA {aka struct rsa_st }’
BN_mod_inverse(g_RSA->iqmp, g_RSA->q, g_RSA->p, ctx);
^~
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka s truct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:630:46: error: invalid use of incomplete type ‘RSA {aka struct rsa_st }’
BN_mod_inverse(g_RSA->iqmp, g_RSA->q, g_RSA->p, ctx);
^~
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka s truct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:687:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(result = db->storeQuery(query.str()))
^
otserv.cpp:697:57: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(result_ = db->storeQuery(query_playeritems.str()))
^
otserv.cpp:716:62: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(result_ = db->storeQuery(query_playerdepotitems.str()))
^
otserv.cpp:735:55: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(result_ = db->storeQuery(query_tileitems.str()))
^
Makefile:567: recipe for target 'otserv.o' failed
make[1]: *** [otserv.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/srv/otx8_6/sources'
Makefile:418: recipe for target 'all' failed
make: *** [all] Error 2
[/CPP]
U?ywa?em tych komend:
Code:
./autogen.sh && ./configure --enable-sqlite --enable-mysql --enable-root-permission --enable-server-diag && ./build.sh

Do lib?w nie jestem pewien, ale lecia?o prawie wszystko :tongue:
To mia?em zapisane.
Code:
apt-get install git subversion autoconf build-essential pkg-config libboost-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libmariadbclient-dev ccache libboost-filesystem-dev libboost-regex-dev libboost-system-dev libboost-thread-dev screen libssl-dev libsqlite3-dev sqlite mariadb-server mariadb-server-10.1
Jaki? pro tip jak to zrobi?? :/
otx3 nie chc? bo jako? mi nie le?y, wola?bym otx2.
 

Czopeq

Advanced User
Joined
Jun 29, 2015
Messages
191
Reaction score
6
Odp: Kompilacja debian 9

BUMP

Mog? jeszcze przej?? na systemy kt?re s? w za??czniku.
 

Attachments

  • vps.png
    vps.png
    5.8 KB · Views: 0

KadreZ

Advanced User
Joined
Aug 18, 2015
Messages
443
Reaction score
6
Odp: Kompilacja debian 9

wzywam Glombersika! xD
 
Top