logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Compiling Problems Ubuntu
Goto page 1, 2  Next
 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support
View previous topic :: View next topic  
Author Message
Marawaa



Joined: 10 Sep 2012
Posts: 15

PostPosted: Mon Sep 10, 2012 2:11    Post subject: Compiling Problems Ubuntu Reply with quote

Quite new to Linux but thought I'd be able to compile at least. Running Ubuntu 12.04 with GCC 4.6.3, ran svn checkout into the directory home/upunpu/Desktop/test, then ./install.sh, this is what I mostly get:

Code:

make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/functions'
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o C2DA.o C2DA.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o CNWSScriptVarTable.o CNWSScriptVarTable.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o CExoLinkedList.o CExoLinkedList.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o CItemRepository.o CItemRepository.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o CExoLocString.o CExoLocString.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o FunctionHooks.o FunctionHooks.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXFunction.o NWNXFunction.cpp
NWNXFunction.cpp: In member function ‘char* CNWNXFunction::GetGroundHeight(char*)’:
NWNXFunction.cpp:380:53: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘dword* {aka long unsigned int*}’ [-Wformat]
NWNXFunction.cpp: In member function ‘void CNWNXFunction::GetIsWalkableHL(char*)’:
NWNXFunction.cpp:402:53: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘dword* {aka long unsigned int*}’ [-Wformat]
NWNXFunction.cpp: In member function ‘void CNWNXFunction::ActUseItem(char*)’:
NWNXFunction.cpp:547:84: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘dword* {aka long unsigned int*}’ [-Wformat]
NWNXFunction.cpp:547:84: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘dword* {aka long unsigned int*}’ [-Wformat]
NWNXFunction.cpp:547:84: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘dword* {aka long unsigned int*}’ [-Wformat]
NWNXFunction.cpp: In member function ‘void CNWNXFunction::GetPCPort(char*)’:
NWNXFunction.cpp:560:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘dword {aka long unsigned int}’ [-Wformat]
NWNXFunction.cpp: In member function ‘char* CNWNXFunction::GetNextLocalVariable(char*)’:
NWNXFunction.cpp:601:95: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘dword {aka long unsigned int}’ [-Wformat]
NWNXFunction.cpp:621:98: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘dword {aka long unsigned int}’ [-Wformat]
NWNXFunction.cpp: In member function ‘void CNWNXFunction::GetItemCount_Ext(char*)’:
NWNXFunction.cpp:635:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘dword {aka long unsigned int}’ [-Wformat]
NWNXFunction.cpp: In member function ‘void CNWNXFunction::ObjDump(char*)’:
NWNXFunction.cpp:672:43: warning: '0' flag used with ‘%p’ gnu_printf format [-Wformat]
NWNXFunction.cpp:676:60: warning: '0' flag used with ‘%p’ gnu_printf format [-Wformat]
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-functions.o plugin-functions.cpp
g++ -m32 -w -fPIC -shared -W -Wall  -o nwnx_functions.so C2DA.o CNWSScriptVarTable.o CExoLinkedList.o CItemRepository.o CExoLocString.o FunctionHooks.o NWNXFunction.o plugin-functions.o
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/functions'
make -C plugins/hashset PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-m32 -w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/hashset'
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXHashSet.o NWNXHashSet.cpp
NWNXHashSet.cpp: In member function ‘bool CNWNXHashSet::ParseParam(char*, char*, std::string&, std::string*, std::string*)’:
NWNXHashSet.cpp:161:35: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::Lookup(char*, char*)’:
NWNXHashSet.cpp:250:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:255:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::Valid(char*, char*)’:
NWNXHashSet.cpp:265:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:269:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:272:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::Exists(char*, char*)’:
NWNXHashSet.cpp:279:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:284:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:287:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::GetSize(char*, char*)’:
NWNXHashSet.cpp:296:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:301:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::GetFirstKey(char*, char*)’:
NWNXHashSet.cpp:313:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:318:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:325:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::GetNextKey(char*, char*)’:
NWNXHashSet.cpp:334:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:339:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:344:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::GetCurrentKey(char*, char*)’:
NWNXHashSet.cpp:353:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:358:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:363:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::GetNthKey(char*, char*)’:
NWNXHashSet.cpp:377:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::HasNext(char*, char*)’:
NWNXHashSet.cpp:384:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:389:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:396:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:398:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-hashset.o plugin-hashset.cpp
g++ -m32 -w -fPIC -shared -W -Wall  -o nwnx_hashset.so NWNXHashSet.o plugin-hashset.o
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/hashset'
make -C plugins/mnx PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-m32 -w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/mnx'
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXmnx.o NWNXmnx.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-mnx.o plugin-mnx.cpp
g++ -m32 -w -fPIC -shared -W -Wall  -o nwnx_mnx.so NWNXmnx.o plugin-mnx.o
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/mnx'
make -C plugins/names PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-m32 -w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/names'
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o CCustomNames.o CCustomNames.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o HookFunc.o HookFunc.cpp
HookFunc.cpp: In function ‘char* GetServerFuncName(dword)’:
HookFunc.cpp:227:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:228:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:229:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:230:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:231:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:232:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:233:71: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:234:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:235:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:237:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:238:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:239:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:240:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:241:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:243:55: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:245:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:246:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:247:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:261:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp: In function ‘void SendDataHookProc(void*, int, int, int, char*, int)’:
HookFunc.cpp:311:90: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned char***’ [-Wformat]
HookFunc.cpp:311:90: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘int’ [-Wformat]
HookFunc.cpp:311:90: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
HookFunc.cpp:311:90: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘int’ [-Wformat]
HookFunc.cpp: In function ‘int GetNameHookProc(void*, int, char*, int)’:
HookFunc.cpp:704:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:710:38: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:711:20: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:715:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:719:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:730:17: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp: Assembler messages:
HookFunc.cpp:319: Warning: indirect jmp without `*'
HookFunc.cpp:756: Warning: indirect call without `*'
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXNames.o NWNXNames.cpp
NWNXNames.cpp: In member function ‘void CNWNXNames::SetDynamicName(char*)’:
NWNXNames.cpp:133:43: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘dword* {aka long unsigned int*}’ [-Wformat]
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-names.o plugin-names.cpp
g++ -m32 -w -fPIC -shared -W -Wall  -shared -o nwnx_names.so CCustomNames.o HookFunc.o NWNXNames.o plugin-names.o ../../NWNXBase.o ../../gline.o 
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/names'
make -C plugins/odmbc PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-m32 -w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/odmbc'
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o HookSCORCO.o HookSCORCO.cpp
In file included from NWNXodbc.h:29:0,
                 from HookSCORCO.cpp:30:
