Author Topic: psgui.so  (Read 574 times)

daishi

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
psgui.so
« on: July 31, 2003, 01:45:37 am »
I compiled planeshift from the source and its nearly running except for one problem:
:.walrus.:+:.daishi.:~/molblue/plane/planeshift #./psclient -verbose
Warning: Failed to load `psgui\'; reason(s):
DLERROR (psgui): ./psgui.so: undefined symbol: _ZN11psComponentC2EP8psDialogi
Warning: Failed to load `psgui\'; reason(s):
DLERROR (psgui): ./psgui.so: undefined symbol: _ZN11psComponentC2EP8psDialogi
WARNING: could not load plugin \'planeshift.gui.dialogmanager\'
block_size: 8192
Mounting maps:.
Segmentation fault
I guess it segfaults because of psgui.so, and I guess thats why planeshift.gui.dialogmanager does not load. Has anyone else had this problem, and perhaps some sort of fix?

zaphar

  • Hydlaa Citizen
  • *
  • Posts: 259
    • View Profile
(No subject)
« Reply #1 on: July 31, 2003, 04:23:29 am »
Did your compile return any errors? I think the results of your compile would be of help in solving this problem also what system are you running it on? I assume its linux, but what version and so on.

It sounds like you had some errors in your compile job which resulted in parts of the program not being compiled or compiled improperly.
*Zaphar grins roguishly as he exits the post


daishi

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
(No subject)
« Reply #2 on: August 08, 2003, 03:08:54 pm »
Hrm...sorry about the delayed post I was on vacation.
However I do get errors such as:
  g++ -o ase_2_spr ./out/linuxx86/ase.o ./out/linuxx86/ase2spr.o ./out/linuxx86/spr.o  -L/usr/local/crystal/lib -lcstool -lcsgfx -lcsgeom  -lcsutil -lcssys -lcsgeom -lcsutil  -lm -ldl -lnsl -lpthread

...failed LinkApplication ase_2_spr ...
LinkApplication updater
: command not found
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lz
collect2: ld returned 1 exit status

with jam, but when I run the g++ command myself everything works fine, including the one for the psclient w/o any errors. I am running Slackware 8.1 2.4.20 kernel and glibc 2.2.5, which reminds me I have glibc 2.3.2 installed in an arbitrary dir I should probably try compiling against that ooo and the error with psgui and psclient is:

  g++ -shared -Wl,-soname -Wl,psgui.so -o psgui.so ./out/linuxx86/psdcadvant.o ./out/linuxx86/psdccustomchar.o ./out/linuxx86/psdcjob.o ./out/linuxx86/psdcmain.o ./out/linuxx86/psdconn.o ./out/linuxx86/psdcpath.o ./out/linuxx86/psdcredits.o ./out/linuxx86/psdcskil.o ./out/linuxx86/psdcupload.o ./out/linuxx86/psddsktop.o ./out/linuxx86/psdloading.o ./out/linuxx86/psdmmenu.o ./out/linuxx86/psdmngr.o ./out/linuxx86/psdsplsh.o ./out/linuxx86/psgwconfirm.o ./out/linuxx86/psgwskill.o ./out/linuxx86/psgwspell.o ./out/linuxx86/psgwwarning.o ./out/linuxx86/psbutton.o ./out/linuxx86/pscomp.o ./out/linuxx86/psdialog.o ./out/linuxx86/psdragplane.o ./out/linuxx86/pspix.o ./out/linuxx86/pstext.o ./out/linuxx86/pstextin.o ./out/linuxx86/libpsnet.a ./out/linuxx86/libpsrpgrules.a ./out/linuxx86/libpsutil.a -L/usr/local/crystal/lib -lcstool -lcsgfx -lcsgeom  -lcsutil -lcssys -lcsgeom -lcsutil -ldl -lm -lnsl -L/usr/local/lib -lpthread

