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 
 
Problems compiling nwnx2
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support
View previous topic :: View next topic  
Author Message
Ephasme



Joined: 24 Aug 2010
Posts: 7

PostPosted: Wed Apr 20, 2011 5:11    Post subject: Reply with quote

Hi,

I have installed all dependecies for execute the command ./install.sh, but when I lauch it, I get few modules in my compile directory.
How can I get all modules ? There's something to configure ?
Back to top
View user's profile Send private message
Calvinthesneak



Joined: 15 Nov 2010
Posts: 14

PostPosted: Fri Apr 22, 2011 3:08    Post subject: Reply with quote

I ran into issues after I had to reformat. Went with Ubuntu 10.10 Server 64 bit edition.

It seems to stick on fixes, events is the last .so that compiles correctly.

EDIT: Removed fixes from the makefile and added letoscript, and it compiled without any problem. Problem I belive resides in nwn_fixes.

Code:
./install.sh
bash: ./install.sh: No such file or directory
wolfman@webserver:~/nwn/src/plugins$ cd ..
wolfman@webserver:~/nwn/src$ cd ..
wolfman@webserver:~/nwn$ cd src
wolfman@webserver:~/nwn/src$ ./install.sh
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for void *... yes
checking size of void *... 8
checking for a sed that does not truncate output... /bin/sed
checking whether the C compiler accepts the -mtune=i386 flag... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for bzero... yes
checking for getspnam... yes
checking for inflateEnd in -lz... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating plugins/areas/Makefile
config.status: creating plugins/chat/Makefile
config.status: creating plugins/defenses/Makefile
config.status: creating plugins/events/Makefile
config.status: creating plugins/fixes/Makefile
config.status: creating plugins/funcs/Makefile
config.status: creating plugins/functions/Makefile
config.status: creating plugins/hashset/Makefile
config.status: creating plugins/mnx/Makefile
config.status: creating plugins/odmbc/Makefile
config.status: creating plugins/profiler/Makefile
config.status: creating plugins/reset/Makefile
config.status: creating plugins/resman/Makefile
config.status: creating plugins/ruby/Makefile
config.status: creating plugins/spells/Makefile
config.status: creating plugins/structs/Makefile
config.status: creating plugins/system/Makefile
config.status: creating plugins/tmi/Makefile
config.status: creating plugins/tweaks/Makefile
config.status: creating plugins/weapons/Makefile
config.status: creating config.h
g++  -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H  -c -o nwnx2lib.o nwnx2lib.cpp
nwnx2lib.cpp: In constructor ‘startstop::startstop()’:
nwnx2lib.cpp:658: warning: format ‘%p’ expects type ‘void*’, but argument 2 has type ‘long unsigned int’
nwnx2lib.cpp:658: warning: format ‘%p’ expects type ‘void*’, but argument 3 has type ‘long unsigned int’
nwnx2lib.cpp:660: warning: format ‘%p’ expects type ‘void*’, but argument 2 has type ‘long unsigned int’
nwnx2lib.cpp:660: warning: format ‘%p’ expects type ‘void*’, but argument 3 has type ‘long unsigned int’
nwnx2lib.cpp: Assembler messages:
nwnx2lib.cpp:463: Warning: indirect jmp without `*'
nwnx2lib.cpp:497: Warning: indirect jmp without `*'
g++  -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H  -c -o NWNXBase.o NWNXBase.cpp
g++  -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H  -c -o gline.o gline.cpp
cc -mtune=i386 -pipe -m32 -g -O2 -Iinclude -DHAVE_CONFIG_H -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H  -c -o lib/nwn_data.o lib/nwn_data.c
cc -mtune=i386 -pipe -m32 -g -O2 -Iinclude -DHAVE_CONFIG_H -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H  -c -o lib/nwn_funcs.o lib/nwn_funcs.c
cc -mtune=i386 -pipe -m32 -g -O2 -Iinclude -DHAVE_CONFIG_H -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H  -c -o lib/nwn_hooks.o lib/nwn_hooks.c
cc -mtune=i386 -pipe -m32 -g -O2 -Iinclude -DHAVE_CONFIG_H -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H  -c -o lib/nx_hook.o lib/nx_hook.c
cc -mtune=i386 -pipe -m32 -g -O2 -Iinclude -DHAVE_CONFIG_H -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H  -c -o lib/nx_log.o lib/nx_log.c
cc -mtune=i386 -pipe -m32 -g -O2 -Iinclude -DHAVE_CONFIG_H -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H  -c -o lib/nx_safe.o lib/nx_safe.c
cc -mtune=i386 -pipe -m32 -g -O2 -Iinclude -DHAVE_CONFIG_H -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H  -c -o lib/nx_signature.o lib/nx_signature.c
g++ -w -fPIC -shared -W -Wall -m32  -o nwnx2.so nwnx2lib.o NWNXBase.o gline.o lib/nwn_data.o lib/nwn_funcs.o lib/nwn_hooks.o lib/nx_hook.o lib/nx_log.o lib/nx_safe.o lib/nx_signature.o -ldl
make -C plugins/areas PLUGIN_CFLAGS="-mtune=i386 -pipe -m32 -g -O2 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-w -fPIC -shared -W -Wall -m32 "
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/areas'
g++  -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o HookFunc.o HookFunc.cpp
g++  -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXAreas.o NWNXAreas.cpp
NWNXAreas.cpp: In constructor ‘CNWNXAreas::CNWNXAreas()’:
NWNXAreas.cpp:36: warning: deprecated conversion from string constant to ‘char*’
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 CExoLocString.o CExoLocString.cpp
g++  -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-areas.o plugin-areas.cpp
g++ -w -fPIC -shared -W -Wall -m32  -o nwnx_areas.so HookFunc.o NWNXAreas.o CExoLinkedList.o CExoLocString.o plugin-areas.o
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/areas'
make -C plugins/chat PLUGIN_CFLAGS="-mtune=i386 -pipe -m32 -g -O2 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-w -fPIC -shared -W -Wall -m32 "
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/chat'
g++  -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o HookChat.o HookChat.cpp
HookChat.cpp: Assembler messages:
HookChat.cpp:66: Warning: indirect jmp without `*'
g++  -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXChat.o NWNXChat.cpp
NWNXChat.cpp: In constructor ‘CNWNXChat::CNWNXChat()’:
NWNXChat.cpp:36: warning: deprecated conversion from string constant to ‘char*’
NWNXChat.cpp: In member function ‘char* CNWNXChat::SendMessage(char*)’:
NWNXChat.cpp:97: warning: deprecated conversion from string constant to ‘char*’
NWNXChat.cpp:105: warning: deprecated conversion from string constant to ‘char*’
NWNXChat.cpp:114: warning: deprecated conversion from string constant to ‘char*’
NWNXChat.cpp:121: warning: deprecated conversion from string constant to ‘char*’
NWNXChat.cpp:122: warning: deprecated conversion from string constant to ‘char*’
g++  -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-chat.o plugin-chat.cpp
g++ -w -fPIC -shared -W -Wall -m32  -o nwnx_chat.so HookChat.o NWNXChat.o plugin-chat.o
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/chat'
make -C plugins/defenses PLUGIN_CFLAGS="-mtune=i386 -pipe -m32 -g -O2 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-w -fPIC -shared -W -Wall -m32 "
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/defenses'
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_GetACByType.o funcs/f_GetACByType.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_GetACVersus.o funcs/f_GetACVersus.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_GetAllSpellImmunities.o funcs/f_GetAllSpellImmunities.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_GetDefenseOption.o funcs/f_GetDefenseOption.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_GetEffectDamageReduction.o funcs/f_GetEffectDamageReduction.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_GetEffectDamageResistance.o funcs/f_GetEffectDamageResistance.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_GetHasSpellImmunity.o funcs/f_GetHasSpellImmunity.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_GetSavingThrowVersus.o funcs/f_GetSavingThrowVersus.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_GetTotalDamageImmunityDecrease.o funcs/f_GetTotalDamageImmunityDecrease.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_GetTrueDamageImmunity.o funcs/f_GetTrueDamageImmunity.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -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 -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_SetDefenseOption.o funcs/f_SetDefenseOption.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o funcs/f_SetSavingThrowFeat.o funcs/f_SetSavingThrowFeat.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_AddDamageImmunity.o hooks/h_AddDamageImmunity.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_CheckConcealment.o hooks/h_CheckConcealment.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_CombatHitDamage.o hooks/h_CombatHitDamage.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_ConfirmCritical.o hooks/h_ConfirmCritical.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_GetACNaturalBase.o hooks/h_GetACNaturalBase.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_GetArmorCheckPenalty.o hooks/h_GetArmorCheckPenalty.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_GetDamageImmunity.o hooks/h_GetDamageImmunity.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_GetDamageResistance.o hooks/h_GetDamageResistance.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_GetHasSlipperyMind.o hooks/h_GetHasSlipperyMind.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_GetIsDeathAttackImmune.o hooks/h_GetIsDeathAttackImmune.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_GetIsSneakAttackImmune.o hooks/h_GetIsSneakAttackImmune.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_GetSavingThrow.o hooks/h_GetSavingThrow.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_GetTumbleACBonus.o hooks/h_GetTumbleACBonus.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_PickPocketDC.o hooks/h_PickPocketDC.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o hooks/h_SetDamageImmunity.o hooks/h_SetDamageImmunity.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_AdjustCombatHitDamage.o local/l_AdjustCombatHitDamage.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetACChaAdjustment.o local/l_GetACChaAdjustment.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetACClassAdjustment.o local/l_GetACClassAdjustment.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetACConAdjustment.o local/l_GetACConAdjustment.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetACDexAdjustment.o local/l_GetACDexAdjustment.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetACEquipAdjustment.o local/l_GetACEquipAdjustment.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetACFeatAdjustment.o local/l_GetACFeatAdjustment.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetACIntAdjustment.o local/l_GetACIntAdjustment.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetACSkillAdjustment.o local/l_GetACSkillAdjustment.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetACStrAdjustment.o local/l_GetACStrAdjustment.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetACTouchBase.o local/l_GetACTouchBase.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetACTumbleAdjustment.o local/l_GetACTumbleAdjustment.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetACWisAdjustment.o local/l_GetACWisAdjustment.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetArmorCheckPenaltyAdjustment.o local/l_GetArmorCheckPenaltyAdjustment.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetConcealmentCheckResult.o local/l_GetConcealmentCheckResult.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetCritConfirmationResult.o local/l_GetCritConfirmationResult.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetDamageImmunity.o local/l_GetDamageImmunity.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetHasSlipperyMind.o local/l_GetHasSlipperyMind.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetIsDeathAttackImmune.o local/l_GetIsDeathAttackImmune.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetIsSneakAttackImmune.o local/l_GetIsSneakAttackImmune.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o local/l_GetPickPocketDCAdjustment.o local/l_GetPickPocketDCAdjustment.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o tables/t_DefenseOptions.o tables/t_DefenseOptions.c
gcc -mtune=i386 -pipe -m32 -g -O2 -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o tables/t_DefenseSaveFeats.o tables/t_DefenseSaveFeats.c
gperf -L ANSI-C -tCG -m 10 -K name -H DefensesStrCommandHash \
     -N DefensesStrCommandLookup -W DefensesStrCommandList \
     "DefensesStrCmds.gperf" --output-file="gperf.out"
/bin/sed -i 's/\<\(\(MIN\|MAX\)_\(WORD_LENGTH\|HASH_VALUE\)\|TOTAL_KEYWORDS\)\>/NWNX_DEFENSES_STRCMD_\1/g' \
     "gperf.out" || rm -f "gperf.out"
/bin/sed -i 's/^const struct/static const struct/' "gperf.out" || rm -f "gperf.out"
/bin/mv "gperf.out" "DefensesStrCmds.h"
gperf -L ANSI-C -tCG -m 10 -K name -H DefensesObjCommandHash \
     -N DefensesObjCommandLookup -W DefensesObjCommandList \
     "DefensesObjCmds.gperf" --output-file="gperf.out"
/bin/sed -i 's/\<\(\(MIN\|MAX\)_\(WORD_LENGTH\|HASH_VALUE\)\|TOTAL_KEYWORDS\)\>/NWNX_DEFENSES_OBJCMD_\1/g' \
     "gperf.out" || rm -f "gperf.out"
/bin/sed -i 's/^const struct/static const struct/' "gperf.out" || rm -f "gperf.out"
/bin/mv "gperf.out" "DefensesObjCmds.h"
gcc  -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o NWNXDefenses.o NWNXDefenses.cpp
gcc  -mtune=i386 -pipe -m32  -Wall -Werror -D_REENTRANT -D_THREAD_SAFE -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o plugin-defenses.o plugin-defenses.cpp
gcc -m32  -w -fPIC -shared -rdynamic -o nwnx_defenses.so funcs/f_GetACByType.o funcs/f_GetACVersus.o funcs/f_GetAllSpellImmunities.o funcs/f_GetDefenseOption.o funcs/f_GetEffectDamageReduction.o funcs/f_GetEffectDamageResistance.o funcs/f_GetHasSpellImmunity.o funcs/f_GetSavingThrowVersus.o funcs/f_GetTotalDamageImmunityDecrease.o funcs/f_GetTrueDamageImmunity.o funcs/f_IntToObject.o funcs/f_SetDefenseOption.o funcs/f_SetSavingThrowFeat.o hooks/h_AddDamageImmunity.o hooks/h_CheckConcealment.o hooks/h_CombatHitDamage.o hooks/h_ConfirmCritical.o hooks/h_GetACNaturalBase.o hooks/h_GetArmorCheckPenalty.o hooks/h_GetDamageImmunity.o hooks/h_GetDamageResistance.o hooks/h_GetHasSlipperyMind.o hooks/h_GetIsDeathAttackImmune.o hooks/h_GetIsSneakAttackImmune.o hooks/h_GetSavingThrow.o hooks/h_GetTumbleACBonus.o hooks/h_PickPocketDC.o hooks/h_SetDamageImmunity.o local/l_AdjustCombatHitDamage.o local/l_GetACChaAdjustment.o local/l_GetACClassAdjustment.o local/l_GetACConAdjustment.o local/l_GetACDexAdjustment.o local/l_GetACEquipAdjustment.o local/l_GetACFeatAdjustment.o local/l_GetACIntAdjustment.o local/l_GetACSkillAdjustment.o local/l_GetACStrAdjustment.o local/l_GetACTouchBase.o local/l_GetACTumbleAdjustment.o local/l_GetACWisAdjustment.o local/l_GetArmorCheckPenaltyAdjustment.o local/l_GetConcealmentCheckResult.o local/l_GetCritConfirmationResult.o local/l_GetDamageImmunity.o local/l_GetHasSlipperyMind.o local/l_GetIsDeathAttackImmune.o local/l_GetIsSneakAttackImmune.o local/l_GetPickPocketDCAdjustment.o tables/t_DefenseOptions.o tables/t_DefenseSaveFeats.o NWNXDefenses.o plugin-defenses.o -L/usr/local/lib -lm -lz
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/defenses'
make -C plugins/events PLUGIN_CFLAGS="-mtune=i386 -pipe -m32 -g -O2 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-w -fPIC -shared -W -Wall -m32 "
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/events'
g++  -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o HookFunc.o HookFunc.cpp
HookFunc.cpp: In function ‘int HookFunctions()’:
HookFunc.cpp:840: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:841: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:842: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:843: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:844: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:845: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:846: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:847: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:848: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:849: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:850: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:851: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:852: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:853: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:854: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:855: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:856: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:857: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp:858: warning: deprecated conversion from string constant to ‘char*’
HookFunc.cpp: Assembler messages:
HookFunc.cpp:105: Warning: indirect jmp without `*'
HookFunc.cpp:134: Warning: indirect jmp without `*'
HookFunc.cpp:169: Warning: indirect jmp without `*'
HookFunc.cpp:220: Warning: indirect jmp without `*'
HookFunc.cpp:278: Warning: indirect call without `*'
HookFunc.cpp:370: Warning: indirect call without `*'
HookFunc.cpp:402: Warning: indirect jmp without `*'
HookFunc.cpp:421: Warning: indirect jmp without `*'
HookFunc.cpp:440: Warning: indirect jmp without `*'
HookFunc.cpp:459: Warning: indirect jmp without `*'
HookFunc.cpp:478: Warning: indirect jmp without `*'
HookFunc.cpp:506: Warning: indirect jmp without `*'
HookFunc.cpp:535: Warning: indirect jmp without `*'
HookFunc.cpp:554: Warning: indirect jmp without `*'
HookFunc.cpp:604: Warning: indirect jmp without `*'
HookFunc.cpp:621: Warning: indirect jmp without `*'
HookFunc.cpp:636: Warning: indirect jmp without `*'
g++  -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o NWNXEvents.o NWNXEvents.cpp
NWNXEvents.cpp: In constructor ‘CNWNXEvents::CNWNXEvents()’:
NWNXEvents.cpp:40: warning: deprecated conversion from string constant to ‘char*’
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 CExoLocString.o CExoLocString.cpp
g++  -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H -I../..  -c -o plugin-events.o plugin-events.cpp
g++ -w -fPIC -shared -W -Wall -m32  -o nwnx_events.so HookFunc.o NWNXEvents.o CExoLinkedList.o CExoLocString.o plugin-events.o
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/events'
make -C plugins/fixes PLUGIN_CFLAGS="-mtune=i386 -pipe -m32 -g -O2 -Iinclude -DHAVE_CONFIG_H" PLUGIN_CPPFLAGS="-mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H" PLUGIN_LFLAGS="-w -fPIC -shared -W -Wall -m32 "
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/fixes'
g++  -mtune=i386 -pipe -m32  -Iinclude -DHAVE_CONFIG_H -I. -I.. -I../.. -I ../../include -I/usr/local/include  -c -o FixesHooks.o FixesHooks.cpp
FixesHooks.cpp: In function ‘int CNWSCreature__DoDamage_hook(CNWSCreature*, unsigned int)’:
FixesHooks.cpp:288: warning: deprecated conversion from string constant to ‘char*’
FixesHooks.cpp: In function ‘int FindHookFunctions()’:
FixesHooks.cpp:519: error: ‘uint8_t’ was not declared in this scope
FixesHooks.cpp:519: error: expected ‘;’ before ‘cap_ability_inc’
FixesHooks.cpp:526: error: ‘uint8_t’ was not declared in this scope
FixesHooks.cpp:526: error: expected ‘;’ before ‘cap_ability_dec’
FixesHooks.cpp:527: error: expected ‘;’ before ‘cap_ability_dec’
FixesHooks.cpp:534: error: ‘uint8_t’ was not declared in this scope
FixesHooks.cpp:534: error: expected ‘;’ before ‘cap_atkbonus_inc’
FixesHooks.cpp:535: error: expected ‘;’ before ‘cap_atkbonus_inc’
FixesHooks.cpp:542: error: ‘uint8_t’ was not declared in this scope
FixesHooks.cpp:542: error: expected ‘;’ before ‘cap_atkbonus_dec’
FixesHooks.cpp:543: error: expected ‘;’ before ‘cap_atkbonus_dec’
FixesHooks.cpp:550: error: ‘uint8_t’ was not declared in this scope
FixesHooks.cpp:550: error: expected ‘;’ before ‘cap_skill_inc’
FixesHooks.cpp:551: error: expected ‘;’ before ‘cap_skill_inc’
FixesHooks.cpp:558: error: ‘uint8_t’ was not declared in this scope
FixesHooks.cpp:558: error: expected ‘;’ before ‘cap_skill_dec’
FixesHooks.cpp:559: error: expected ‘;’ before ‘cap_skill_dec’
make[1]: *** [FixesHooks.o] Error 1
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/fixes'
make: *** [plugins/fixes] Error 2
for i in plugins/areas plugins/chat plugins/defenses plugins/events plugins/fixes plugins/funcs plugins/functions plugins/hashset plugins/mnx plugins/odmbc plugins/profiler plugins/reset plugins/resman plugins/spells plugins/structs plugins/tmi plugins/tweaks plugins/weapons ; do make -C $i clean; done
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/areas'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/areas'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/chat'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/chat'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/defenses'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/defenses'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/events'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/events'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/fixes'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/fixes'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/funcs'
/bin/rm -f *.o *.so funcs/*/*.o
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/funcs'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/functions'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/functions'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/hashset'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/hashset'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/mnx'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/mnx'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/odmbc'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/odmbc'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/profiler'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/profiler'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/reset'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/reset'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/resman'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/resman'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/spells'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/spells'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/structs'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/structs'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/tmi'
/bin/rm -f *.o *.so *~
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/tmi'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/tweaks'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/tweaks'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/weapons'
/bin/rm -f *.o */*.o *.so
make[1]: Leaving directory `/home/wolfman/nwn/src/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/odmbc plugins/profiler plugins/reset plugins/resman plugins/spells plugins/structs plugins/tmi plugins/tweaks plugins/weapons ; do make -C $i distclean; done
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/areas'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/areas'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/chat'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/chat'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/defenses'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend DefensesStrCmds.h DefensesObjCmds.h
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/defenses'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/events'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/events'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/fixes'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/fixes'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/funcs'
/bin/rm -f *.o *.so funcs/*/*.o
/bin/rm -f .depend FuncsStrCmds.h FuncsObjCmds.h
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/funcs'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/functions'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/functions'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/hashset'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/hashset'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/mnx'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/mnx'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/odmbc'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/odmbc'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/profiler'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/profiler'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/reset'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/reset'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/resman'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/resman'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/spells'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend SpellsStrCmds.h SpellsObjCmds.h
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/spells'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/structs'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend StructsStrCmds.h StructsObjCmds.h
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/structs'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/tmi'
/bin/rm -f *.o *.so *~
/bin/rm -f Makefile
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/tmi'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/tweaks'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend TweaksStrCmds.h TweaksObjCmds.h
make[1]: Leaving directory `/home/wolfman/nwn/src/plugins/tweaks'
make[1]: Entering directory `/home/wolfman/nwn/src/plugins/weapons'
/bin/rm -f *.o */*.o *.so
/bin/rm -f .depend WeaponsStrCmds.h WeaponsObjCmds.h
make[1]: Leaving directory `/home/wolfman/nwn/src/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.
Back to top
View user's profile Send private message
Feiwill



