I got the binary release of thot-2.1.e
which is 2542063 bytes and collected on Oct 29 20:21 being called
thoteditor-LINUX-ELF-2.1e.tar.gz.
~>setenv THOTDIR /p3/Thot-bin/
~>setenv PATH "{$PATH}:/p3/Thot-bin/LINUX-ELF/bin"
~>thot
Segmentation fault (core dumped)
So I checked the libraries and made an strace whos output is
enclosed - any clues ?
After that I collected the thoteditor-src-2.1e.tar.gz and did :
159 23:06 mkdir objects
160 23:06 cd objects/
161 23:06 ../configure
163 23:19 make all
which resulted in a make problem. I have GNU Make version 3.74
on a Slackware 3.1 Apr 27 1996 ++. Kernel is 2.0.28.
make[1]: Entering directory `/p3/Thot/objects/thot'
Makefile:89: .depends: No such file or directory
../tools/mkdep/mkdep -relative -vpath ../../thot -DHAVE_CONFIG_H -I.. -I.
-I../../thot/f -I../../thotlib/include -I../../thotlib/internals/var
-I../../thotlib/internals/h -I../../thotlib/internals/f -I../../schemas
-I../../schemasOPERA -I../../libjpeg -I../../libpng -I../../libpng/zlib
-I/usr/local/include -I/usr/X11R6/include -I../../drawlib -I../../drawlib/f
../../thot/*.c > .depends
make[1]: Leaving directory `/p3/Thot/objects/thot'
make[1]: Entering directory `/p3/Thot/objects/thot'
make[1]: *** No rule to make target `../bin/prs', needed by `Thot_Schemas'.
Stop.
make[1]: Leaving directory `/p3/Thot/objects/thot'
objects#make schemas
make[1]: Entering directory `/p3/Thot/objects/batch'
make[2]: Entering directory `/p3/Thot/objects/thotlib'
make[2]: Leaving directory `/p3/Thot/objects/thotlib'
(DIR=`pwd` ; THOTDIR=$DIR/../.. ; export THOTDIR ; \
cd ../../batch ; $DIR/../bin/grm STRUCT)
make[1]: *** [../../batch/STRUCT.GRM] Error 139
make[1]: Leaving directory `/p3/Thot/objects/batch'
make: *** [bin/str] Error 2
.. And i need to write my talk today - aidez moi s'il vous plait ! - ;-)
Olav
~>ldd /p3/Thot-bin/LINUX-ELF/bin/thot
libXt.so.6 => /usr/X11R6/lib/libXt.so.6.0
libXext.so.6 => /usr/X11R6/lib/libXext.so.6.1
libSM.so.6 => /usr/X11R6/lib/libSM.so.6.0
libICE.so.6 => /usr/X11R6/lib/libICE.so.6.0
libX11.so.6 => /usr/X11R6/lib/libX11.so.6.1
libdl.so.1 => /lib/libdl.so.1.8.2
libm.so.5 => /lib/libm.so.5.0.8
libc.so.5 => /lib/libc.so.5.4.23
Program terminated with signal 11, Segmentation fault.
#0 0x40002a80 in ?? ()
(gdb) where
#0 0x40002a80 in ?? ()
#1 0x40005d3c in ?? ()
#2 0x40003fac in ?? ()
#3 0x40001e52 in ?? ()
#4 0x1 in ?? ()
~>strace thot
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|0x20, 4294967295, 0) =
0x40006000
mprotect(0x40000000, 19669, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x8048000, 2397067, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=5173, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
mmap(0, 5173, PROT_READ, MAP_SHARED, 3, 0) = 0x40007000
close(3) = 0
stat("/etc/ld.so.preload", 0xbffff550) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libXt.so.6.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 258048, PROT_NONE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40009000
mmap(0x40009000, 238262, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0x40009000
mmap(0x40044000, 12264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x3a000) = 0x40044000
mmap(0x40047000, 1492, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|0x20,
4294967295, 0) = 0x40047000
close(3) = 0
mprotect(0x40009000, 238262, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open("/usr/X11R6/lib/libXext.so.6.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 36864, PROT_NONE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40048000
mmap(0x40048000, 28934, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0x40048000
mmap(0x40050000, 1004, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7000)
= 0x40050000
close(3) = 0
mprotect(0x40048000, 28934, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open("/usr/X11R6/lib/libSM.so.6.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 32768, PROT_NONE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40051000
mmap(0x40051000, 26661, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0x40051000
mmap(0x40058000, 3584, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6000)
= 0x40058000
close(3) = 0
mprotect(0x40051000, 26661, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open("/usr/X11R6/lib/libICE.so.6.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 81920, PROT_NONE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40059000
mmap(0x40059000, 66839, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0x40059000
mmap(0x4006a000, 2528, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x10000) = 0x4006a000
mmap(0x4006b000, 5584, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|0x20,
4294967295, 0) = 0x4006b000
close(3) = 0
mprotect(0x40059000, 66839, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open("/usr/X11R6/lib/libX11.so.6.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 577536, PROT_NONE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x4006d000
mmap(0x4006d000, 554052, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0x4006d000
mmap(0x400f5000, 16936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x87000) = 0x400f5000
close(3) = 0
mprotect(0x4006d000, 554052, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open("/lib/libdl.so.1.8.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 12288, PROT_NONE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x400fa000
mmap(0x400fa000, 4186, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0x400fa000
mmap(0x400fc000, 364, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000)
= 0x400fc000
close(3) = 0
mprotect(0x400fa000, 4186, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open("/lib/libm.so.5.0.8", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 36864, PROT_NONE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x400fd000
mmap(0x400fd000, 25876, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0x400fd000
mmap(0x40104000, 5348, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6000)
= 0x40104000
close(3) = 0
mprotect(0x400fd000, 25876, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open("/lib/libc.so.5.4.23", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 790528, PROT_NONE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40106000
mmap(0x40106000, 559479, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0x40106000
mmap(0x4018f000, 21476, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x88000) = 0x4018f000
mmap(0x40195000, 203336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|0x20,
4294967295, 0) = 0x40195000
close(3) = 0
mprotect(0x40106000, 559479, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++