...failed LinkPlugin psgui.so ...
LinkPlugin pssound.so
: command not found
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpthread
collect2: ld returned 1 exit status


  g++ -o psclient ./out/linuxx86/authentclient.o ./out/linuxx86/cmdadmin.o ./out/linuxx86/cmdguilds.o ./out/linuxx86/cmdusers.o ./out/linuxx86/cmdutil.o ./out/linuxx86/modehandler.o ./out/linuxx86/pscelclient.o ./out/linuxx86/psclientchar.o ./out/linuxx86/psclientdr.o ./out/linuxx86/psengine.o ./out/linuxx86/psnetmanager.o ./out/linuxx86/zonehandler.o ./out/linuxx86/psaws.o ./out/linuxx86/pscommwindow.o ./out/linuxx86/pscomp.o ./out/linuxx86/psconfirmwindow.o ./out/linuxx86/psinteractwin.o ./out/linuxx86/psinventorywindow.o ./out/linuxx86/psitemdescriptionwindow.o ./out/linuxx86/psmainbar.o ./out/linuxx86/psobjectview.o ./out/linuxx86/psoptionswindow.o ./out/linuxx86/psplayerwindow.o ./out/linuxx86/psstatusbar.o ./out/linuxx86/libpsnet.a ./out/linuxx86/libpsengine.a ./out/linuxx86/libpsbehave.a ./out/linuxx86/libpsrpgrules.a ./out/linuxx86/libpsadminnet.a ./out/linuxx86/libpsutil.a -L/usr/local/crystal/lib -lcstool -lcsgfx -lcsgeom  -lcsutil -lcssys -lcsgeom -lcsutil -ldl -lm -lnsl -L/usr/local/lib -lpthread

...failed LinkApplication psclient ...
C++ ./out/linuxx86/psadminmanager.o
In file included from src/common/net/msghandler.h:22,
                 from src/client/admin/psadminmanager.h:27,
                 from src/client/admin/psadminmanager.cpp:20:
/usr/local/crystal/include/csutil/csdllist.h:25:3: warning: #warning csDLList is deprecated. Please use csList from csutil/list.h
C++ ./out/linuxx86/psdialogeditor.o
In file included from src/common/net/netbase.h:32,
                 from src/common/psprop/pc/pspcproxlist.h:28,
                 from src/client/admin/psdialogeditor.cpp:39:
/usr/local/crystal/include/csutil/csdllist.h:25:3: warning: #warning csDLList is deprecated. Please use csList from csutil/list.h
C++ ./out/linuxx86/psitemeditor.o
In file included from src/common/net/netbase.h:32,
                 from src/common/psprop/pc/pspcproxlist.h:28,
                 from src/client/admin/psitemeditor.cpp:37:
/usr/local/crystal/include/csutil/csdllist.h:25:3: warning: #warning csDLList is deprecated. Please use csList from csutil/list.h
C++ ./out/linuxx86/psnpceditor.o
In file included from src/common/net/netbase.h:32,
                 from src/common/psprop/pc/pspcproxlist.h:28,
                 from src/client/admin/psnpceditor.cpp:32:
/usr/local/crystal/include/csutil/csdllist.h:25:3: warning: #warning csDLList is deprecated. Please use csList from csutil/list.h
LinkPlugin psadmin.so
: command not found
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpthread
collect2: ld returned 1 exit status

Hrm...linking problems, and such...ooo btw I\'m using CS 0.97, maybe I should just try 0.94 where csDLList and such may not be deprecated.
« Last Edit: August 08, 2003, 03:39:29 pm by daishi »

Kundalf

  • Hydlaa Resident
  • *
  • Posts: 175
    • View Profile
(No subject)
« Reply #3 on: August 09, 2003, 10:45:45 am »
hi,

CS 0.97 should be fine (it runs on my gentoo, either). What did the configure scripts say (was there any component missing?)?

I was just wondering about this line:

Quote
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpthread
collect2: ld returned 1 exit status
-- take care --
 

visit my favored site  ;)

daishi

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
bah
« Reply #4 on: August 10, 2003, 10:04:24 pm »
Actually I just kinda gave up and deleted everything in searching for more HD space. I\'ll probably download everything again though soon. Anyways thanks for all your help. Now I\'m wondering exactly why I deleted everything...maybe I\'ll just wait till planeshift is in beta. Yeah, I was wondering about that too...ohwell.