In article <ikbnm3$df8$>,
Adam Majewski <> wrote:
>Hi,
>
>I'm trying to run c program using old Xview :
>http://inls.ucsd.edu/%7Efisher/Complex/spider.tar.Z
There's not nearly enough information here to answer your question, but
I can make a couple of suggestions:
Compile the program with the -g option. If you have the sources to
xview, compile them with -g as well. Statically link your application
if you can.
Run the program with the gdb debugger:
$ gdb spider
(gdb) run
When the program segfaults, gdb will give you a pretty good idea of
where it happened and why.
With luck, the problem will be obvious and easy to fix. Without luck,
you'll find yourself in a tar pit.
There are probably other newsgroups better suited to help you with this;
perhaps even one dedicated to X11 and/or xview.
I fell compelled to ask, though: why are you doing this? Xview is a
very very old library. It was written as a portability layer to help
pre-X11 Sunview programs get ported to X11.
--
-Ed Falk,
http://thespamdiaries.blogspot.com/