i tried compiling uox3 after this tutorial: viewtopic.php?t=457 => post from "Inkvisitor".
everything worked fine after removing globals.cpp/o from makefiles, until this errors:
Code: Select all
...
UOXJSPropertyFuncs.cpp:(.text+0x8d80): undefined reference to `UOX::JSEngine'
UOXJSPropertyFuncs.cpp:(.text+0x8d90): undefined reference to `UOX::CJSEngine::AcquireObject(UOX::IUEEn tries, void*, unsigned char)'
UOXJSPropertyFuncs.cpp:(.text+0x8f6c): undefined reference to `UOX::JSEngine'
UOXJSPropertyFuncs.cpp:(.text+0x8f74): undefined reference to `UOX::CJSEngine::FindActiveRuntime(JSRunt ime*) const'
UOXJSPropertyFuncs.cpp:(.text+0x8f89): undefined reference to `UOX::JSEngine'
UOXJSPropertyFuncs.cpp:(.text+0x8f95): undefined reference to `UOX::CJSEngine::AcquireObject(UOX::IUEEn tries, void*, unsigned char)'
UOXJSPropertyFuncs.cpp:(.text+0x8fb3): undefined reference to `UOX::JSEngine'
UOXJSPropertyFuncs.cpp:(.text+0x8fbb): undefined reference to `UOX::CJSEngine::FindActiveRuntime(JSRunt ime*) const'
UOXJSPropertyFuncs.cpp:(.text+0x8fd4): undefined reference to `UOX::JSEngine'
UOXJSPropertyFuncs.cpp:(.text+0x8fdc): undefined reference to `UOX::CJSEngine::AcquireObject(UOX::IUEEn tries, void*, unsigned char)'
UOXJSPropertyFuncs.cpp:(.text+0x8ffa): undefined reference to `UOX::JSEngine'
UOXJSPropertyFuncs.cpp:(.text+0x9002): undefined reference to `UOX::CJSEngine::FindActiveRuntime(JSRunt ime*) const'
UOXJSPropertyFuncs.cpp:(.text+0x901b): undefined reference to `UOX::JSEngine'
UOXJSPropertyFuncs.cpp:(.text+0x9023): undefined reference to `UOX::CJSEngine::AcquireObject(UOX::IUEEn tries, void*, unsigned char)'
UOXJSPropertyFuncs.cpp:(.text+0x9078): undefined reference to `UOX::JSEngine'
UOXJSPropertyFuncs.cpp:(.text+0x9080): undefined reference to `UOX::CJSEngine::FindActiveRuntime(JSRunt ime*) const'
UOXJSPropertyFuncs.cpp:(.text+0x9099): undefined reference to `UOX::JSEngine'
UOXJSPropertyFuncs.cpp:(.text+0x90a1): undefined reference to `UOX::CJSEngine::AcquireObject(UOX::IUEEn tries, void*, unsigned char)'
collect2: ld returned 1 exit status
make: *** [uox3] Error 1Code: Select all
AC_INIT(uox3.cpp)
AM_INIT_AUTOMAKE(uox3,0.97)
AC_PROG_CXX
AC_C_CONST
CXXFLAGS="-O2 -I./mozilla/js/src"
AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no)
if test "$enable_debug" = yes ; then
CXXFLAGS="$CXXFLAGS -g3"
AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
fi
dnl To enable debugger support, remove the "dnl" from the line 3 lines down
dnl and recompile the entire application
dnl CXXFLAGS="$CXXFLAGS -g"
AC_OUTPUT(Makefile)