[GRASSLIST:80] Re: More Solaris 9 problems - NVIZ
Glynn Clements
glynn.clements at virgin.net
Sun May 18 19:46:25 EDT 2003
[CC'd to the developers' list.]
Ade Fewings wrote:
> Have been trying further things.......got the latest HEAD down and the
> nviz problems has certainly dissapeared! Hooray!
> However, on the other hand, editing the two PJ_krovak files and commenting
> out the the two includes at the start hasn't fixed the problems. :-(
> Now, the modules giving probs are:
>
> Compilation error in module: src/display/d.where (ignored)
> Compilation error in module: src/general/g.region (ignored)
> Compilation error in module: src/imagery/i.points3 (ignored)
> Compilation error in module: src/mapdev/v.digit (ignored)
> Compilation error in module: src/mapdev/v.in.gshhs (ignored)
> Compilation error in module: src/mapdev/v.mkquads (ignored)
> Compilation error in module: src/mapdev/v.proj (ignored)
> Compilation error in module: src/misc/m.proj2 (ignored)
> Compilation error in module: src/raster/r.in.gdal (ignored)
> Compilation error in module: src/raster/r.proj (ignored)
> Compilation error in module: src/raster/r.sun (ignored)
> Compilation error in module: src/raster/r.sunmask (ignored)
> Compilation error in module: src/sites/s.proj (ignored)
> Compilation error in module: src.contrib/GMSL/g3d (ignored)
>
>
> Where a sample error is:
>
> #################################################################
> /export/data0/build/grass50_exp_2003_05_17/src/display/d.where/cmd
> make -f OBJ.sparc-sun-solaris2.9/make.rules
>
> make[2]: Entering directory
> `/export/data0/build/grass50_exp_2003_05_17/src/display/d.where/cmd'
> gcc
> -L/export/data0/build/grass50_exp_2003_05_17/src/libes/LIB.sparc-sun-solaris2.9
> -o /export/data0/build/grass50_exp_2003_05_17/dist.sparc-sun-solaris2.
> 9/etc/bin/cmd/d.where OBJ.sparc-sun-solaris2.9/b_w_line.o
> OBJ.sparc-sun-solaris2.9/main.o OBJ.sparc-sun-solaris2.9/where.o -ldisplay
> -lraster -lgproj -lg
> is -lsocket -lm -lnsl -lz
> ld: warning: relocation error: R_SPARC_32: file
> /export/data0/build/grass50_exp_2003_05_17/src/libes/LIB.sparc-sun-solaris2.9/libgproj.a(PJ_krovak.o):
> symbol .LLC16:
> external symbolic relocation against non-allocatable section .stab;
> cannot be processed at runtime: relocation ignored
> ld: warning: relocation error: R_SPARC_32: file
> /export/data0/build/grass50_exp_2003_05_17/src/libes/LIB.sparc-sun-solaris2.9/libgproj.a(PJ_krovak.o):
> symbol .LLC16:
> external symbolic relocation against non-allocatable section .stab;
> cannot be processed at runtime: relocation ignored
> ld: warning: relocation error: R_SPARC_32: file
> /export/data0/build/grass50_exp_2003_05_17/src/libes/LIB.sparc-sun-solaris2.9/libgproj.a(PJ_krovak.o):
> symbol .LLC16:
> external symbolic relocation against non-allocatable section .stab;
> cannot be processed at runtime: relocation ignored
> Undefined first referenced
> symbol in file
> .LLC16
> /export/data0/build/grass50_exp_2003_05_17/src/libes/LIB.sparc-sun-solaris2.9/libgproj.a(PJ_krovak.o)
> ld: fatal: Symbol referencing errors. No output written to
> /export/data0/build/grass50_exp_2003_05_17/dist.sparc-sun-solaris2.9/etc/bin/cmd/d.where
Which is almost identical to the last time (the CVS HEAD version
doesn't have PJ_krovakgis.c)
Another thought: PJ_krovak.c does:
#include <projects.h>
while every other file does:
#include "projects.h"
Given that projects.h is in the current directory, and the difference
between angle brackets and quotes concerns checking the current
directory, this may be an issue.
Try changing PJ_krovak.c to the latter form.
> And, now i am also getting a GL compile error:
>
> #################################################################
> /export/data0/build/grass50_exp_2003_05_17/src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL
> make -f OBJ.sparc-sun-solaris2.9/make.rules
>
> make[4]: Entering directory
> `/export/data0/build/grass50_exp_2003_05_17/src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL'
> gcc -I/export/data0/build/grass50_exp_2003_05_17/src/include -g -O2
> -I/export/data0/build/grass50_exp_2003_05_17/src/libes/dspf
> -I/export/data0/build/grass50_exp_2003_05_17/src/libes/ogsf -I/usr/openwin/include -c
> new_init_graphics.c -o OBJ.sparc-sun-solaris2.9/new_init_graphics.o
> new_init_graphics.c:19:26: GL/GLwMDrawA.h: No such file or directory
You need the Motif OpenGL drawing area widget library, and you have to
use the --with-motif and --with-glw configure switches (and possibly
the corresponding *-includes and *-libs switches).
We shouldn't be compiling r3.showdspf.openGL unconditionally, but
instead should only compile it if the appropriate features are enabled
(i.e. all of --with-x11, --with-opengl, --with-motif and --with-glw;
the first two are enabled by default, the last two aren't).
> I have the latest OpenGL software from Sun installed.
>
> I have tried both GCC3.2.2 and GCC3.2.3 and get the same errors. I notice
> that the errors were previously related to .LLC24 and now are .LLC16. Is
> it possible that this is just a problem with the gcc build that i have?
Possible, but the fact that it's only complaining about PJ_krovak.o
(and, for 5.0.2, PJ_krovakgis.o) is rather suspicious.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-user
mailing list