XGRASS t/b/c
Stephan Eickschen
eicksch at uni-muenster.de
Tue Sep 16 09:00:01 EDT 1997
Hello Justin
thanks for your help! It seems, that you had all the same problems I am
currently going through some times ago ;-) - and maybe the only one,
you are the only "fountaine of knowledge"....
So, as you might guesse, I have new problems and I would like to ask you
for some help - now in direct way. I think, that I will send a summary
of it all to the list, whenever I will have solved all problems.
Now the libXbm.a is making trouble! As you might see from the output,
which I attached as "GISGEN.txt", it was compiled and build without any
(reported) error, but at linking there is something missing: the
XAllocColor. As far as I am, it is defined in /usr/include/X11/Xlib.h.
I added a #include <X11/Xlib.h> to _all_ create.c I found in
$GIS/src/xgrass/.. because the error message complained about this file,
but it did not help...
Do you have again a simple clue as the two times before???
Did you have more problems with xgrass of which I should be aware of or
which might be avoided in a simple way? Did you summarize your
"source-code-improvement"?
Sincerly,
Stephan
P.S.: I hope, that I do not bother you too much...
--
------------------------------------------------------------------------
Stephan Eickschen Tel. : +49 (0)251 83-34704
Westfaelische Wilhelms-Universitaet Fax. : +49 (0)251 83-36100
Institute for Geophysics
Research Unit of Physical Glaciology email: eicksch at uni-muenster.de
Corrensstrasse 24
48149 Muenster
Germany
------------------------------------------------------------------------
-------------- next part --------------
GISBASE=/exports/sgi/GRASS/grass4.1
SRC=/exports/sgi/GRASS/grass4.1/src
CMD=/exports/sgi/GRASS/grass4.1/src/CMD
HEADER=irix
ARCH=irix
####################################################################
GISGEN Tue Sep 16 11:30:14 PDT 1997
GISBASE = /exports/sgi/GRASS/grass4.1
SRC = /exports/sgi/GRASS/grass4.1/src
CMD = /exports/sgi/GRASS/grass4.1/src/CMD
HEADER = irix
ARCH = irix
first step: src/xgrass
GISGEN: src/xgrass - Tue Sep 16 11:30:14 PDT 1997
#################################################################
/exports/sgi/GRASS/grass4.1/src/xgrass
make -f OBJ.irix/make.rules
rm -f /exports/sgi/GRASS/grass4.1/etc/databases
echo /exports/sgi/GRASS/grass4.1/data > /exports/sgi/GRASS/grass4.1/etc/databases
rm -rf /exports/sgi/GRASS/grass4.1/etc/xhelp
tar cf - ./xhelp | (cd /exports/sgi/GRASS/grass4.1/etc; tar xf -)
rm -rf /exports/sgi/GRASS/grass4.1/etc/xhelp/xgrass/intro_personal
echo XGRASS 4.1 > /exports/sgi/GRASS/grass4.1/etc/xhelp/xgrass/intro_personal
rm -rf /exports/sgi/GRASS/grass4.1/etc/xhelp/xgrass/intro_old_dbs
echo XGRASS 4.1 > /exports/sgi/GRASS/grass4.1/etc/xhelp/xgrass/intro_old_dbs
rm -rf /exports/sgi/GRASS/grass4.1/etc/xhelp/xgrass/intro_text
echo XGRASS 4.1 > /exports/sgi/GRASS/grass4.1/etc/xhelp/xgrass/intro_text
rm -rf /exports/sgi/GRASS/grass4.1/etc/app-defaults
tar cf - ./app-defaults | (cd /exports/sgi/GRASS/grass4.1/etc; tar xf -)
rm -rf /exports/sgi/GRASS/grass4.1/etc/xclip
tar cf - ./xclip | (cd /exports/sgi/GRASS/grass4.1/etc; tar xf -)
GISGEN: src/xgrass/libes - Tue Sep 16 11:30:30 PDT 1997
#################################################################
/exports/sgi/GRASS/grass4.1/src/xgrass/libes
make -f OBJ.irix/make.rules
/home/grass/gmake4.1 -all
#################################################################
/exports/sgi/GRASS/grass4.1/src/xgrass/libes/Xgd
make -f OBJ.irix/make.rules
#################################################################
/exports/sgi/GRASS/grass4.1/src/xgrass/libes/Xgi
make -f OBJ.irix/make.rules
#################################################################
/exports/sgi/GRASS/grass4.1/src/xgrass/libes/Xpm
make -f OBJ.irix/make.rules
rm -f OBJ.irix/create.o
cc -cckr -O -n32 -w -D_NO_PROTO -I/usr/include/X11 -I/usr/include/X11/Xm -I/exports/sgi/GRASS/grass4.1/src/include -DUSE_TERMIO -c create.c
mv create.o OBJ.irix/create.o
/home/grass/gmake4.1 -makeparentdir /exports/sgi/GRASS/grass4.1/src/xgrass/libes/LIB.irix/libXpm.a; ar ruv /exports/sgi/GRASS/grass4.1/src/xgrass/libes/LIB.irix/libXpm.a OBJ.irix/data.o OBJ.irix/create.o OBJ.irix/visual.o OBJ.irix/misc.o OBJ.irix/rgb.o OBJ.irix/scan.o OBJ.irix/parse.o OBJ.irix/XpmWrFFrP.o OBJ.irix/XpmRdFToP.o OBJ.irix/XpmCrPFData.o OBJ.irix/XpmCrDataFP.o OBJ.irix/XpmWrFFrI.o OBJ.irix/XpmRdFToI.o OBJ.irix/XpmCrIFData.o OBJ.irix/XpmCrDataFI.o
ar: Warning: creating /exports/sgi/GRASS/grass4.1/src/xgrass/libes/LIB.irix/libXpm.a
a - OBJ.irix/data.o
a - OBJ.irix/create.o
a - OBJ.irix/visual.o
a - OBJ.irix/misc.o
a - OBJ.irix/rgb.o
a - OBJ.irix/scan.o
a - OBJ.irix/parse.o
a - OBJ.irix/XpmWrFFrP.o
a - OBJ.irix/XpmRdFToP.o
a - OBJ.irix/XpmCrPFData.o
a - OBJ.irix/XpmCrDataFP.o
a - OBJ.irix/XpmWrFFrI.o
a - OBJ.irix/XpmRdFToI.o
a - OBJ.irix/XpmCrIFData.o
a - OBJ.irix/XpmCrDataFI.o
GISGEN: src/xgrass/menu - Tue Sep 16 11:30:33 PDT 1997
#################################################################
/exports/sgi/GRASS/grass4.1/src/xgrass/menu
make -f OBJ.irix/make.rules
rm -f y.tab.h y.tab.c xc.y.tab.h grammar.c xc.grammar.c lex.c xc.lex.c
rm -f OBJ.irix/create.o
cc -cckr -O -n32 -w -D_NO_PROTO -I../include -I/usr/include/X11 -I/usr/include/X11/Xm -I/exports/sgi/GRASS/grass4.1/src/include -DUSE_TERMIO -c create.c
mv create.o OBJ.irix/create.o
rm -f y.tab.h y.tab.c grammar.c
yacc -d grammar.y
mv y.tab.c grammar.c
rm -f OBJ.irix/grammar.o
cc -cckr -O -n32 -w -D_NO_PROTO -I../include -I/usr/include/X11 -I/usr/include/X11/Xm -I/exports/sgi/GRASS/grass4.1/src/include -DUSE_TERMIO -c grammar.c
mv grammar.o OBJ.irix/grammar.o
rm -f lex.c
lex -t lex.l > lex.c
rm -f OBJ.irix/lex.o
cc -cckr -O -n32 -w -D_NO_PROTO -I../include -I/usr/include/X11 -I/usr/include/X11/Xm -I/exports/sgi/GRASS/grass4.1/src/include -DUSE_TERMIO -c lex.c
mv lex.o OBJ.irix/lex.o
rm -f y.tab.h
yacc -d xc.grammar.y
rm -f xc.grammar.c
sed -e "s/yy/zz/g" y.tab.c | sed -e "s/YY/ZZ/g" > xc.grammar.c
rm -f OBJ.irix/xc.grammar.o
cc -cckr -O -n32 -w -D_NO_PROTO -I../include -I/usr/include/X11 -I/usr/include/X11/Xm -I/exports/sgi/GRASS/grass4.1/src/include -DUSE_TERMIO -c xc.grammar.c
mv xc.grammar.o OBJ.irix/xc.grammar.o
rm -f xc.y.tab.h
sed -e "s/yy/zz/g" y.tab.h | sed -e "s/YY/ZZ/g" > xc.y.tab.h
rm -f xc.lex.c
lex -t xc.lex.l | sed -e "s/yy/zz/g" | sed -e "s/YY/ZZ/g" | sed -e "s/zzwrap/yywrap/g" > xc.lex.c
rm -f OBJ.irix/xc.lex.o
cc -cckr -O -n32 -w -D_NO_PROTO -I../include -I/usr/include/X11 -I/usr/include/X11/Xm -I/exports/sgi/GRASS/grass4.1/src/include -DUSE_TERMIO -c xc.lex.c
mv xc.lex.o OBJ.irix/xc.lex.o
cc -o /exports/sgi/GRASS/grass4.1/etc/xgrass4.1.exe -s -n32 -L/usr/lib32 OBJ.irix/main.o OBJ.irix/callbacks.o OBJ.irix/client.o OBJ.irix/create.o OBJ.irix/error.o OBJ.irix/exec.o OBJ.irix/exit.o OBJ.irix/history.o OBJ.irix/link.o OBJ.irix/xgdbset.o OBJ.irix/parse.o OBJ.irix/grammar.o OBJ.irix/lex.o OBJ.irix/strdup.o OBJ.irix/xc.main.o OBJ.irix/xc.grammar.o OBJ.irix/xc.lex.o OBJ.irix/xc.error.o OBJ.irix/xc.parse.o OBJ.irix/xc.client.o OBJ.irix/xc.modify.o OBJ.irix/xc.verify.o OBJ.irix/xc.name.o OBJ.irix/xc.assign.o OBJ.irix/xc.exit.o OBJ.irix/xc.comstr.o OBJ.irix/xc.require.o OBJ.irix/xc.create.o /exports/sgi/GRASS/grass4.1/src/xgrass/libes/LIB.irix/libXgi.a /exports/sgi/GRASS/grass4.1/src/xgrass/libes/LIB.irix/libXgd.a /exports/sgi/GRASS/grass4.1/src/libes/LIB.irix/libgis.a -L/usr/lib -lXm -L/usr/lib -lXt -L/usr/lib/X11 -lX11 -lPW -lm -ll
ld32: WARNING 110: floating-point parameters exist in the call for "sprintf", a VARARG function, in object "/exports/sgi/GRASS/grass4.1/src/libes/LIB.irix/libgis.a(ll_format.o)" without a prototype -- would result in invalid result. Definition can be found in object "/usr/lib32/libc.so"
rm -f lex.c grammar.c y.tab.h
cc -o /exports/sgi/GRASS/grass4.1/etc/xclip4.1.exe -s -n32 -L/usr/lib32 OBJ.irix/xc.topmain.o OBJ.irix/xc.main.o OBJ.irix/xc.grammar.o OBJ.irix/xc.lex.o OBJ.irix/xc.error.o OBJ.irix/xc.parse.o OBJ.irix/xc.client.o OBJ.irix/xc.modify.o OBJ.irix/xc.verify.o OBJ.irix/xc.name.o OBJ.irix/xc.assign.o OBJ.irix/xc.exit.o OBJ.irix/xc.comstr.o OBJ.irix/xc.require.o OBJ.irix/xc.create.o /exports/sgi/GRASS/grass4.1/src/xgrass/libes/LIB.irix/libXgi.a /exports/sgi/GRASS/grass4.1/src/xgrass/libes/LIB.irix/libXgd.a /exports/sgi/GRASS/grass4.1/src/libes/LIB.irix/libgis.a -L/usr/lib -lXm -L/usr/lib -lXt -L/usr/lib/X11 -lX11 -lPW -lm -ll
ld32: WARNING 84: /exports/sgi/GRASS/grass4.1/src/xgrass/libes/LIB.irix/libXgd.a is not used for resolving any symbol.
ld32: WARNING 84: /usr/lib32/libm.so is not used for resolving any symbol.
rm -f xc.lex.c xc.grammar.c xc.y.tab.h
rm -f /exports/sgi/GRASS/grass4.1/etc/xgrass-menu
cp xgrass-menu /exports/sgi/GRASS/grass4.1/etc
GISGEN: src/xgrass/display - Tue Sep 16 11:30:49 PDT 1997
#################################################################
/exports/sgi/GRASS/grass4.1/src/xgrass/display
make -f OBJ.irix/make.rules
rm -f lex.c grammar.c y.tab.h
rm -f grammar.c
yacc -d grammar.y
mv y.tab.c grammar.c
rm -f OBJ.irix/grammar.o
cc -cckr -O -n32 -w -D_NO_PROTO -I/usr/include/X11 -I/usr/include/X11/Xm -I/exports/sgi/GRASS/grass4.1/src/include -DUSE_TERMIO -c grammar.c
mv grammar.o OBJ.irix/grammar.o
lex lex.l
mv -f lex.yy.c lex.c
rm -f OBJ.irix/lex.o
cc -cckr -O -n32 -w -D_NO_PROTO -I/usr/include/X11 -I/usr/include/X11/Xm -I/exports/sgi/GRASS/grass4.1/src/include -DUSE_TERMIO -c lex.c
mv lex.o OBJ.irix/lex.o
cc -o /exports/sgi/GRASS/grass4.1/bin/xgdisplay -s -n32 -L/usr/lib32 OBJ.irix/args.o OBJ.irix/band.o OBJ.irix/barattr.o OBJ.irix/barbox.o OBJ.irix/barscale.o OBJ.irix/chlist.o OBJ.irix/client.o OBJ.irix/coloropt.o OBJ.irix/crtecolor.o OBJ.irix/drawgrid.o OBJ.irix/exit.o OBJ.irix/font.o OBJ.irix/getcat.o OBJ.irix/getdatafh.o OBJ.irix/grammar.o OBJ.irix/grid.o OBJ.irix/gridbox.o OBJ.irix/gridgadg.o OBJ.irix/handler.o OBJ.irix/highlight.o OBJ.irix/layout.o OBJ.irix/labelbox.o OBJ.irix/legend.o OBJ.irix/lex.o OBJ.irix/linewgadg.o OBJ.irix/menubar.o OBJ.irix/menucb.o OBJ.irix/main.o OBJ.irix/mode.o OBJ.irix/objbutton.o OBJ.irix/object.o OBJ.irix/popup.o OBJ.irix/qrastpl.o OBJ.irix/qrasttext.o OBJ.irix/queryraster.o OBJ.irix/redrwarea.o OBJ.irix/ruler.o OBJ.irix/scroll.o OBJ.irix/selpixpl.o OBJ.irix/sitegadg.o OBJ.irix/siteicon.o OBJ.irix/stdsite.o OBJ.irix/stdsitepl.o OBJ.irix/toolbox.o OBJ.irix/units.o OBJ.irix/upbarbox.o OBJ.irix/upgridbox.o OBJ.irix/uprastpl.o OBJ.irix/xwd.o /exports/sgi/GRASS/grass4.1/src/libes/LIB.irix/libvect.a /exports/sgi/GRASS/grass4.1/src/libes/LIB.irix/libdig2.a /exports/sgi/GRASS/grass4.1/src/libes/LIB.irix/libgis.a /exports/sgi/GRASS/grass4.1/src/libes/LIB.irix/libdisplay.a /exports/sgi/GRASS/grass4.1/src/xgrass/libes/LIB.irix/libXgd.a /exports/sgi/GRASS/grass4.1/src/xgrass/libes/LIB.irix/libXgi.a -L/usr/lib -lXm -L/usr/lib/X11 -lXext -L/usr/lib -lXt -lX11 /exports/sgi/GRASS/grass4.1/src/xgrass/libes/LIB.irix/libXpm.a /exports/sgi/GRASS/grass4.1/src/libes/LIB.irix/libvect.a /exports/sgi/GRASS/grass4.1/src/libes/LIB.irix/libdig2.a /exports/sgi/GRASS/grass4.1/src/libes/LIB.irix/libgis.a /exports/sgi/GRASS/grass4.1/src/libes/LIB.irix/libdisplay.a -ll -lPW -lm
ld32: WARNING 84: /exports/sgi/GRASS/grass4.1/src/libes/LIB.irix/libvect.a is not used for resolving any symbol.
ld32: WARNING 84: /exports/sgi/GRASS/grass4.1/src/libes/LIB.irix/libdig2.a is not used for resolving any symbol.
ld32: WARNING 84: /exports/sgi/GRASS/grass4.1/src/libes/LIB.irix/libdisplay.a is not used for resolving any symbol.
ld32: WARNING 110: floating-point parameters exist in the call for "sprintf", a VARARG function, in object "/exports/sgi/GRASS/grass4.1/src/libes/LIB.irix/libgis.a(ll_format.o)" without a prototype -- would result in invalid result. Definition can be found in object "/usr/lib32/libc.so"
ld32: ERROR 33: Unresolved text symbol "XAllocColor" -- 1st referenced by /exports/sgi/GRASS/grass4.1/src/xgrass/libes/LIB.irix/libXpm.a(create.o).
ld32: INFO 60: Output file removed because of error.
*** Error code 2 (bu21)
GISGEN failure at STEP: src/xgrass/display
More information about the grass-user
mailing list