Jump to content

Make error [Two]


Recommended Posts

Posted

So I just ran an update on server two and everything goes well until I try to run the "make". This is on a Linux system. This is the first time I had an issue. My last working build was done on march 29th.

/home/tim/mangos/server/dep/ACE_wrappers/ace/SSL/SSL_Context.cpp: In member function ‘int ACE_SSL_Context::set_mode(int)’:

/home/tim/mangos/server/dep/ACE_wrappers/ace/SSL/SSL_Context.cpp:244:16: error: ‘::SSLv2_client_method’ has not been declared

/home/tim/mangos/server/dep/ACE_wrappers/ace/SSL/SSL_Context.cpp:247:16: error: ‘::SSLv2_server_method’ has not been declared

/home/tim/mangos/server/dep/ACE_wrappers/ace/SSL/SSL_Context.cpp:250:16: error: ‘::SSLv2_method’ has not been declared

make[6]: *** [libACE_SSL_la-SSL_Context.lo] Error 1

make[5]: *** [all-recursive] Error 1

make[4]: *** [all] Error 2

make[3]: *** [all-recursive] Error 1

make[2]: *** [dep/ACE_wrappers/ACE_Project-prefix/src/ACE_Project-stamp/ACE_Project-build] Error 2

make[1]: *** [dep/ACE_wrappers/CMakeFiles/ACE_Project.dir/all] Error 2

make: *** [all] Error 2

[code]

Posted

hm, on develop branch build sometimes can be broken - thats possible.

these errors are related to openssl libraries, do you installed openssl development libraries correctly?

also you can use external ace libraries, just install ace development libraries and specify cmake flag -DACE_USE_EXTERNAL=1

and on next reports specify more info about compiler, OS (i know, that its linux, but linux environments are different on distrobutions), thanks

Posted

will retest on clean linux distro later, currently i would suggest to install ace libraries (sudo apt-get install libace-dev) and use cmake flag -DACE_USE_EXTERNAL=1 to avoid this error possibility on linux. At all there are plans to update current ace to latest release, which may improve performance for windows users too.

Posted

Sorry im not the brightest when it come to this stuff. Currently here is what I use.

sudo cmake .. -DCMAKE_INSTALL_PREFIX=/opt/mangos -DINCLUDE_BINDINGS_DIR=scripts

Now that I installed ace, How would I incorporate -DACE_USE_EXTERNAL=1 ?

Posted

From what I remember of Linux, you would simply tack that on to the end of the command. So you should be able to use:

sudo cmake .. -DCMAKE_INSTALL_PREFIX=/opt/mangos -DINCLUDE_BINDINGS_DIR=scripts -DACE_USE_EXTERNAL=1

Posted

-DINCLUDE_BINDINGS_DIR=scripts

that definition has been removed from public usage, also you don't need administrator rights to execute that command until you're not creating build files in "only read" or similar type folder in linux.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use