bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] Compile & crash on Solaris


From: Holger
Subject: [Bug-gnubg] Compile & crash on Solaris
Date: Thu, 2 Jan 2003 22:57:15 +0100 (MET)

Hi all,

I'm trying to compile for Sparc Solaris 8. It works more or less.

I have one small problem with pstopnm while generating annealing.png.

if [ -n "pstopnm" -a -n "pnmscale" -a -n "pnmtopng" ]; then \
pstopnm -portrait -xsize 1024 annealing.eps; \
pnmscale 0.5 < annealing.eps001.ppm | pnmtopng > \
        ./annealing.png; fi
pstopnm: Writing ppmraw file
ld.so.1: pnmtopng: fatal: /usr/local/lib/libpng.so.2: wrong ELF class:
ELFCLASS32
make[2]: *** [annealing.png] Error 137
make[2]: Leaving directory `/home/c/curlbbcb/devel/gnubg/gnubg/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/c/curlbbcb/devel/gnubg/gnubg'
make: *** [all] Error 2

I've tried to recompile libpng, but it was still the same. Anyway, after an
immediate second 'make', it runs through. The picture is just empty then.

The main problem is that the programme doesn't run. It crashs almost right
away.

As I'm at university I cannot install GNUbg under the default, but
/home/pub/lib/... . I ran configure with these options:
./configure --enable-bearoff=external \
            --without-sound \
            --without-gtkextra \
            --prefix=/home/pub/lib/gnubg-`date +%y%m%d`

Here is the debug output of two invocations. How should GNUbg be invoked,
anyway, with --datadir or does it find it by itself?

(gdb) run
Starting program: /home/pub/lib/gnubg-030102/bin/gnubg
warning: Unable to find dynamic linker breakpoint function.
warning: GDB will be unable to debug shared library initializers
warning: and track explicitly loaded dynamic code.
GNU Backgammon 0.12  Copyright 1999, 2000, 2001, 2002 Gary Wong.
GNU Backgammon is free software, covered by the GNU General Public License
version 2, and you are welcome to change it and/or distribute copies of it
under certain conditions.  Type "show copying" to see the conditions.
There is absolutely no warranty for GNU Backgammon.  Type "show warranty"
for
details.

Program received signal SIGSEGV, Segmentation fault.
0xfe6331b4 in strlen ()
(gdb) bt
#0  0xfe6331b4 in strlen ()
#1  0xfe6860f0 in _doprnt ()
#2  0xfe687eb8 in sprintf ()
#3  0x6f188 in PathSearch (szFile=0xbdac0 "met/zadeh.xml", szDir=0x0) at
path.c:86
#4  0x4ac5c in readMET (pmd=0xffbe9b58, szFileName=0xbdac0 "met/zadeh.xml",
szDir=0x0)
    at matchequity.c:1273
#5  0x4b47c in InitMatchEquity (szFileName=0xbdac0 "met/zadeh.xml",
szDir=0x0)
    at matchequity.c:1631
#6  0x2157c in real_main (closure=0x1, argc=1, argv=0xffbeeb84) at
gnubg.c:6352
#7  0x21b40 in main (argc=1, argv=0xffbeeb84) at gnubg.c:6612

---

(gdb) run -datadir=/home/pub/lib/gnubg-030102/share/gnubg
Starting program: /home/pub/lib/gnubg-030102/bin/gnubg
-datadir=/home/pub/lib/gnubg-030102/share/gnubg
warning: Unable to find dynamic linker breakpoint function.
warning: GDB will be unable to debug shared library initializers
warning: and track explicitly loaded dynamic code.
GNU Backgammon 0.12  Copyright 1999, 2000, 2001, 2002 Gary Wong.
GNU Backgammon is free software, covered by the GNU General Public License
version 2, and you are welcome to change it and/or distribute copies of it
under certain conditions.  Type "show copying" to see the conditions.
There is absolutely no warranty for GNU Backgammon.  Type "show warranty"
for
details.
ld.so.1: /home/pub/lib/gnubg-030102/bin/gnubg: fatal: relocation error: file
/home/pub/lib/gnubg-030102/bin/gnubg: symbol xmlCatalogResolve: referenced
symbol not found

Program terminated with signal SIGKILL, Killed.
The program no longer exists.
(gdb) bt
No stack.

Regards,

        Holger

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]