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 
 
nwserver won't start with nwnx_structs

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support
View previous topic :: View next topic  
Author Message
Feiwill



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

PostPosted: Tue Mar 12, 2013 17:37    Post subject: nwserver won't start with nwnx_structs Reply with quote

I have revision 506 of nwnx2. All compiles (sort of) fine, but when I include nwnx_structs in LD_PRELOAD, the game won't start.

The only changes I make to the sourcecode is removing -Werror from nwnx_spells' Makefile and commenting out Pickpocket DC modifications in nwnx_defenses. Neither of which has any effect on nwnx_structs (right?), I suppose.

Any ideas pls?
_________________
Arkhalia: Czech/Slovak PG/action/loot NWN1 server
Back to top
View user's profile Send private message Visit poster's website
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Mon May 13, 2013 0:07    Post subject: Reply with quote

Don't add plugins in LD_PRELOAD. Only nwnx2.so should go there, it loads the plugins automatically.
_________________
In Soviet Russia, NWN plays you!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Feiwill



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

PostPosted: Mon May 13, 2013 14:19    Post subject: Reply with quote

Tried that, with no positive effect. What helped is changing the system environment. My regular Gentoo compiles nwnx_structs, but it segfaults. I have another Gentoo in a chroot and with that I can make nwnx_structs that runs. It has some obsolete packages - maybe it's the old gcc/gperf that matter. But just in case, here's its more detailed config and key pkg versions. All packages in the system were built with this setup. Note that CFLAGS="" isn't the same as omitting CFLAGS in make.conf - the profile has a non-empty default value for it.

starting stage3: i486 (probably irrelevant)
profile: default/linux/x86/13.0/developer

app-shells/bash: 4.2_p37
dev-db/mysql: 5.1.66
dev-util/gperf: 3.0.2
dev-util/pkgconfig: 0.27.1
sys-devel/autoconf: 2.69
sys-devel/automake: 1.11.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.5.4
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc: 2.15-r3

Code:
ACCEPT_KEYWORDS="x86"
CFLAGS=""
CHOST="i486-pc-linux-gnu"
CXXFLAGS=""
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nostrip parallel-fetch protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS=""
USE="acpi bash-completion bindist cdinstall dbi dbm dedicated flatfile gdbm
     iconv icu inifile inotify iodbc mysql mysqli nls nocd nptl odbc posix
     qdbm recode sockets subversion sysvipc threads unicode videos vim-syntax
     xmlrpc -3dfx -3dnow -X -Xaw3d -a52 -aac -aalib -accessibility -acl
     -aes-ni -afs -aim -alsa -ao -apache2 -apm -atm -audiofile -avahi -avx
     -avx128fma -avx256 -bidi -blas -bluetooth -boundschecking -bsf -cairo
     -calendar -canna -cdb -cdda -cddb -cdparanoia -cdr -cgi -cjk -clamav -css
     -cups -dbus -debug -dga -directfb -djvu -doc -dri -dts -dv -dvb -dvd
     -dvdr -eds -emacs -emboss -encode -evo -examples -exif -fastcgi -fbcon
     -ffmpeg -filecaps -firebird -flac -fltk -fma -fontconfig -foomaticdb
     -fortran -freetds -freewnn -frontbase -gcj -gd -geoip -ggi -gif -gimp
     -glut -gnome -gnome-keyring -gnuplot -gphoto2 -gpm -gps -graphviz -gsm
     -gstreamer -gtk -gtkhtml -guile -handbook -hardened -hddtemp -hscolour
     -icq -ieee1394 -imagemagick -imap -imlib -infiniband -introspection -ios
     -ipod -ipv6 -jabber -jack -java -javascript -jbig -jingle -jit -joystick
     -jpeg -jpeg2k -kde -kerberos -kolab -kontact -lame -lash -latex -ldap
     -libass -libcaca -libsamplerate -lirc -lm_sensors -mad -maildir -matroska
     -matrox -mbox -memlimit -migemo -mikmod -milter -minimal -mms -mmx
     -mmxext -mng -modplug -mono -motif -mozilla -mp3 -mp4 -mpeg -mpi -mplayer
     -msn -mssql -mtp -mule -musepack -musicbrainz -nas -ncurses -neXt
     -netboot -networkmanager -nis -nntp -nsplugin -ocaml -ocamlopt -oci8
     -oci8-instant-client -offensive -ofx -ogg -old-linux -openal -openexr
     -opengl -openmp -oracle -osc -oscar -oss -pch -pcmcia -pda -pdf -perl
     -php -plasma -plotutils -png -policykit -portaudio -postgres -postscript
     -ppds -profile -pulseaudio -python -qmail-spp -qt4 -quicktime -radius
     -raw -rdesktop -rss -ruby -samba -sasl -scanner -sdl -seamonkey
     -semantic-desktop -shorten -skey -slang -slp -smartcard -smp -sndfile
     -snmp -soap -socks5 -sound -source -sox -speex -spell -sqlite -sqlite3
     -sse -sse2 -sse2_4way -sse3 -sse4 -sse4_1 -ssse3 -startup-notification
     -suid -svg -svga -sybase -sybase-ct -symlink -syslog -systemd -taglib
     -tcl -tcmalloc -tcpd -theora -tidy -tiff -timidity -tk -tokenizer
     -truetype -upnp -upnp-av -usb -v4l -vcd -vdpau -vhosts -vnc -vorbis
     -wavpack -wayland -webkit -wifi -win32codecs -wmf -wxwidgets -x264 -xattr
     -xcb -xcomposite -xemacs -xface -xft -xine -xinerama -xinetd -xmpp -xosd
     -xpm -xscreensaver -xv -xvid -yahoo -zeroconf -zsh-completion"

_________________
Arkhalia: Czech/Slovak PG/action/loot NWN1 server
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
Page 1 of 1

 
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