From: gt6698a@prism.gatech.EDU (Andrew Hobson)
Newsgroups: comp.os.linux
Subject: Help getting xv, xload,xlander, and xantfarm working
Summary: xv,xload,xlander,xantfarm don't work
Keywords: help,xv,xload,xlander,xantfarm
Date: 7 Sep 92 19:48:19 GMT
Organization: Georgia Institute of Technology



Greets!!

I decided to try and get some things going under X but I ran into some
problems.

I cannot get xv, xload, xlander, and xantfarm to work.  First I will give 
you my setup

97.pl1 and X11v1.1 
I have an ATI VGA Wonder card and I am using Rik Faith's EXCELLENT X386 for
ATI cards.
gcc 2.2.2d and the libraries from 2.2.2

xv problems:
  
I can compile xv no problem using the -V 2.2.2 option.  When I try to run xv,

root /usr/new/xv $ ./xv 2> error

the machine locks up and I get a core file.  Nothing in error

Doing

root /usr/new/xv $ gdb

GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.5, Copyright 1992 Free Software Foundation, Inc.
(gdb) core core
#0  0x4000000 in ?? (Cannot access memory at address 0x4b00.
(gdb) 

Any Ideas?

xload problems:

I try to compile xload with the -V 2.2.2 option, but I get

root /usr/new/xload $ make
gcc -fwritable-strings -V 2.2.2 -O6        -DFUNCPROTO=11 -DNARROWPROTO -DOSMAJORVERSION=0 -DOSMINORVERSION=12   -c xload.c -o xload.o
gcc -fwritable-strings -V 2.2.2 -O6        -DFUNCPROTO=11 -DNARROWPROTO -DOSMAJORVERSION=0 -DOSMINORVERSION=12   -c get_load.c -o get_load.o
rm -f xload
gcc -fwritable-strings -V 2.2.2 -o xload xload.o get_load.o -O6   -lXaw -lXmu -lXt -lXext                        -lX11    
get_load.o: Undefined symbol _open_psdb referenced from text segment
get_load.o: Undefined symbol _k_addr referenced from text segment
get_load.o: Undefined symbol _close_psdb referenced from text segment
get_load.o: Undefined symbol _kmemread referenced from text segment
make: *** [xload] Error 1


I am guessing that this means that the xload I have is for a different version
of the kernel.  where would I get one that will work for 97.pl1 ?


xlander problems:

I can compile it with -V 2.2.2, but running it locks up my computer.

I redirect stderr to a file with no results.

I don't get a core file, or anything that would be helpful.  Any guesses
would be appreciated.

xantfarm problems:

I can compile xantfarm once again using the -V 2.2.2 option, but when I try
to run it I get

root /usr/new/antfarm $ ./xantfarm 2> error
zsh: illegal instruction (core dumped)  ./xantfarm
root /usr/new/antfarm $ gdb
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.5, Copyright 1992 Free Software Foundation, Inc.
(gdb) core core
#0  0x3c1d0b1 in ?? (Cannot access memory at address 0x3d.
(gdb) 

At least this did not lock up my computer, and once again, nothing in error


Well, I guess I am doing something wrong because this problem seems to be
a recurring one.  I have, however, compiled xlife and xpipeman with no 
problems and xtetris, xboard, xvier and most other things do work.  I 
hope someone can give me a clue as to what I am doing wrong.


Thank you for any help you can give me,

Drew Hobson


-- 
Andrew Hobson                         Internet: gt6698a@prism.gatech.edu
"He who joyfully marches to music in rank and file has already
earned my contempt.  He has been given a large brain by mistake,
since for him the spinal cord would fully suffice."   -- Albert Einstein
Xref: sparky comp.os.linux:10453 comp.sys.ibm.pc.hardware:23986