mysql.h:27:25: fatal error: mysql/mysql.h: No such file or directory
compilation terminated.
make[1]: *** [HookSCORCO.o] Error 1
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/odmbc'
make: *** [plugins/odmbc] Error 2
for i in plugins/areas plugins/chat plugins/defenses plugins/events plugins/fixes plugins/funcs plugins/functions plugins/hashset plugins/mnx plugins/names plugins/odmbc plugins/profiler plugins/reset plugins/resman plugins/spells plugins/structs plugins/system plugins/tmi plugins/tweaks plugins/visibility plugins/weapons ; do make -C $i clean; done
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/areas'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/areas'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/chat'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/chat'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/defenses'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/defenses'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/events'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/events'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/fixes'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/fixes'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/funcs'
/bin/rm -f *.o *.so funcs/*/*.o
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/funcs'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/functions'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/functions'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/hashset'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/hashset'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/mnx'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/mnx'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/names'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/names'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/odmbc'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/odmbc'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/profiler'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/profiler'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/reset'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/reset'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/resman'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/resman'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/spells'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/spells'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/structs'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/structs'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/system'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/system'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/tmi'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/tmi'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/tweaks'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/tweaks'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/visibility'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/visibility'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/weapons'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/weapons'
/bin/rm -f *.o *.so lib/*.o *~
for i in plugins/areas plugins/chat plugins/defenses plugins/events plugins/fixes plugins/funcs plugins/functions plugins/hashset plugins/mnx plugins/names plugins/odmbc plugins/profiler plugins/reset plugins/resman plugins/spells plugins/structs plugins/system plugins/tmi plugins/tweaks plugins/visibility plugins/weapons ; do make -C $i distclean; done
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/areas'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/areas'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/chat'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/chat'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/defenses'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend DefensesStrCmds.h DefensesObjCmds.h
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/defenses'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/events'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/events'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/fixes'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/fixes'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/funcs'
/bin/rm -f *.o *.so funcs/*/*.o
/bin/rm -f .depend FuncsStrCmds.h FuncsObjCmds.h
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/funcs'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/functions'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/functions'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/hashset'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/hashset'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/mnx'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/mnx'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/names'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/names'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/odmbc'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/odmbc'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/profiler'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/profiler'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/reset'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/reset'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/resman'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/resman'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/spells'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend SpellsStrCmds.h SpellsObjCmds.h
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/spells'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/structs'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend StructsStrCmds.h StructsObjCmds.h
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/structs'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/system'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend SystemStrCmds.h SystemObjCmds.h
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/system'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/tmi'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/tmi'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/tweaks'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend TweaksStrCmds.h TweaksObjCmds.h
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/tweaks'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/visibility'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/visibility'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/weapons'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend WeaponsStrCmds.h WeaponsObjCmds.h
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/weapons'
/bin/rm -f Makefile config.h config.status config.cache config.log *.o *.so lib/*.o *~
NWNX has been compiled. Look in the 'compiled' directory for the libraries - these should be copied into your NWN directory. Change NWNX2.ini and nwnstartup.sh to match your server's settings.


I made sure everything was installed as the config file requests. It appears to compile everything, but is that many warnings fine? It seems a little bit unusual.
Back to top
View user's profile Send private message
Marawaa



Joined: 10 Sep 2012
Posts: 15

PostPosted: Mon Sep 10, 2012 2:35    Post subject: Reply with quote

OK after compiling with all those errors I get this error when running NWNX:

Code:

NWNX2lib: Init
NWNX2lib: org SetString() at 0x81f41b4, new SetString() at 0xb77bba4a
NWNX2lib: org GetObj() at 0x81f40bc, new GetObj() at 0xb77bba72
* Parsing configuration...
NWN Extender v2.7.1-dev
(c) 2004 by the APS/NWNX Linux Conversion Group
(c) 2007-2009 by virusman and Acaos
Based on the Win32 version (c) 2003 by Ingmar Stieger (Papillon)
and Jeroen Broekhuizen
visit us at http://www.avlis.org

* Searching for signatures...
* Loading modules...
FIXES plugin registered.
CHAT plugin registered.
HASHSET plugin registered.
EVENTS plugin registered.
AREAS plugin registered.
NAMES plugin registered.
FUNCS plugin registered.
MNX plugin registered.
FUNCTIONS plugin registered.
DEFENSES plugin registered.
* NWNX2 activated.
Neverwinter Nights Server
Build:8109
Copyright BioWare Corp 1998-2004

Server: Loading...
Server: Running...

Server: Loading module "module000".Segmentation fault (core dumped)


edit: It's caused by nwn_names.so, the other files work fine but even individually dropping nwnx_names causes a seg fault. I also just noticed that any of the plugins in the /plugins folder after the names plugin did not compile
Back to top
View user's profile Send private message
Marawaa



Joined: 10 Sep 2012
Posts: 15

PostPosted: Mon Sep 10, 2012 16:11    Post subject: Reply with quote

Nevermind, that didn't fix it either. It removes the seg fault on mod load, but then the server instantly seg faults when anyone joins. I'm convinced there's a problem with how I'm compiling them, but as far as I know I've done everything by the book.

I don't know what else to do, if anyone has an idea please let me know.
Back to top
View user's profile Send private message
Marawaa



Joined: 10 Sep 2012
Posts: 15

PostPosted: Mon Sep 10, 2012 20:24    Post subject: Reply with quote

Code:

NWNXHashSet.cpp:325:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::GetNextKey(char*, char*)’:
NWNXHashSet.cpp:334:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:339:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:344:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::GetCurrentKey(char*, char*)’:
NWNXHashSet.cpp:353:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:358:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:363:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::GetNthKey(char*, char*)’:
NWNXHashSet.cpp:377:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::HasNext(char*, char*)’:
NWNXHashSet.cpp:384:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:389:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:396:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:398:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-hashset.o plugin-hashset.cpp
g++ -m32 -w -fPIC -shared -W -Wall  -o nwnx_hashset.so NWNXHashSet.o plugin-hashset.o
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/hashset'
make -C plugins/mnx PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-m32 -w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/mnx'
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXmnx.o NWNXmnx.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-mnx.o plugin-mnx.cpp
g++ -m32 -w -fPIC -shared -W -Wall  -o nwnx_mnx.so NWNXmnx.o plugin-mnx.o
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/mnx'
make -C plugins/names PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-m32 -w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/names'
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o CCustomNames.o CCustomNames.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o HookFunc.o HookFunc.cpp
HookFunc.cpp: In function ‘char* GetServerFuncName(dword)’:
HookFunc.cpp:227:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:228:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:229:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:230:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:231:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:232:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:233:71: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:234:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:235:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:237:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:238:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:239:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:240:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:241:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:243:55: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:245:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:246:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:247:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:261:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp: In function ‘void SendDataHookProc(void*, int, int, int, char*, int)’:
HookFunc.cpp:311:90: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned char***’ [-Wformat]
HookFunc.cpp:311:90: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘int’ [-Wformat]
HookFunc.cpp:311:90: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
HookFunc.cpp:311:90: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘int’ [-Wformat]
HookFunc.cpp: In function ‘int GetNameHookProc(void*, int, char*, int)’:
HookFunc.cpp:704:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:710:38: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:711:20: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:715:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:719:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:730:17: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp: Assembler messages:
HookFunc.cpp:319: Warning: indirect jmp without `*'
HookFunc.cpp:756: Warning: indirect call without `*'
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXNames.o NWNXNames.cpp
NWNXNames.cpp: In member function ‘void CNWNXNames::SetDynamicName(char*)’:
NWNXNames.cpp:133:43: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘dword* {aka long unsigned int*}’ [-Wformat]
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-names.o plugin-names.cpp
g++ -m32 -w -fPIC -shared -W -Wall  -shared -o nwnx_names.so CCustomNames.o HookFunc.o NWNXNames.o plugin-names.o ../../NWNXBase.o ../../gline.o 
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/names'
make -C plugins/odmbc PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-m32 -w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/odmbc'
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o HookSCORCO.o HookSCORCO.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o CExoString.o CExoString.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o ObjectStorage.o ObjectStorage.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXodbc.o NWNXodbc.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o mysql.o mysql.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-odbc.o plugin-odbc.cpp
g++ -m32 -w -fPIC -shared -W -Wall  -o nwnx_odbc.so HookSCORCO.o CExoString.o ObjectStorage.o NWNXodbc.o mysql.o plugin-odbc.o -L/usr/lib/mysql -lmysqlclient -lz
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/odmbc'
make -C plugins/profiler PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-m32 -w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/profiler'
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o hash.o hash.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o HookRunScript.o HookRunScript.cpp
HookRunScript.cpp: Assembler messages:
HookRunScript.cpp:301: Warning: indirect call without `*'
HookRunScript.cpp:318: Warning: indirect call without `*'
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXProfiler.o NWNXProfiler.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-profiler.o plugin-profiler.cpp
g++ -m32 -w -fPIC -shared -W -Wall  -o nwnx_profiler.so hash.o HookRunScript.o NWNXProfiler.o plugin-profiler.o
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/profiler'
make -C plugins/reset PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-m32 -w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/reset'
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXReset.o NWNXReset.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-reset.o plugin-reset.cpp
g++ -m32 -w -fPIC -shared -W -Wall  -o nwnx_resetplugin.so NWNXReset.o plugin-reset.o 
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/reset'
make -C plugins/resman PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-m32 -w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/resman'
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o HookDemandRes.o HookDemandRes.cpp
In file included from /usr/include/c++/4.6/ext/hash_map:61:0,
                 from NWNXResMan.h:27,
                 from HookDemandRes.cpp:31:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NwnDefines.o NwnDefines.cpp
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXResMan.o NWNXResMan.cpp
In file included from /usr/include/c++/4.6/ext/hash_map:61:0,
                 from NWNXResMan.h:27,
                 from NWNXResMan.cpp:21:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
g++  -mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-resman.o plugin-resman.cpp
In file included from /usr/include/c++/4.6/ext/hash_map:61:0,
                 from NWNXResMan.h:27,
                 from plugin-resman.cpp:21:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
g++ -m32 -w -fPIC -shared -W -Wall  -o nwnx_resman.so HookDemandRes.o NwnDefines.o NWNXResMan.o plugin-resman.o
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/resman'
make -C plugins/spells PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -m32 -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-m32 -w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/spells'
gcc -mtune=i386 -pipe -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_GetSpellOption.o funcs/f_GetSpellOption.c
gcc -mtune=i386 -pipe -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_IntToObject.o funcs/f_IntToObject.c
gcc -mtune=i386 -pipe -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_SetSpellOption.o funcs/f_SetSpellOption.c
gcc -mtune=i386 -pipe -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_ComputeSpellRange.o hooks/h_ComputeSpellRange.c
hooks/h_ComputeSpellRange.c: In function ‘Hook_GetSpellRange’:
hooks/h_ComputeSpellRange.c:36:10: error: variable ‘no_bonus’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[1]: *** [hooks/h_ComputeSpellRange.o] Error 1
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/spells'
make: *** [plugins/spells] Error 2
for i in plugins/areas plugins/chat plugins/defenses plugins/events plugins/fixes plugins/funcs plugins/functions plugins/hashset plugins/mnx plugins/names plugins/odmbc plugins/profiler plugins/reset plugins/resman plugins/spells plugins/structs plugins/system plugins/tmi plugins/tweaks plugins/visibility plugins/weapons ; do make -C $i clean; done
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/areas'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/areas'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/chat'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/chat'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/defenses'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/defenses'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/events'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/events'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/fixes'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/fixes'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/funcs'
/bin/rm -f *.o *.so funcs/*/*.o
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/funcs'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/functions'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/functions'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/hashset'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/hashset'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/mnx'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/mnx'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/names'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/names'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/odmbc'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/odmbc'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/profiler'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/profiler'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/reset'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/reset'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/resman'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/resman'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/spells'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/spells'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/structs'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/structs'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/system'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/system'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/tmi'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/tmi'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/tweaks'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/tweaks'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/visibility'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/visibility'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/weapons'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/weapons'
/bin/rm -f *.o *.so lib/*.o *~
for i in plugins/areas plugins/chat plugins/defenses plugins/events plugins/fixes plugins/funcs plugins/functions plugins/hashset plugins/mnx plugins/names plugins/odmbc plugins/profiler plugins/reset plugins/resman plugins/spells plugins/structs plugins/system plugins/tmi plugins/tweaks plugins/visibility plugins/weapons ; do make -C $i distclean; done
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/areas'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/areas'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/chat'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/chat'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/defenses'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend DefensesStrCmds.h DefensesObjCmds.h
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/defenses'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/events'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/events'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/fixes'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/fixes'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/funcs'
/bin/rm -f *.o *.so funcs/*/*.o
/bin/rm -f .depend FuncsStrCmds.h FuncsObjCmds.h
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/funcs'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/functions'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/functions'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/hashset'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/hashset'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/mnx'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/mnx'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/names'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/names'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/odmbc'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/odmbc'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/profiler'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/profiler'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/reset'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/reset'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/resman'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/resman'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/spells'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend SpellsStrCmds.h SpellsObjCmds.h
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/spells'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/structs'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend StructsStrCmds.h StructsObjCmds.h
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/structs'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/system'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend SystemStrCmds.h SystemObjCmds.h
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/system'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/tmi'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/tmi'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/tweaks'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend TweaksStrCmds.h TweaksObjCmds.h
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/tweaks'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/visibility'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/visibility'
make[1]: Entering directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/weapons'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend WeaponsStrCmds.h WeaponsObjCmds.h
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/weapons'
/bin/rm -f Makefile config.h config.status config.cache config.log *.o *.so lib/*.o *~


Latest build attempt. Nothing past ResMan is built, I haven't tested the plugins to see if they seg fault yet.
Back to top
View user's profile Send private message
Marawaa



Joined: 10 Sep 2012
Posts: 15

PostPosted: Wed Sep 12, 2012 2:03    Post subject: Reply with quote

This is trying ./install.sh from the git files.

Code:

NWNXFuncsExt.cpp:80:35: warning: zero-length gnu_printf format string [-Wformat-zero-length]
NWNXFuncsExt.cpp:80:35: warning: zero-length gnu_printf format string [-Wformat-zero-length]
NWNXFuncsExt.cpp: In member function ‘void CNWNXFuncsExt::Set_IsGenericTrigger(CGameObject*, char*)’:
NWNXFuncsExt.cpp:146:35: warning: zero-length gnu_printf format string [-Wformat-zero-length]
NWNXFuncsExt.cpp:146:35: warning: zero-length gnu_printf format string [-Wformat-zero-length]
NWNXFuncsExt.cpp: In member function ‘void CNWNXFuncsExt::Set_IsAreaTransition(CGameObject*, char*)’:
NWNXFuncsExt.cpp:160:35: warning: zero-length gnu_printf format string [-Wformat-zero-length]
NWNXFuncsExt.cpp:160:35: warning: zero-length gnu_printf format string [-Wformat-zero-length]
gcc  -mtune=i386 -pipe  -Wall -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o plugin-funcsext.o plugin-funcsext.cpp
gcc -w -fPIC -shared -rdynamic -o nwnx_funcsext.so FunctionHooks.o NWNXFuncsExt.o plugin-funcsext.o -L/usr/local/lib -lm -lz
make[1]: Leaving directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/funcsext'
make -C plugins/functions PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/functions'
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o C2DA.o C2DA.cpp
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o CNWSScriptVarTable.o CNWSScriptVarTable.cpp
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o CExoLinkedList.o CExoLinkedList.cpp
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o CItemRepository.o CItemRepository.cpp
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o CExoLocString.o CExoLocString.cpp
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o FunctionHooks.o FunctionHooks.cpp
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXFunction.o NWNXFunction.cpp
NWNXFunction.cpp: In constructor ‘CNWNXFunction::CNWNXFunction()’:
NWNXFunction.cpp:34:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXFunction.cpp: In member function ‘char* CNWNXFunction::GetGroundHeight(char*)’:
NWNXFunction.cpp:380:53: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘dword* {aka long unsigned int*}’ [-Wformat]
NWNXFunction.cpp: In member function ‘void CNWNXFunction::GetIsWalkableHL(char*)’:
NWNXFunction.cpp:402:53: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘dword* {aka long unsigned int*}’ [-Wformat]
NWNXFunction.cpp: In member function ‘void CNWNXFunction::ActUseItem(char*)’:
NWNXFunction.cpp:547:84: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘dword* {aka long unsigned int*}’ [-Wformat]
NWNXFunction.cpp:547:84: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘dword* {aka long unsigned int*}’ [-Wformat]
NWNXFunction.cpp:547:84: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘dword* {aka long unsigned int*}’ [-Wformat]
NWNXFunction.cpp: In member function ‘void CNWNXFunction::GetPCPort(char*)’:
NWNXFunction.cpp:560:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘dword {aka long unsigned int}’ [-Wformat]
NWNXFunction.cpp: In member function ‘char* CNWNXFunction::GetNextLocalVariable(char*)’:
NWNXFunction.cpp:601:95: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘dword {aka long unsigned int}’ [-Wformat]
NWNXFunction.cpp:621:98: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘dword {aka long unsigned int}’ [-Wformat]
NWNXFunction.cpp: In member function ‘void CNWNXFunction::GetItemCount_Ext(char*)’:
NWNXFunction.cpp:635:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘dword {aka long unsigned int}’ [-Wformat]
NWNXFunction.cpp: In member function ‘void CNWNXFunction::ObjDump(char*)’:
NWNXFunction.cpp:672:43: warning: '0' flag used with ‘%p’ gnu_printf format [-Wformat]
NWNXFunction.cpp:676:60: warning: '0' flag used with ‘%p’ gnu_printf format [-Wformat]
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-functions.o plugin-functions.cpp
g++ -w -fPIC -shared -W -Wall  -o nwnx_functions.so C2DA.o CNWSScriptVarTable.o CExoLinkedList.o CItemRepository.o CExoLocString.o FunctionHooks.o NWNXFunction.o plugin-functions.o
make[1]: Leaving directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/functions'
make -C plugins/hashset PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/hashset'
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXHashSet.o NWNXHashSet.cpp
NWNXHashSet.cpp: In constructor ‘CNWNXHashSet::CNWNXHashSet()’:
NWNXHashSet.cpp:32:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::Lookup(char*, char*)’:
NWNXHashSet.cpp:250:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:255:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::Valid(char*, char*)’:
NWNXHashSet.cpp:265:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:269:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:272:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::Exists(char*, char*)’:
NWNXHashSet.cpp:279:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:284:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:287:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::GetSize(char*, char*)’:
NWNXHashSet.cpp:296:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:301:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::GetFirstKey(char*, char*)’:
NWNXHashSet.cpp:313:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:318:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:325:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::GetNextKey(char*, char*)’:
NWNXHashSet.cpp:334:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:339:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:344:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::GetCurrentKey(char*, char*)’:
NWNXHashSet.cpp:353:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:358:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:363:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::GetNthKey(char*, char*)’:
NWNXHashSet.cpp:377:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp: In member function ‘char* CNWNXHashSet::HasNext(char*, char*)’:
NWNXHashSet.cpp:384:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:389:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:396:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXHashSet.cpp:398:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-hashset.o plugin-hashset.cpp
g++ -w -fPIC -shared -W -Wall  -o nwnx_hashset.so NWNXHashSet.o plugin-hashset.o
make[1]: Leaving directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/hashset'
make -C plugins/mnx PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/mnx'
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXmnx.o NWNXmnx.cpp
NWNXmnx.cpp: In constructor ‘CNWNXmnx::CNWNXmnx()’:
NWNXmnx.cpp:27:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-mnx.o plugin-mnx.cpp
g++ -w -fPIC -shared -W -Wall  -o nwnx_mnx.so NWNXmnx.o plugin-mnx.o
make[1]: Leaving directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/mnx'
make -C plugins/names PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/names'
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o CCustomNames.o CCustomNames.cpp
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o HookFunc.o HookFunc.cpp
HookFunc.cpp: In function ‘char* GetServerFuncName(dword)’:
HookFunc.cpp:227:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:228:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:229:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:230:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:231:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:232:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:233:71: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:234:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:235:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:237:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:238:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:239:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:240:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:241:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:243:55: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:245:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:246:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:247:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:261:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp: In function ‘int GetNameHookProc(void*, int, char*, int)’:
HookFunc.cpp:704:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:710:38: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:711:20: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:715:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:719:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
HookFunc.cpp:730:17: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXNames.o NWNXNames.cpp
NWNXNames.cpp: In constructor ‘CNWNXNames::CNWNXNames()’:
NWNXNames.cpp:36:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-names.o plugin-names.cpp
g++ -w -fPIC -shared -W -Wall  -shared -o nwnx_names.so CCustomNames.o HookFunc.o NWNXNames.o plugin-names.o ../../NWNXBase.o ../../gline.o 
make[1]: Leaving directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/names'
make -C plugins/odmbc PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/odmbc'
rm *.o
rm: cannot remove `*.o': No such file or directory
make[1]: [all] Error 1 (ignored)
make SQLITE_SUPPORT=1 nwnx_odbc_sqlite_dynamic.so nwnx_odbc_sqlite_static.so
make[2]: Entering directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/odmbc'
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../.. -DSQLITE_SUPPORT  -c -o HookSCORCO.o HookSCORCO.cpp
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../.. -DSQLITE_SUPPORT  -c -o CExoString.o CExoString.cpp
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../.. -DSQLITE_SUPPORT  -c -o ObjectStorage.o ObjectStorage.cpp
ObjectStorage.cpp: In function ‘char* SaveObject(dword, int&)’:
ObjectStorage.cpp:121:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
ObjectStorage.cpp:126:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
ObjectStorage.cpp:131:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../.. -DSQLITE_SUPPORT  -c -o NWNXodbc.o NWNXodbc.cpp
NWNXodbc.cpp: In constructor ‘CNWNXODBC::CNWNXODBC()’:
NWNXodbc.cpp:37:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXodbc.cpp: In member function ‘virtual char* CNWNXODBC::OnRequest(char*, char*, char*)’:
NWNXodbc.cpp:193:62: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXodbc.cpp:193:62: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXodbc.cpp:193:62: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXodbc.cpp:211:66: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXodbc.cpp:211:66: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXodbc.cpp:211:66: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXodbc.cpp: In member function ‘virtual long unsigned int CNWNXODBC::OnRequestObject(char*, char*)’:
NWNXodbc.cpp:228:9: warning: converting to non-pointer type ‘long unsigned int’ from NULL [-Wconversion-null]
NWNXodbc.cpp: In member function ‘unsigned char* CNWNXODBC::ReadSCO(char*, char*, char*, int*, int*)’:
NWNXodbc.cpp:397:2: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../.. -DSQLITE_SUPPORT  -c -o plugin-odbc.o plugin-odbc.cpp
plugin-odbc.cpp:35:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
plugin-odbc.cpp:35:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
plugin-odbc.cpp:35:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
plugin-odbc.cpp:35:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
plugin-odbc.cpp:35:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
plugin-odbc.cpp:35:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../.. -DSQLITE_SUPPORT  -c -o sqlite.o sqlite.cpp
sqlite.cpp: In member function ‘virtual BOOL CSQLite::Connect()’:
sqlite.cpp:39:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
g++ -w -fPIC -shared -W -Wall  -o nwnx_odbc_sqlite_dynamic.so HookSCORCO.o CExoString.o ObjectStorage.o NWNXodbc.o plugin-odbc.o sqlite.o -lz -lsqlite3
g++ -w -fPIC -shared -W -Wall  -o nwnx_odbc_sqlite_static.so HookSCORCO.o CExoString.o ObjectStorage.o NWNXodbc.o plugin-odbc.o sqlite.o /usr/lib/i386-linux-gnu/libsqlite3.a -lz
make[2]: Leaving directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/odmbc'
make[1]: Leaving directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/odmbc'
make -C plugins/profiler PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/profiler'
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o hash.o hash.cpp
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o HookRunScript.o HookRunScript.cpp
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXProfiler.o NWNXProfiler.cpp
NWNXProfiler.cpp: In constructor ‘CNWNXProfiler::CNWNXProfiler()’:
NWNXProfiler.cpp:36:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-profiler.o plugin-profiler.cpp
g++ -w -fPIC -shared -W -Wall  -o nwnx_profiler.so hash.o HookRunScript.o NWNXProfiler.o plugin-profiler.o
make[1]: Leaving directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/profiler'
make -C plugins/reset PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/reset'
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXReset.o NWNXReset.cpp
NWNXReset.cpp: In constructor ‘CNWNXReset::CNWNXReset()’:
NWNXReset.cpp:35:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-reset.o plugin-reset.cpp
g++ -w -fPIC -shared -W -Wall  -o nwnx_reset.so NWNXReset.o plugin-reset.o 
make[1]: Leaving directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/reset'
make -C plugins/resman PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/resman'
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o HookDemandRes.o HookDemandRes.cpp
In file included from /usr/include/c++/4.6/ext/hash_map:61:0,
                 from NWNXResMan.h:27,
                 from HookDemandRes.cpp:31:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NwnDefines.o NwnDefines.cpp
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXResMan.o NWNXResMan.cpp
In file included from /usr/include/c++/4.6/ext/hash_map:61:0,
                 from NWNXResMan.h:27,
                 from NWNXResMan.cpp:21:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
NWNXResMan.cpp: In constructor ‘CNWNXResMan::CNWNXResMan()’:
NWNXResMan.cpp:32:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NWNXResMan.cpp: In member function ‘char* CNWNXResMan::DemandRes(CExoResMan*, CResStruct*, char*, NwnResType)’:
NWNXResMan.cpp:89:5: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
g++  -mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-resman.o plugin-resman.cpp
In file included from /usr/include/c++/4.6/ext/hash_map:61:0,
                 from NWNXResMan.h:27,
                 from plugin-resman.cpp:21:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
plugin-resman.cpp:36:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
plugin-resman.cpp:36:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
plugin-resman.cpp:36:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
plugin-resman.cpp:36:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
plugin-resman.cpp:36:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
plugin-resman.cpp:36:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
g++ -w -fPIC -shared -W -Wall  -o nwnx_resman.so HookDemandRes.o NwnDefines.o NWNXResMan.o plugin-resman.o
make[1]: Leaving directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/resman'
make -C plugins/spells PLUGIN_CFLAGS="-mtune=i386 -pipe -g -O2 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe  -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-w -fPIC -shared -W -Wall "
make[1]: Entering directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/spells'
gcc -mtune=i386 -pipe -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_GetSpellOption.o funcs/f_GetSpellOption.c
gcc -mtune=i386 -pipe -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_IntToObject.o funcs/f_IntToObject.c
gcc -mtune=i386 -pipe -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_SetSpellOption.o funcs/f_SetSpellOption.c
gcc -mtune=i386 -pipe -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_ComputeSpellRange.o hooks/h_ComputeSpellRange.c
hooks/h_ComputeSpellRange.c: In function ‘Hook_GetSpellRange’:
hooks/h_ComputeSpellRange.c:36:10: error: variable ‘no_bonus’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[1]: *** [hooks/h_ComputeSpellRange.o] Error 1
make[1]: Leaving directory `/home/upunpu/Desktop/NWNX-nwnx2-linux-e0583fe/NWNX-nwnx2-linux-e0583fe/plugins/spells'
make: *** [plugins/spells] Error 2
Back to top
View user's profile Send private message
Marawaa



Joined: 10 Sep 2012
Posts: 15

PostPosted: Wed Sep 12, 2012 2:50    Post subject: Reply with quote

If I try to make a single plugin its size is also wrong, the precompiled plugins are around 70KB but mine are 1-2MB, yet I still dont know what I'm doing wrong.
Back to top
View user's profile Send private message
Marawaa



Joined: 10 Sep 2012
Posts: 15

PostPosted: Fri Sep 14, 2012 4:18    Post subject: Reply with quote

Are there no suggestions of things I could try or is this just something I shouldn't really think about trying?
Back to top
View user's profile Send private message
acomputerdood



Joined: 30 Nov 2008
Posts: 27

PostPosted: Fri Sep 14, 2012 11:45    Post subject: Reply with quote

checking back through your compile log, you'll find this line:

hooks/h_ComputeSpellRange.c: In function ‘Hook_GetSpellRange’:
hooks/h_ComputeSpellRange.c:36:10: error: variable ‘no_bonus’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[1]: *** [hooks/h_ComputeSpellRange.o] Error 1
make[1]: Leaving directory `/home/upunpu/Desktop/Untitled Folder/nwnx2-linux/trunk/plugins/spells'
make: *** [plugins/spells] Error 2

the problem is that in the Makefile for this plugin, they left the -Werror option in. if you remove that, then the problem will just be flagged as a warning and continue compiling.
Back to top
View user's profile Send private message
Marawaa



Joined: 10 Sep 2012
Posts: 15

PostPosted: Fri Sep 14, 2012 23:25    Post subject: Reply with quote

Now all of the plugins compile, thank you! However, the plugins are still WAY off size compared to the precompiled ones. For example, the weapons plugin is 1.6 MB, the precompiled is 69.4 KB.

edit: And it still throws armfuls of errors. I'm not concerned with the Ruby/SQL ones, but Spells and Events throw errors, and it still SegFaults.

Code:

* Searching for signatures...
* Loading modules...
NWNX Lua Initialized
LUA plugin registered.
FIXES plugin registered.
VISIBILITY plugin registered.
ERROR: ODMBC_SQLITE: OnCreate() failed.
SYSTEM plugin registered.
TWEAKS plugin registered.
EXTEND plugin registered.
DMACTIONS plugin registered.
PROFILER plugin registered.
ERROR: dlopen: ./nwnx_ruby.so: libruby.so.1.9: cannot open shared object file: No such file or directory
HAKS plugin registered.
RESETPLUGIN plugin registered.
STRUCTS plugin registered.
OPTIMIZATIONS plugin registered.
FUNCSEXT plugin registered.
CHAT plugin registered.
ERROR: ODBC: OnCreate() failed.
HASHSET plugin registered.
ERROR: EVENTS: OnCreate() failed.
ERROR: dlopen: ./nwnx_spells.so: ./nwnx_spells.so: undefined symbol: Hook_SPR_Caster
AREAS plugin registered.
TMI plugin registered.
NAMES plugin registered.
WEAPONS plugin registered.
RESMAN plugin registered.
FUNCS plugin registered.
RESET plugin registered.
MNX plugin registered.
FUNCTIONS plugin registered.
DEFENSES plugin registered.
* NWNX2 activated.
Neverwinter Nights Server
Build:8109
Copyright BioWare Corp 1998-2004

Server: Loading...
Server: Running...

Server: Loading module "module000".Segmentation fault (core dumped)
Back to top
View user's profile Send private message
Marawaa



Joined: 10 Sep 2012
Posts: 15

PostPosted: Sat Sep 15, 2012 1:55    Post subject: Reply with quote

Are there any specific versions of gcc/zlib/anything I need to make this compile properly? I can even install another flavor of Linux if necessary, I don't have any qualms as long as I get everything to compile and work correctly.
Back to top
View user's profile Send private message
Squatting Monk



Joined: 28 Jun 2007
Posts: 76

PostPosted: Sat Sep 15, 2012 4:01    Post subject: Reply with quote

This is the line I had to run to get all the packages I needed. Dunno if this will help, but...
Code:
sudo apt-get install autoconf make build-essential gcc g++ zlib1g-dev libmysqlclient16 libmysqlclient-dev
Back to top
View user's profile Send private message
Marawaa



Joined: 10 Sep 2012
Posts: 15

PostPosted: Sat Sep 15, 2012 18:28    Post subject: Reply with quote

Code:

E: Unable to locate package libmysqlclient16


Code:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
autoconf is already the newest version.
g++ is already the newest version.
gcc is already the newest version.
make is already the newest version.
zlib1g-dev is already the newest version.
build-essential is already the newest version.
libmysqlclient-dev is already the newest version.
libmysqlclient18 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.


Thanks for at least suggesting something though Sad


Last edited by Marawaa on Sat Sep 15, 2012 22:50; edited 1 time in total
Back to top
View user's profile Send private message
Marawaa



Joined: 10 Sep 2012
Posts: 15

PostPosted: Sat Sep 15, 2012 21:45    Post subject: Reply with quote

I now have two Ubuntu installations and neither work for compiling. Could someone please ensure that the svn's current files compile properly before I spend any more days trying to get this working? After hours of installing and updating I think it might just be the svn. I can't think of another reason at this point other than it simply not working on the latest Ubuntu versions.

Installed Ubuntu on my SSD, updated it to the latest version in the update manager/apt-get upgrade/update, then ran
Code:

sudo apt-get install autoconf make build-essential gcc g++ zlib1g-dev libmysqlclient18 libmysqlclient-dev


Afterwards I checked out the current trunk svn repo into /home/test/Desktop/test, removed -werror from any Makefiles and then ran ./configure and ./install. When that didn't work I ran individual make commands on each plugin, and none of them came out correctly - their sizes are enormous and incorrect, and cause a SegFault on a normally functioning nwnx installation.
Back to top
View user's profile Send private message
Ravine



Joined: 26 Jul 2006
Posts: 105

PostPosted: Sat Sep 15, 2012 23:03    Post subject: Reply with quote

Hm, i'm using debian, and never had these problems.
Just to be sure, you made:

Code:
# svn co http://nwn.virusman.ru/svn/nwnx2-linux/trunk ./nwnx_svn
#cd nwnx_svn
#autoconf
#./configure
# make



Right?

In you first comment, in the logs i see this:

Code:
mysql.h:27:25: fatal error: mysql/mysql.h: No such file or directory
compilation terminated.


I assume this is fixed later...
Back to top
View user's profile Send private message
Marawaa



Joined: 10 Sep 2012
Posts: 15

PostPosted: Sat Sep 15, 2012 23:52    Post subject: Reply with quote

That was fixed later, yes. Smile

Going to try a copy of Debian instead since I have a couple of hours. Can't imagine why it wouldn't work on Ubuntu, though, I'm sure there have to be people running it on that.

edit:
I'm actually running
Code:

#cd nwnx_svn
# svn co http://nwn.virusman.ru/svn/nwnx2-linux/trunk .
# autoconf
#./configure
#./install


Or something like that.

Can't imagine it makes an enormous difference but I'll give it a go.

edit: The sizes are still wrong but thanks anyway, it still SegFaults. I'll try Debian another time.

Code:

Server: Loading module "module000"...
Server: Module loaded
Segmentation fault (core dumped)

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support All times are GMT + 2 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group