Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Core: Fix warnings. Make callback symbols local.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
linux compile error
[ 9%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Cryptography/BigNumber.cpp.o
/home/compil/src/server/shared/Cryptography/BigNumber.cpp: In member function ‘ACE_Auto_Array_Ptr BigNumber::AsByteArray(int32, bool)’:
/home/compil/src/server/shared/Cryptography/BigNumber.cpp:189:43: error: no matching function for call to ‘ACE_Auto_Array_Ptr::ACE_Auto_Array_Ptr(ACE_Auto_Array_Ptr)’
/home/compil/src/server/shared/Cryptography/BigNumber.cpp:189:43: note: candidate is:
In file included from /usr/local/include/ace/Service_Gestalt.h:25:0,
from /usr/local/include/ace/Service_Object.h:27,
from /usr/local/include/ace/Task.h:17,
from /home/compil/src/server/shared/Logging/LogWorker.h:23,
from /home/compil/src/server/shared/Logging/Log.h:24,
from PrecompiledHeaders/sharedPCH.h:4:
/usr/local/include/ace/Auto_Ptr.h:168:7: note: ACE_Auto_Array_Ptr::ACE_Auto_Array_Ptr(ACE_Auto_Array_Ptr&)
/usr/local/include/ace/Auto_Ptr.h:168:7: note: no known conversion for argument 1 from ‘ACE_Auto_Array_Ptr’ to ‘ACE_Auto_Array_Ptr&’
make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Cryptography/BigNumber.cpp.o] Ошибка 1
make[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Ошибка 2
make: *** [all] Ошибка 2
root@tdog:/home/compil#
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have re-run cmake?
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes , does not compile
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And you use openssl 1.0.0?
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here.. openssl 1.0.1
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
openssl_0.9.8
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now TC NEEDS Openssl 1.0.0 minimum, we are looking for a fix with linux and 1.0.0 and >
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aokromes, ок thank you
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm getting this error as well,
src/server/shared/Cryptography/BigNumber.cpp: In member function 'ACE_Auto_Array_Ptr BigNumber::AsByteArray(int32, bool)':
src/server/shared/Cryptography/BigNumber.cpp:189:43: error: no matching function for call to 'ACE_Auto_Array_Ptr::ACE_Auto_Array_Ptr(ACE_Auto_Array_Ptr)'
src/server/shared/Cryptography/BigNumber.cpp:189:43: note: candidate is:
/usr/local/include/ace/Auto_Ptr.h:170:7: note: ACE_Auto_Array_Ptr::ACE_Auto_Array_Ptr(ACE_Auto_Array_Ptr&)
/usr/local/include/ace/Auto_Ptr.h:170:7: note: no known conversion for argument 1 from 'ACE_Auto_Array_Ptr' to 'ACE_Auto_Array_Ptr&'
make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Cryptography/BigNumber.cpp.o] Error 1
make[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Error 2
make: *** [all] Error 2
I think my OpenSSL version is up-to date:
$ openssl version
OpenSSL 1.0.1 14 Mar 2012
Is this due to an outdated ACE install?
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When my server starts it says:
Using SSL version: OpenSSL 1.0.1e 11 Feb 2013 (library: OpenSSL 1.0.1c 10 May 2012)
What does it mean? What version do I have? I am using ubuntu server 64bit and installed update manually with make and make install ...
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using SSL version: OpenSSL 1.0.1e 11 Feb 2013 (library: OpenSSL 1.0.1c 10 May 2012)
Using ACE version: 6.2.1
http://pastebin.com/f16AYKKD
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like aproblem with ACE library - try updating.
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
6.2.1 is the latest ..
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried ACE6.2.1, 6.2.0, 6.0.3 .. all same error (in BigNumber.cpp:189) while compiling
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same problem Ubuntu 13.04 + gcc 4.7.3. Tested ACE 6.0.3 and 6.2.0
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using ACE version 6.0.3 os debian 7 x64 openssl 1.0.1c problem compile error (in BigNumber.cpp:189)
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, this is awkward.
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
http://paste2.org/cNdGHnG2
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try out the patch i've posted, this is definitely not an outdated ace issue, sorry for the inconvenience.
0513d9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dedeb5f guys.