Joined: 12 Mar 2013
Posts: 7
Location: Czech Republic

PostPosted: Sun Apr 07, 2013 16:13    Post subject: Reply with quote

Is anyone still experiencing these issues when trying to run nwn with nwnx2 (current svn checkout)? I just can't seem to get rid of them.

Code:
ERROR: dlopen: ./nwnx_weapons.so: ./nwnx_weapons.so: undefined symbol: WeaponsStrCommandLookup
ERROR: dlopen: ./nwnx_defenses.so: ./nwnx_defenses.so: undefined symbol: DefensesStrCommandLookup


I tried including plugins/ruby into the root Makefile.in, but the problem persists. Tried binutils 2.21.1 and 2.22, gcc 4.6, 4.5 and 4.4. Compilation proceeds without an error. Interestingly enough, the nwnx modules compiled a couple months ago with one of these versions, run fine. Neither make nor gperf, not even glibc changed in the system since then.

It's a 32b Gentoo box.
_________________
Arkhalia: Czech/Slovak PG/action/loot NWN1 server
Back to top
View user's profile Send private message Visit poster's website
MetaPhaze



Joined: 03 Jun 2007
Posts: 30
Location: USA

PostPosted: Sun Sep 15, 2013 0:15    Post subject: Reply with quote

I've finally resolved all of my building and running issues.

