xearth 1.0 compile -- ld: cannot open -lXt

xearth 1.0 compile -- ld: cannot open -lXt

Post by Gerry Snyde » Mon, 11 Nov 1996 04:00:00



I have been trying to compile xearth 1.0 without success. All of the .c
files
turn into .o files okay, but the  make  fails during the link step. The

gcc -o xearth  xearth.o dither.o extarr.o gif.o gifout.o mapdata.o
markers.o ppm.o ren
der.o resources.o scan.o sunpos.o x11.o -lXt -lX11 -lm

command comes back with the error message

/usr/i486-linux/bin/ld: cannot open -lXt: No such file or directory

If I understand the man page properly, ld should have been looking for
libXt.a ,
a file which is in /usr/X11R6/lib .

I assume that something is misconfigured on my systems (one Slackware
3.0, the
other earlier Slackware updated a lot). Among the possibilities I can
think of
are a missing link (but /usr/X11 -> /usr/X11R6) or something that makes
the gcc
command think that -lXt is the name of a file.

Things are not too fouled up, since I can compile xlock.

I can probably get an executable for xearth 1.0 somewhere, but I would
like to
know what is going on.

Posting or email appreciated.

Thanks in advance,


 
 
 

1. cannot compile with -lXt -lX11; xearth it is

I have Linux 2.0.29 (Slackware 3.2) running inside a Pentium PC.

Trying to compile "xearth" source code (in gcc) using -lXt -lX11
However, the compiler seemed to be looking for some library
files. It could not find them and the compilation seemed aborted.

Q1: Do I need to find some library files for the compiler? If
    so, what are their names? Where can I find them?

Q2: Where can I find the executible of xearth for "Pentium" PC?

2. LTT for 2.5.37 3/9: Core trace statements

3. /usr/i486-linux/bin/ld: cannot open -lXt: No such file or directory

4. How to debug multiple processes

5. ld: cannot open -lXt: No such file or directory

6. Out of Space

7. Problems compiling with gcc- "ld: cannot open crt1.o: No such file or directory"

8. Problem in connecting to broadband

9. Compiling error: ld:cannot open fs/filesystems.a

10. Compiling error: ld:cannot open fs/filesystems

11. HELP: ld -lX11 -lXt error!!!

12. HELP:/usr/i486-linux/bin/ld: cannot open -lX11

13. gpc:ld: cannot open -lgcc : no such file or directory