Jump to content

0.12 linux compile errors


Guest henhouse

Recommended Posts

Confirm linux compile errors for several days.

Daily downloaded from origin source.

..
../shared/Auth/libmangosauth.a(Sha1.o): In function `Sha1Hash':
/usr/src/mangos/compile/build/src/shared/Auth/../../../../src/shared/Auth/Sha1.cpp:25: undefined reference to `SHA1_Init'
/usr/src/mangos/compile/build/src/shared/Auth/../../../../src/shared/Auth/Sha1.cpp:25: undefined reference to `SHA1_Init'
../shared/Auth/libmangosauth.a(Sha1.o): In function `Sha1Hash::UpdateData(unsigned char const*, int)':
/usr/src/mangos/compile/build/src/shared/Auth/../../../../src/shared/Auth/Sha1.cpp:35: undefined reference to `SHA1_Update'
collect2: ld returned 1 exit status
make[3]: *** [mangos-realmd] Fehler 1
make[3]: Leaving directory `/usr/src/mangos/compile/build/src/realmd'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/src/mangos/compile/build/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/mangos/compile/build'
make: *** [all] Fehler 2

Link to comment
Share on other sites

In Debian Still fail with "-with-openssl"... I try with 0.9.8k from debian repository and compiled my self:

./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl

make

make test

make install

All compile OK, and I installed all in /usr/local/openssl

I use --with-openssl=/usr/local/openssl -> Configure OK but make fail

Try to --with-openssl-lib=/usr/local/openssl/lib --with-openssl-include=/usr/local/openssl/include/openssl -> Configure OK but make fail again.

Maybe not mangos core problem, can be related with debian based systems and new detection system...

Link to comment
Share on other sites

I suggest no one even bother trying to compile on Linux until you see something in the changelog regarding the bug, Mangos won't compile on any Linux system right now.

I was able to just revert that and change the line in configure.ac:

AX_CHECK_OPENSSL()

to

PKG_CHECK_MODULES(OPENSSL, [openssl], [], [AC_MSG_ERROR([Missing openssl])])

Works fine for me since the old OpenSSL never gave me any problems.

Link to comment
Share on other sites

×
×
  • 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