I run gentoo.

I used to get dlopen errors for most of my plugins as you can see in my previous posts to this thread.
I now have a server running with almost all of the plugins working with no errors.

Just to show what plugins i have working.

NWNX2lib: Init
NWNX2lib: org SetString() at 81f41b4, new SetString() at b776e097
NWNX2lib: org GetObj() at 81f40bc, new GetObj() at b776e0be
* Parsing configuration...
NWN Extender v2.8-dev
(c) 2004 by the APS/NWNX Linux Conversion Group
(c) 2007-2010 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...
VISIBILITY plugin registered.
HASHSET plugin registered.
FIXES plugin registered.
AREAS plugin registered.
FUNCTIONS plugin registered.
NWNX Ruby Initialized
RUBY plugin registered.
FUNCSEXT plugin registered.
MNX plugin registered.
CONNECT plugin registered.
SYSTEM plugin registered.
TMI plugin registered.
WEAPONS plugin registered.
EVENTS plugin registered.
TWEAKS plugin registered.
ODBC plugin registered.
NAMES plugin registered.
OPTIMIZATIONS plugin registered.
SERVERLIST plugin registered.
PROFILER plugin registered.
RESMAN plugin registered.
EXTEND plugin registered.
FUNCS plugin registered.
RESET plugin registered.
DEFENSES plugin registered.
CHAT plugin registered.
STRUCTS plugin registered.
SPELLS plugin registered.
DMACTIONS plugin registered.
* NWNX2 activated.
Neverwinter Nights Server
Build:8109
Copyright BioWare Corp 1998-2004

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

