help with compile error
Timothy Keitt
tkeitt at algodones.unm.edu
Fri May 14 17:12:54 EDT 1993
Hi,
I'm getting the following error trying to compile xgrass:
gcc -s -o /scratch/grass.4.1/bin/xdigit OBJ/ask_cat.o OBJ/clip.o OBJ/coor_pop.o OBJ/custommenu.o OBJ/debugmenu.o OBJ/debugf.o OBJ/digitmenu.o OBJ/digitize.o OBJ
..
.. stuff deleted
..
bes/LIB/libdig_atts.a /scratch/grass.4.1/src/libes/LIB/libproj.a /scratch/grass.4.1/src/libes/LIB/libgis.a -lXm -lXt -lX11 -lm
ld: -lXm: No such file or directory
collect: /usr/bin/ld returned 4 exit status
make: *** [/scratch/grass.4.1/bin/xdigit] Error 1
GISGEN failure at STEP: src/xgrass/xdigit
Here's my head file:
CC = gcc
ARCH =
GISBASE = /scratch/grass.4.1
UNIX_BIN = /scratch/grass.4.1/bin
DEFAULT_DATABASE = /landscape/projects/pj/work/gisdbase
DEFAULT_LOCATION = sandiapark
COMPILE_FLAGS = -O2 -funroll-loops -traditional
LDFLAGS = -s
XCFLAGS = -D_NO_PROTO
XLDFLAGS =
XINCPATH = -L/usr/local/X11R5/include
XMINCPATH = -L/usr/local/motif/include
XLIBPATH = -L/usr/local/X11R5/lib
XTLIBPATH = -L/usr/local/X11R5/lib
XMLIBPATH = -L/usr/local/motif/lib
XLIB = -lX11
XTLIB = -lXt
XMLIB = -lXm
XEXTRALIBS =
TERMLIB = -ltermlib
CURSES = -lcurses $(TERMLIB)
MATHLIB = -lm
# LIBRULE = ar ruv $@ $?
# LIBRULE = ar ruv $@ $?; ranlib $@
# LIBRULE = ar ruv $@ $?; ar ts $@
# LIBRULE = ar rc $@ `lorder $(OBJ) | tsort`
LIBRULE = ar ruv $@ $?; ranlib $@
USE_TERMIO =
USE_MTIO = -DUSE_MTIO
USE_FTIME = -DUSE_FTIME
DIGITFLAGS = -DUSE_SETREUID -DUSE_SETEUID -DUSE_SETPRIORITY
VECTLIBFLAGS =
GETHOSTNAME = -DGETHOSTNAME_OK
Thanks,
T.
--
===========================================================
| Timothy H. Keitt |
| The University of New Mexico |
| Department of Biology |
| Albuquerque NM 87131 |
| 505/277-3431 |
| tkeitt at algodones.unm.edu |
===========================================================
More information about the grass-dev
mailing list