Jump to content

wellqfk

Members
  • Posts

    38
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by wellqfk

  1. I did as you wrote above start mangos-worldd gives me error: 14:58:10 >> Loaded addition spells for 102 pet spell data entries and 664 summonable creature templates 14:58:10 Loading Creature Addon Data... 14:58:10 [**************************************************] 100% 14:58:10 >> Loaded 8161 creature template addons 14:58:10 Error in creature_addon table, probably sql file format was updated (there should be 7 fields in sql).
  2. I have a problem I downloaded the git mangos rev.9605 I applied the patch vehicle compiled without errors start mangos-worldd gives me error: 11:25:45>> Loaded 102 pet spell addition spells for date entries and 662 summonable creature templates 11:25:45 Loading Creature Addon Data ... 11:25:45 Error in creature_template_addon table, probably sql file format was updated (there should be 8 fields in sql). me creature_template_addon table structure: 1 fields in addition there Mangos rev.9605 core DB ytdb latest revision OS CentOS 5.4 I can help someone? Thanks.
  3. Good job! The long time wait this version. Thanks to all.
  4. Compiles fine here, Centos 5.4 autoreconf --install --force automake --add-missing automake src/bindings/ScriptDev2/Makefile mkdir objdir cd objdir ../configure --prefix=/opt/mangos --sysconfdir=/opt/mangos/etc --enable-cli --enable-ra --datadir=/opt/mangos
  5. [...]checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 static flag -static works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for a BSD-compatible install... /usr/bin/install -c checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for pthread_create in -lpthread... yes checking for compress in -lz... yes checking for ftime in -lcompat... no ../configure: line 19450: syntax error near unexpected token `,' ../configure: line 19450: `AX_CHECK_OPENSSL(, AC_MSG_ERROR([Missing OpenSSL]))' The system we have OpenSSL installed: openssl-0.9.8e-12.el5_4.1
  6. *** glibc detected *** ./mangos-worldd: free(): invalid pointer: 0xa79a1e01 *** ======= Backtrace: ========= /lib/libc.so.6[0x709595] /lib/libc.so.6(cfree+0x59)[0x7099d9] /usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x528581] ./mangos-worldd(_ZNSt10_List_baseIP4AuraSaIS1_EE8_M_clearEv+0x1f)[0x841bb5f] ./mangos-worldd(_ZN4UnitD2Ev+0x282)[0x83f57a2] ./mangos-worldd(_ZN8CreatureD0Ev+0x119)[0x817d5d9] ./mangos-worldd(_ZN18ObjectGridUnloader5VisitI8CreatureEEvR14GridRefManagerIT_E+0x60)[0x82aa700] ./mangos-worldd(_Z13VisitorHelperI18ObjectGridUnloader8Creature8TypeListI13DynamicObjectS2_I6Corpse8TypeNullEEEvRT_R16ContainerMapListIS2_IT0_T1_EE+0x21)[0x82aa9e1] ./mangos-worldd(_ZN3Map10UnloadGridERKjS1_b+0xb2)[0x82686a2] ./mangos-worldd(_ZNK12RemovalState6UpdateER3MapR5NGridILj8E6Player8TypeListIS3_S4_I8CreatureS4_I6Corpse8TypeNullEEES4_I10GameObjectS4_IS5_S4_I13DynamicObjectS8_EEEN6MaNGOS14SingleThreadedIS3_EEER8GridInfoRKjSO_SO_+0x60)[0x848df70] ./mangos-worldd(_ZN3Map6UpdateERKj+0x1148)[0x827bf88] ./mangos-worldd(_ZN10MapManager6UpdateEj+0xc5)[0x828d285] ./mangos-worldd(_ZN5World6UpdateEj+0x154)[0x842dbe4] ./mangos-worldd(_ZN13WorldRunnable3runEv+0xba)[0x8134b2a] ./mangos-worldd(_ZN9ACE_Based6Thread10ThreadTaskEPv+0x1d)[0x84f78cd] /public/mangos5227_1553/lib/libACE-5.6.6.so(_ZN21ACE_OS_Thread_Adapter6invokeEv+0x67)[0x1fc247] /public/mangos5227_1553/lib/libACE-5.6.6.so(ace_thread_adapter+0x11)[0x1a8641] /lib/libpthread.so.0[0x81c73b] /lib/libc.so.6(clone+0x5e)[0x771cfe] ======= Memory map: ======== 00110000-0029a000 r-xp 00000000 08:11 9142275 /public/mangos5227_1553/lib/libACE-5.6.6.so 0029a000-002a5000 rwxp 0018a000 08:11 9142275 /public/mangos5227_1553/lib/libACE-5.6.6.so 002a5000-002a6000 rwxp 002a5000 00:00 0 002a6000-002b9000 r-xp 00000000 08:02 13524853 /lib/libnsl-2.5.so 002b9000-002ba000 r-xp 00012000 08:02 13524853 /lib/libnsl-2.5.so 002ba000-002bb000 rwxp 00013000 08:02 13524853 /lib/libnsl-2.5.so 002bb000-002bd000 rwxp 002bb000 00:00 0 002bd000-002c8000 r-xp 00000000 08:02 13519971 /lib/libgcc_s-4.1.2-20080825.so.1 002c8000-002c9000 rwxp 0000a000 08:02 13519971 /lib/libgcc_s-4.1.2-20080825.so.1 002c9000-002cb000 r-xp 00000000 08:02 13524840 /lib/libcom_err.so.2.1 002cb000-002cc000 rwxp 00001000 08:02 13524840 /lib/libcom_err.so.2.1 002cc000-002db000 r-xp 00000000 08:02 13524837 /lib/libresolv-2.5.so 002db000-002dc000 r-xp 0000e000 08:02 13524837 /lib/libresolv-2.5.so 002dc000-002dd000 rwxp 0000f000 08:02 13524837 /lib/libresolv-2.5.so 002dd000-002df000 rwxp 002dd000 00:00 0 002df000-002e7000 r-xp 00000000 08:02 5413975 /usr/lib/libkrb5support.so.0.1 002e7000-002e8000 rwxp 00007000 08:02 5413975 /usr/lib/libkrb5support.so.0.1 002e8000-002ea000 r-xp 00000000 08:02 13524836 /lib/libkeyutils-1.2.so 002ea000-002eb000 rwxp 00001000 08:02 13524836 /lib/libkeyutils-1.2.so 002ed000-00330000 r-xp 00000000 08:02 13519983 /lib/libssl.so.0.9.8e 00330000-00334000 rwxp 00042000 08:02 13519983 /lib/libssl.so.0.9.8e 00334000-0045e000 r-xp 00000000 08:02 13524834 /lib/libcrypto.so.0.9.8e 0045e000-00471000 rwxp 00129000 08:02 13524834 /lib/libcrypto.so.0.9.8e 00471000-00475000 rwxp 00471000 00:00 0 00475000-00555000 r-xp 00000000 08:02 5405922 /usr/lib/libstdc++.so.6.0.8 00555000-00559000 r-xp 000df000 08:02 5405922 /usr/lib/libstdc++.so.6.0.8 00559000-0055a000 rwxp 000e3000 08:02 5405922 /usr/lib/libstdc++.so.6.0.8 0055a000-00560000 rwxp 0055a000 00:00 0 00560000-0058d000 r-xp 00000000 08:02 5426178 /usr/lib/libgssapi_krb5.so.2.2 0058d000-0058e000 rwxp 0002d000 08:02 5426178 /usr/lib/libgssapi_krb5.so.2.2 0058e000-00621000 r-xp 00000000 08:02 5426174 /usr/lib/libkrb5.so.3.3 00621000-00624000 rwxp 00092000 08:02 5426174 /usr/lib/libkrb5.so.3.3 00624000-0063a000 r-xp 00000000 08:02 13524839 /lib/libselinux.so.1 0063a000-0063c000 rwxp 00015000 08:02 13524839 /lib/libselinux.so.1 0063c000-00677000 r-xp 00000000 08:02 13524838 /lib/libsepol.so.1 00677000-00678000 rwxp 0003b000 08:02 13524838 /lib/libsepol.so.1 00678000-00682000 rwxp 00678000 00:00 0 00682000-0069c000 r-xp 00000000 08:02 13524830 /lib/ld-2.5.so 0069c000-0069d000 r-xp 00019000 08:02 13524830 /lib/ld-2.5.so 0069d000-0069e000 rwxp 0001a000 08:02 13524830 /lib/ld-2.5.so 006a0000-007df000 r-xp 00000000 08:02 13524831 /lib/libc-2.5.so 007df000-007e0000 --xp 0013f000 08:02 13524831 /lib/libc-2.5.so 007e0000-007e2000 r-xp 0013f000 08:02 13524831 /lib/libc-2.5.so 007e2000-007e3000 rwxp 00141000 08:02 13524831 /lib/libc-2.5.so 007e3000-007e6000 rwxp 007e3000 00:00 0 007e8000-007ea000 r-xp 00000000 08:02 13524833 /lib/libdl-2.5.so 007ea000-007eb000 r-xp 00001000 08:02 13524833 /lib/libdl-2.5.so 007eb000-007ec000 rwxp 00002000 08:02 13524833 /lib/libdl-2.5.so 007ee000-00813000 r-xp 00000000 08:02 13524832 /lib/libm-2.5.so 00813000-00814000 r-xp 00024000 08:02 13524832 /lib/libm-2.5.so 00814000-00815000 rwxp 00025000 08:02 13524832 /lib/libm-2.5.so 00817000-0082b000 r-xp 00000000 08:02 13524835 /lib/libpthread-2.5.so 0082b000-0082c000 r-xp 00013000 08:02 13524835 /lib/libpthread-2.5.so 0082c000-0082d000 rwxp 00014000 08:02 13524835 /lib/libpthread-2.5.so 0082d000-0082f000 rwxp 0082d000 00:00 0 00831000-00842000 r-xp 00000000 08:02 5405632 /usr/lib/libz.so.1.2.3 00842000-00843000 rwxp 00010000 08:02 5405632 /usr/lib/libz.so.1.2.3 00845000-00968000 r-xp 00000000 08:02 6124424 /usr/lib/mysql/libmysqlclient_r.so.15.0.0 00968000-009aa000 rwxp 00123000 08:02 6124424 /usr/lib/mysql/libmysqlclient_r.so.15.0.0 009aa000-009ab000 rwxp 009aa000 00:00 0 009ab000-009b4000 r-xp 00000000 08:02 13524812 /lib/libnss_files-2.5.so 009b4000-009b5000 r-xp 00008000 08:02 13524812 /lib/libnss_files-2.5.so 009b5000-009b6000 rwxp 00009000 08:02 13524812 /lib/libnss_files-2.5.so 00a89000-00a8a000 r-xp 00a89000 00:00 0 [vdso] 00bb2000-00bb9000 r-xp 00000000 08:02 13520046 /lib/librt-2.5.so 00bb9000-00bba000 r-xp 00006000 08:02 13520046 /lib/librt-2.5.so 00bba000-00bbb000 rwxp 00007000 08:02 13520046 /lib/librt-2.5.so 00bbb000-00e7d000 r-xp 00000000 08:11 9142540 /public/mangos5227_1553/lib/libmangosscript.so.0.0.0 00e7d000-00e96000 rwxp 002c1000 08:11 9142540 /public/mangos5227_1553/lib/libmangosscript.so.0.0.0 00e96000-00e9b000 rwxp 00e96000 00:00 0 071a7000-071b0000 r-xp 00000000 08:02 13524842 /lib/libcrypt-2.5.so 071b0000-071b1000 r-xp 00008000 08:02 13524842 /lib/libcrypt-2.5.so 071b1000-071b2000 rwxp 00009000 08:02 13524842 /lib/libcrypt-2.5.so 071b2000-071d9000 rwxp 071b2000 00:00 0 07998000-079bd000 r-xp 00000000 08:02 5426170 /usr/lib/libk5crypto.so.3.1 079bd000-079be000 rwxp 00025000 08:02 5426170 /usr/lib/libk5crypto.so.3.1 08048000-08628000 r-xp 00000000 08:11 9142546 /public/mangos5227_1553/bin/mangos-worldd 08628000-0862f000 rw-p 005e0000 08:11 9142546 /public/mangos5227_1553/bin/mangos-worldd 0862f000-08645000 rw-p 0862f000 00:00 0 09567000-249ea000 rw-p 09567000 00:00 0 [heap] a6682000-a6af6000 rw-p a6682000 00:00 0 a6af6000-a6b00000 ---p a6af6000 00:00 0 a6b00000-a6bfd000 rw-p a6b00000 00:00 0 a6bfd000-a6c00000 ---p a6bfd000 00:00 0 a6c00000-a6d00000 rw-p a6c00000 00:00 0 a6f00000-a6ff3000 rw-p a6f00000 00:00 0 a6ff3000-a7000000 ---p a6ff3000 00:00 0 a7000000-a7100000 rw-p a7000000 00:00 0 a7100000-a7300000 rw-p a7100000 00:00 0 a7300000-a749f000 rw-p a7300000 00:00 0 a749f000-a7500000 ---p a749f000 00:00 0 a7500000-a75ff000 rw-p a7500000 00:00 0 a75ff000-a7600000 ---p a75ff000 00:00 0 a7600000-a76ab000 rw-p a7600000 00:00 0 a76ab000-a7700000 ---p a76ab000 00:00 0 a7700000-a77e4000 rw-p a7700000 00:00 0 a77e4000-a7800000 ---p a77e4000 00:00 0 a7800000-a78fc000 rw-p a7800000 00:00 0 a78fc000-a7900000 ---p a78fc000 00:00 0 a7900000-a79ef000 rw-p a7900000 00:00 0 a79ef000-a7a00000 ---p a79ef000 00:00 0 a7a00000-a7aff000 rw-p a7a00000 00:00 0 a7aff000-a7b00000 ---p a7aff000 00:00 0 a7b00000-a7bf8000 rw-p a7b00000 00:00 0 a7bf8000-a7c00000 ---p a7bf8000 00:00 0 a7d00000-a7dfe000 rw-p a7d00000 00:00 0 a7dfe000-a7e00000 ---p a7dfe000 00:00 0 a7e00000-a7f00000 rw-p a7e00000 00:00 0 a8000000-a8200000 rw-p a8000000 00:00 0 a8200000-a8300000 rw-p a8200000 00:00 0 a8500000-a86eb000 rw-p a8500000 00:00 0 a86eb000-a8700000 ---p a86eb000 00:00 0 a8700000-a87ff000 rw-p a8700000 00:00 0 a87ff000-a8800000 ---p a87ff000 00:00 0 a8900000-a8a00000 rw-p a8900000 00:00 0 a8b00000-a8bca000 rw-p a8b00000 00:00 0 a8bca000-a8c00000 ---p a8bca000 00:00 0 a8c00000-a8cfb000 rw-p a8c00000 00:00 0 a8cfb000-a8d00000 ---p a8cfb000 00:00 0 a8d00000-a8e00000 rw-p a8d00000 00:00 0 a8e00000-a9000000 rw-p a8e00000 00:00 0 a9000000-a91e6000 rw-p a9000000 00:00 0 a91e6000-a9200000 ---p a91e6000 00:00 0 a9200000-a92f4000 rw-p a9200000 00:00 0 a92f4000-a9300000 ---p a92f4000 00:00 0 a9300000-a9400000 rw-p a9300000 00:00 0 a9400000-a94fe000 rw-p a9400000 00:00 0 a94fe000-a9500000 ---p a94fe000 00:00 0 a9800000-a99d3000 rw-p a9800000 00:00 0 a99d3000-a9a00000 ---p a99d3000 00:00 0 a9b00000-a9c00000 rw-p a9b00000 00:00 0 a9c88000-aa100000 rw-p a9c88000 00:00 0 aa100000-aa200000 rw-p aa100000 00:00 0 aa300000-aa36d000 rw-p aa300000 00:00 0 aa36d000-aa400000 ---p aa36d000 00:00 0 aa500000-aa5fe000 rw-p aa500000 00:00 0 aa5fe000-aa600000 ---p aa5fe000 00:00 0 aa600000-aa700000 rw-p aa600000 00:00 0 aa700000-aa7f6000 rw-p aa700000 00:00 0 aa7f6000-aa800000 ---p aa7f6000 00:00 0 aa800000-aa900000 rw-p aa800000 00:00 0 aa900000-aa9f8000 rw-p aa900000 00:00 0 aa9f8000-aaa00000 ---p aa9f8000 00:00 0 aaa00000-aab00000 rw-p aaa00000 00:00 0 aab00000-aac00000 rw-p aab00000 00:00 0 aad00000-aae00000 rw-p aad00000 00:00 0 aaf00000-ab0fd000 rw-p aaf00000 00:00 0 ab0fd000-ab100000 ---p ab0fd000 00:00 0 ab100000-ab1ff000 rw-p ab100000 00:00 0 ab1ff000-ab200000 ---p ab1ff000 00:00 0 ab300000-ab400000 rw-p ab300000 00:00 0 ab500000-ab5fa000 rw-p ab500000 00:00 0 ab5fa000-ab600000 ---p ab5fa000 00:00 0 ab700000-ab900000 rw-p ab700000 00:00 0 ab900000-aba00000 rw-p ab900000 00:00 0 abc00000-abcf3000 rw-p abc00000 00:00 0 abcf3000-abd00000 ---p abcf3000 00:00 0 abd00000-abe00000 rw-p abd00000 00:00 0 abe00000-abee5000 rw-p abe00000 00:00 0 abee5000-abf00000 ---p abee5000 00:00 0 abf00000-ac100000 rw-p abf00000 00:00 0 ac100000-ac1ff000 rw-p ac100000 00:00 0 ac1ff000-ac200000 ---p ac1ff000 00:00 0 ac300000-ac3fe000 rw-p ac300000 00:00 0 ac3fe000-ac400000 ---p ac3fe000 00:00 0 ac500000-ac700000 rw-p ac500000 00:00 0 ac700000-ac7f5000 rw-p ac700000 00:00 0 ac7f5000-ac800000 ---p ac7f5000 00:00 0 ac800000-ac9f4000 rw-p ac800000 00:00 0 ac9f4000-aca00000 ---p ac9f4000 00:00 0 aca00000-acb00000 rw-p aca00000 00:00 0 acc00000-acd00000 rw-p acc00000 00:00 0 acd5e000-acff6000 rw-p acd5e000 00:00 0 acff6000-ad000000 ---p acff6000 00:00 0 ad11d000-ad300000 rw-p ad11d000 00:00 0 ad37c000-ad455000 rw-p ad37c000 00:00 0 ad500000-ad5b3000 rw-p ad500000 00:00 0 ad5b3000-ad600000 ---p ad5b3000 00:00 0 ad603000-ad83f000 rw-p ad603000 00:00 0 ad83f000-ad840000 ---p ad83f000 00:00 0 ad840000-ae240000 rw-p ad840000 00:00 0 ae240000-ae241000 ---p ae240000 00:00 0 ae241000-aec41000 rw-p ae241000 00:00 0 aec41000-aec42000 ---p aec41000 00:00 0 aec42000-af642000 rw-p aec42000 00:00 0 af642000-af643000 ---p af642000 00:00 0 af643000-b238e000 rw-p af643000 00:00 0 b23da000-b25f9000 rw-p b23da000 00:00 0 b25f9000-b2600000 ---p b25f9000 00:00 0 b2671000-b38f0000 rw-p b2671000 00:00 0 b3903000-b5396000 rw-p b3903000 00:00 0 b53a3000-b573a000 rw-p b53a3000 00:00 0 b57b1000-b5815000 rw-p b57b1000 00:00 0 b58a1000-b58d5000 rw-p b58a1000 00:00 0 b592f000-b6143000 rw-p b592f000 00:00 0 b6143000-b6144000 ---p b6143000 00:00 0 b6144000-b6b44000 rw-p b6144000 00:00 0 b6b44000-b6b45000 ---p b6b44000 00:00 0 b6b45000-b7545000 rw-p b6b45000 00:00 0 b7545000-b7546000 ---p b7545000 00:00 0 b7546000-b7f4c000 rw-p b7546000 00:00 0 b7f5d000-b7f63000 rw-p b7f5d000 00:00 0 bfa24000-bfa39000 rw-p bffea000 00:00 0 [stack]
  7. This patch works perfectly, I tested and compiled server is now up, rev. 5227 diff --git a/configure.ac b/configure.ac index 3406e1c..926da9b 100644 --- a/configure.ac +++ b/configure.ac @@ -97,7 +97,7 @@ AC_CHECK_LIB( pthread, pthread_create, [], ]) AC_CHECK_LIB( z, compress, [ZLIB=-lz],[AC_MSG_ERROR([Missing zlib])] ) AC_CHECK_LIB( compat, ftime, [COMPATLIB=-lcompat] ) -PKG_CHECK_MODULES(OPENSSL, [openssl], [], [CHECK_SSL()]) +AX_CHECK_OPENSSL() AC_ARG_WITH(postgresql, [ --with-postgresql Use PostgreSQL as a backend (default: no)], AC_ARG_WITH(postgresql, [ --with-postgresql Use PostgreSQL as a backend (default: no)], diff --git a/m4/ax_check_openssl.m4 b/m4/ax_check_openssl.m4 index e69de29..7f5c319 100644 --- a/m4/ax_check_openssl.m4 +++ b/m4/ax_check_openssl.m4 @@ -0,0 +1,122 @@ +# =========================================================================== +# [url]http://www.nongnu.org/autoconf-archive/ax_check_openssl.html[/url] +# =========================================================================== +# +# SYNOPSIS +# +# AX_CHECK_OPENSSL([action-if-found[, action-if-not-found]]) +# +# DESCRIPTION +# +# Look for OpenSSL in a number of default spots, or in a user-selected +# spot (via --with-openssl). Sets +# +# OPENSSL_INCLUDES to the include directives required +# OPENSSL_LIBS to the -l directives required +# OPENSSL_LDFLAGS to the -L or -R flags required +# +# and calls ACTION-IF-FOUND or ACTION-IF-NOT-FOUND appropriately +# +# This macro sets OPENSSL_INCLUDES such that source files should use the +# openssl/ directory in include directives: +# +# #include <openssl/hmac.h> +# +# LICENSE +# +# Copyright (c) 2009 Zmanda Inc. <http://www.zmanda.com/> +# Copyright (c) 2009 Dustin J. Mitchell <[email protected]> +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +AU_ALIAS([CHECK_SSL], [AX_CHECK_OPENSSL]) +AC_DEFUN([AX_CHECK_OPENSSL], [ + found=false + AC_ARG_WITH(openssl, + AS_HELP_STRING([--with-openssl=DIR], + [root of the OpenSSL directory]), + [ + case "$withval" in + "" | y | ye | yes | n | no) + AC_MSG_ERROR([invalid --with-openssl value]) + ;; + *) ssldirs="$withval" + ;; + esac + ], [ + # if pkg-config is installed and openssl has installed a .pc file, + # then use that information and don't search ssldirs + AC_PATH_PROG(PKG_CONFIG, pkg-config) + if test x"$PKG_CONFIG" != x""; then + OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null` + if test $? = 0; then + OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null` + OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null` + found=true + fi + fi + + # no such luck; use some default ssldirs + if ! $found; then + ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr" + fi + ] + ) + + + # note that we #include <openssl/foo.h>, so the OpenSSL headers have to be in + # an 'openssl' subdirectory + + if ! $found; then + OPENSSL_INCLUDES= + for ssldir in $ssldirs; do + AC_MSG_CHECKING([for openssl/ssl.h in $ssldir]) + if test -f "$ssldir/include/openssl/ssl.h"; then + OPENSSL_INCLUDES="-I$ssldir/include" + OPENSSL_LDFLAGS="-L $ssldir/lib" + OPENSSL_LIBS="-lssl -lcrypto" + found=true + AC_MSG_RESULT([yes]) + break + else + AC_MSG_RESULT([no]) + fi + done + + # if the file wasn't found, well, go ahead and try the link anyway -- maybe + # it will just work! + fi + + # try the preprocessor and linker with our new flags, + # being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS + + AC_MSG_CHECKING([whether compiling and linking against OpenSSL works]) + echo "Trying link with OPENSSL_LDFLAGS=$OPENSSL_LDFLAGS;" \\ + "OPENSSL_LIBS=$OPENSSL_LIBS; OPENSSL_INCLUDES=$OPENSSL_INCLUDES" >&AS_MESSAGE_LOG_FD + + save_LIBS="$LIBS" + save_LDFLAGS="$LDFLAGS" + save_CPPFLAGS="$CPPFLAGS" + LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS" + LIBS="$OPENSSL_LIBS $LIBS" + CPPFLAGS="$OPENSSL_INCLUDES $CPPFLAGS" + AC_LINK_IFELSE( + AC_LANG_PROGRAM([#include <openssl/ssl.h>], [sSL_new(NULL)]), + [ + AC_MSG_RESULT([yes]) + $1 + ], [ + AC_MSG_RESULT([no]) + $2 + ]) + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + + AC_SUBST([OPENSSL_INCLUDES]) + AC_SUBST([OPENSSL_LIBS]) + AC_SUBST([OPENSSL_LDFLAGS]) +])
  8. We applied the patch and not working, same error: Second patch work perfectly
  9. waza123 disable class DK and your server will not crash any more, so I am done and then everything is ok is a problem with DK quests and give it cause crash
  10. Install the web server MiniManager and issue is resolved
×
×
  • 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