Server: Loading module "mystrixonline_com_v3_2"........................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Server: Module loaded
INIT(S): valid ret=0x082041ec
INIT(O): valid ret=0x08203e79
INIT(S): reset ignored ret=0x082041ec

this is what i did.

I used ./compile.sh because ./install.sh can not find my mysql client libraries and doesn't seem to compile a ruby plugin.

compile.sh seemed to build everything just fine but most of the plugins would not work during run time... they failed with dlopen errors stating that certain symbols couldn't be found.

I did some googling and stack overflow had my answer...

I downloaded nwnx2 2.8-dev from github.com and after many frustrating hours and googling I added one option to the gcc compile line in Makefile.in

here is my current Makefile.in:

CXX = @CXX@
LIBS = @LIBS@ -ldl
DEFS = @DEFS@
LFLAGS = -w -fPIC -shared -W -Wall @LDFLAGS@
CFLAGS = @CFLAGS@ -Iinclude $(DEFS)
CPPFLAGS = @CPPFLAGS@ -Iinclude $(DEFS)

# Add your own plugins to the compilation with this configure option:
# ./configure --with-extraplugins="plugin1 plugin2 ..."
SUBDIRS = \
plugins/areas \
plugins/chat \
plugins/defenses \
plugins/dmactions \
plugins/events \
plugins/extend \
plugins/fixes \
plugins/funcs \
plugins/funcsext \
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 \
@EXTRAPLUGINDIRS@

