Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-24-2006, 07:06 PM
kedobin
Sarnak
 
Join Date: Oct 2004
Posts: 30
Default couple more troubles

I've tried searching these forums, the wiki, and google, but I've been unable to determine what specific phrases would work to find the problems I'm having.

Anyway, I've got 2 problems I'm trying to solve.
1: I've tried using the velious db on 0.6.0-dr2. It won't work b/c it needs items.h to have a value altered. So, I downloaded the source from sourceforge, and attempted to source it unaltered, but I have had no luck.
I'm trying to compile using Devcpp 4.9.9.2, with mingw (looks like 3.4.2).

Compile Log
Code:
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\owner\Desktop\060dr2 source\Source\EMuShareMem\Makefile.win"
Executing  make clean
rm -f DLLMain.o Doors.o Items.o Loot.o MMF.o MMFMutex.o NPCFactionLists.o NPCTypes.o Spells.o ../common/EMuShareMem.o ../common/timer.o ../common/debug.o ../common/Mutex.o  EMuShareMem.dll

g++.exe -c DLLMain.cpp -o DLLMain.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"  -I"C:/mysql/include"  -I"C:/mysql/include"  -D__GNUWIN32__ -w -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DEMUSHAREMEM_EXPORTS  

g++.exe -c Doors.cpp -o Doors.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"  -I"C:/mysql/include"  -I"C:/mysql/include"  -D__GNUWIN32__ -w -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DEMUSHAREMEM_EXPORTS  

In file included from C:/Dev-Cpp/include/c++/3.4.2/mingw32/bits/c++locale.h:43,
                 from C:/Dev-Cpp/include/c++/3.4.2/iosfwd:46,

                 from C:/Dev-Cpp/include/c++/3.4.2/ios:44,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from Doors.cpp:10:
C:/Dev-Cpp/include/c++/3.4.2/cstdio:167: error: `::snprintf' has not been declared
C:/Dev-Cpp/include/c++/3.4.2/cstdio:170: error: `::vsnprintf' has not been declared
C:/Dev-Cpp/include/c++/3.4.2/cstdio:177: error: `__gnu_cxx::snprintf' has not been declared
C:/Dev-Cpp/include/c++/3.4.2/cstdio:180: error: `__gnu_cxx::vsnprintf' has not been declared

In file included from C:/Dev-Cpp/include/c++/3.4.2/iosfwd:46,
                 from C:/Dev-Cpp/include/c++/3.4.2/ios:44,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from Doors.cpp:10:
C:/Dev-Cpp/include/c++/3.4.2/mingw32/bits/c++locale.h: In function `int std::__convert_from_v(char*, int, const char*, _Tv, int* const&, int)':
C:/Dev-Cpp/include/c++/3.4.2/mingw32/bits/c++locale.h:68: error: `snprintf' is not a member of `std'

make.exe: *** [Doors.o] Error 1

Execution terminated
Whenever I double click the errors, it opens cstdio, in the following block
Code:
#if !_GLIBCXX_USE_C99_DYNAMIC
  using ::snprintf;  // this line
  using ::vfscanf;
  using ::vscanf;
  using ::vsnprintf; // this line
  using ::vsscanf;
#endif
}

namespace std
{
  using __gnu_cxx::snprintf;   // this line
  using __gnu_cxx::vfscanf;
  using __gnu_cxx::vscanf;
  using __gnu_cxx::vsnprintf; // this line
  using __gnu_cxx::vsscanf;
}
#endif
The final error in the compile is in c++locale.h
Code:
#ifdef _GLIBCXX_USE_C99
      const int __ret = std::snprintf(__out, __size, __fmt, __prec, __v); // this line
#else
      const int __ret = std::sprintf(__out, __fmt, __prec, __v);
#endif
That's all for problem 1.
Problem 2 involves setting up 0.6.0-dr3. I had attempted setting it up, to see what differences exist between the two versions. Unfortunately, I keep getting db troubles. If I run Kunark, I'm missing item table columns (a lot). If I run Velious, then I'm again told to adjust sharemem.dll, but for this version I haven't found the source (this particular spot, I will admit to not searching heavily for quite yet).

If anybody can help with either problem, it would be a great help.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 01:43 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3