Make'ing src.related stuff (LTPlus & mapgen)
Andrew Hertz
hertz at geog.psu.edu
Sat Mar 27 01:17:53 EST 1993
Help...
I'm having problems building LTPlus: error message follows...
(cd in; make)
cc -O -DLTP_X11 -DBIG_ENDIAN -DMULTIUSER -DXTERM_CMD=\"/usr/openwin/bin/xterm\" -DRASTER_PACK=\"pack\" -DGENERAL_PACK=\"compress\" -DLTP_BASE_DIR=\"usr/local/grass4.1/src.related/LTPlus\" -DCOPY_CMD=\"cp\" -DLTP_BIN_DIR=\"usr/local/grass4.1/sun4/LTPlus/bin\" -target sun4 -c sync_file.c
"sync_file.c", line 23: O_SYNCW undefined
Compilation failed
*** Error code 1
make: Fatal error: Command failed for target `sync_file.o'
Current working directory /usr/local/grass4.1/src.related/LTPlus/source/in
*** Error code 1
make: Fatal error: Command failed for target `ltplus'
Also having probles building mapgen: errors follow...
1st error...
#################################################################
/usr/local/grass4.1/src.related/mapgen
make -f OBJ.sun4/make.rules
./INSTALL /usr/local/grass4.1/sun4 LIB.sun4
Starting at PLOTTER
make: Fatal error: Don't know how to make target `/grass.src/4.1/src.related/mapgen/include/graphics.h'
Current working directory /usr/local/grass4.1/src.related/mapgen/graphics/plotter
2nd error...
#################################################################
/usr/local/grass4.1/src.related/mapgen/SCS/plotter
make -f OBJ.sun4/make.rules
cp /usr/local/grass4.1/src/../src.related/mapgen/graphics/plotter/plotter.c plotter.c
cp /usr/local/grass4.1/src/../src.related/mapgen/graphics/plotter/devlist.c devlist.c
rm -f OBJ.sun4/devlist.o
cc -O -I/usr/local/grass4.1/src/../src.related/mapgen/include -I/usr/local/grass4.1/src/libes -D_GENVB=\"GRAPHB\" -DGRASS -c devlist.c
mv devlist.o OBJ.sun4/devlist.o
rm -f OBJ.sun4/plotter.o
cc -O -I/usr/local/grass4.1/src/../src.related/mapgen/include -I/usr/local/grass4.1/src/libes -D_GENVB=\"GRAPHB\" -DGRASS -c plotter.c
mv plotter.o OBJ.sun4/plotter.o
cc -s -o /usr/local/grass4.1/sun4/mapgen/bin/plotter -O -I/usr/local/grass4.1/src/../src.related/mapgen/include -I/usr/local/grass4.1/src/libes -D_GENVB=\"GRAPHB\" -DGRASS OBJ.sun4/DGRASS.o OBJ.sun4/devlist.o OBJ.sun4/plotter.o /usr/local/grass4.1/src/../src.related/mapgen/lib/LIB.sun4/libdev.a /usr/local/grass4.1/src/../src.related/mapgen/lib/LIB.sun4/libplt.a /usr/local/grass4.1/src/../src.related/mapgen/lib/LIB.sun4/libgraph.a /usr/local/grass4.1/src/libes/LIB.sun4/libdisplay.a /usr/local/grass4.1/src/libes/LIB.sun4/libraster.a /usr/local/grass4.1/src/libes/LIB.sun4/libgis.a -lm
ld: /usr/local/grass4.1/src/../src.related/mapgen/lib/LIB.sun4/libdev.a: No such file or directory
Compilation failed
*** Error code 4
make: Fatal error: Command failed for target `/usr/local/grass4.1/sun4/mapgen/bin/plotter'
Current working directory /usr/local/grass4.1/src.related/mapgen/SCS/plotter
*** Error code 1
Thanks for any help,
Andrew Hertz
hertz at geog.psu.edu
More information about the grass-user
mailing list