LIBRARY = \
lib/nwn_data.o \
lib/nwn_funcs.o \
lib/nwn_hooks.o \
lib/nx_hook.o \
lib/nx_log.o \
lib/nx_safe.o \
lib/nx_signature.o


all: nwnx2.so subdirs override

nwnx2.so: nwnx2lib.o NWNXBase.o modules.o lists.o gline.o $(LIBRARY)
$(CXX) $(LFLAGS) -o $@ $^ $(LIBS)

# always execute regardless of existance or timestamp
.PHONY: clean subdirs override $(SUBDIRS)

subdirs: $(SUBDIRS)

override:
make -C override all

$(SUBDIRS):
$(MAKE) -C $@ PLUGIN_CFLAGS="$(CFLAGS)" PLUGIN_CPPFLAGS="$(CPPFLAGS)" PLUGIN_LFLAGS="$(LFLAGS)" -rdynamic

clean:
for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done
/bin/rm -f *.o *.so lib/*.o *~
make -C override clean

install: all
for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done
mkdir -p @prefix@/
install nwnx2.so @prefix@/
if [ ! -f @prefix@/nwnx2.ini ]; then install nwnx2.ini @prefix@/; fi

distclean:
for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done
/bin/rm -f Makefile config.h config.status config.cache config.log *.o *.so lib/*.o *~

All I did was add -rdynamic to line 61 and now my plugins work fine.
I should also mention that I had to rename my nwnx_odmbc_mysql.so to nwnx_odbc.so before my database would work.

I do not use nwnx_jvm.so or nwnx_lua.so or nwnx_vaultster.so or the pgsql or the sqlite databases so those are untested by me.

I hope this post reminds me of what i need to do to make this work come next build time...

I also hope someone else finds this information useful and productive.

MetaPhaze ;)
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
kucik



Joined: 11 Feb 2009
Posts: 19
Location: Czech Republic

PostPosted: Wed Feb 04, 2015 13:55    Post subject: Reply with quote

^^ Thanks. This helped a lot and saved few hours of googling.
_________________
Les jambes en l'air, comme une femme lubrique,
Brűlante et suant les poisons,
Ouvrait d'une façon nonchalante et cynique
Son ventre plein d'exhalaisons.
Back to top
View user's profile Send private message Visit poster's website
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 Previous  1, 2, 3
Page 3 of 3

 
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