[GRASSLIST:79] Re: More Solaris 9 problems - NVIZ

Ade Fewings ade at informatics.bangor.ac.uk
Sun May 18 19:09:15 EDT 2003


Hi,

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):
symb
ol .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):
symb
ol .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):
symb
ol .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
collect2: ld returned 1 exit status
make[2]: ***
[/export/data0/build/grass50_exp_2003_05_17/dist.sparc-sun-solaris2.9/etc/bin/cmd/d.where]
Error 1
make[2]: Leaving directory
`/export/data0/build/grass50_exp_2003_05_17/src/display/d.where/cmd'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/export/data0/build/grass50_exp_2003_05_17/src/display/d.where'
GISGEN failure at STEP: src/display/d.where

GISGEN: src/display/d.zoom - Sun May 18 23:53:49 BST 2003




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/gra
ss50_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
In file included from new_init_graphics.c:24:
kns_defines.h:4: parse error before "GLXContext"
kns_defines.h:4: warning: no semicolon at end of struct or union
kns_defines.h:13: parse error before '}' token
kns_defines.h:13: warning: data definition has no type or storage class
In file included from new_init_graphics.c:25:
kns_globals.h:11: parse error before "MainOGLWindow"
kns_globals.h:11: warning: data definition has no type or storage class
kns_globals.h:12: parse error before "ColormapWindow"
kns_globals.h:12: warning: data definition has no type or storage class
new_init_graphics.c:43: `GLX_RGBA' undeclared here (not in a function)
new_init_graphics.c:43: initializer element is not constant
new_init_graphics.c:43: (near initialization for `Attributes[0]')
new_init_graphics.c:43: `GLX_DEPTH_SIZE' undeclared here (not in a
function)
new_init_graphics.c:43: initializer element is not constant
new_init_graphics.c:43: (near initialization for `Attributes[1]')
new_init_graphics.c:43: `GLX_RED_SIZE' undeclared here (not in a function)
new_init_graphics.c:43: initializer element is not constant
new_init_graphics.c:43: (near initialization for `Attributes[3]')
new_init_graphics.c:44: `GLX_GREEN_SIZE' undeclared here (not in a
function)
new_init_graphics.c:44: initializer element is not constant
new_init_graphics.c:44: (near initialization for `Attributes[5]')
new_init_graphics.c:44: `GLX_BLUE_SIZE' undeclared here (not in a
function)
new_init_graphics.c:44: initializer element is not constant
new_init_graphics.c:44: (near initialization for `Attributes[7]')
new_init_graphics.c:44: `GLX_DOUBLEBUFFER' undeclared here (not in a
function)
new_init_graphics.c:44: initializer element is not constant
new_init_graphics.c:44: (near initialization for `Attributes[9]')
new_init_graphics.c:45: `GLX_RGBA' undeclared here (not in a function)
new_init_graphics.c:45: initializer element is not constant
new_init_graphics.c:45: (near initialization for `SingleAttributes[0]')
new_init_graphics.c:45: `GLX_RED_SIZE' undeclared here (not in a function)
new_init_graphics.c:45: initializer element is not constant
new_init_graphics.c:45: (near initialization for `SingleAttributes[1]')
new_init_graphics.c:46: `GLX_GREEN_SIZE' undeclared here (not in a
function)
new_init_graphics.c:46: initializer element is not constant
new_init_graphics.c:46: (near initialization for `SingleAttributes[3]')
new_init_graphics.c:46: `GLX_BLUE_SIZE' undeclared here (not in a
function)
new_init_graphics.c:46: initializer element is not constant
new_init_graphics.c:46: (near initialization for `SingleAttributes[5]')
new_init_graphics.c:46: `GLX_DOUBLEBUFFER' undeclared here (not in a
function)
new_init_graphics.c:46: initializer element is not constant
new_init_graphics.c:46: (near initialization for `SingleAttributes[7]')
new_init_graphics.c: In function `new_swapbuffers':
new_init_graphics.c:105: request for member `widget' in something not a
structure or union
new_init_graphics.c:105: request for member `window' in something not a
structure or union
new_init_graphics.c: In function `new_getsize':
new_init_graphics.c:132: request for member `width' in something not a
structure or union
new_init_graphics.c:133: request for member `height' in something not a
structure or union
new_init_graphics.c: In function `initializeFonts':
new_init_graphics.c:153: request for member `widget' in something not a
structure or union
new_init_graphics.c:160: request for member `widget' in something not a
structure or union
new_init_graphics.c: In function `winset_main':
new_init_graphics.c:185: request for member `widget' in something not a
structure or union
new_init_graphics.c:185: request for member `window' in something not a
structure or union
new_init_graphics.c:185: request for member `glx_context' in something not
a structure or union
new_init_graphics.c: In function `loadrect':
new_init_graphics.c:237: request for member `widget' in something not a
structure or union
new_init_graphics.c:237: request for member `window' in something not a
structure or union
new_init_graphics.c:242: request for member `width' in something not a
structure or union
new_init_graphics.c:242: request for member `height' in something not a
structure or union
new_init_graphics.c:250: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:251: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:252: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c: In function `winset_colortable':
new_init_graphics.c:398: request for member `widget' in something not a
structure or union
new_init_graphics.c:398: request for member `window' in something not a
structure or union
new_init_graphics.c:398: request for member `glx_context' in something not
a structure or union
new_init_graphics.c: In function `init_graphics':
new_init_graphics.c:432: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:459: warning: assignment makes pointer from integer
without a cast
new_init_graphics.c:561: `GLwNvisualInfo' undeclared (first use in this
function)
new_init_graphics.c:561: (Each undeclared identifier is reported only once
new_init_graphics.c:561: for each function it appears in.)
new_init_graphics.c:569: request for member `widget' in something not a
structure or union
new_init_graphics.c:572: request for member `widget' in something not a
structure or union
new_init_graphics.c:574: request for member `widget' in something not a
structure or union
new_init_graphics.c:574: `GLwNginitCallback' undeclared (first use in this
function)
new_init_graphics.c:576: request for member `widget' in something not a
structure or union
new_init_graphics.c:576: `GLwNexposeCallback' undeclared (first use in
this function)
new_init_graphics.c:577: request for member `widget' in something not a
structure or union
new_init_graphics.c:577: `GLwNinputCallback' undeclared (first use in this
function)
new_init_graphics.c:578: request for member `widget' in something not a
structure or union
new_init_graphics.c:578: `GLwNresizeCallback' undeclared (first use in
this function)
new_init_graphics.c:607: warning: assignment makes pointer from integer
without a cast
new_init_graphics.c:628: request for member `widget' in something not a
structure or union
new_init_graphics.c:631: request for member `widget' in something not a
structure or union
new_init_graphics.c:633: request for member `widget' in something not a
structure or union
new_init_graphics.c:635: request for member `widget' in something not a
structure or union
new_init_graphics.c:637: request for member `widget' in something not a
structure or union
new_init_graphics.c: In function `ThresholdCB':
new_init_graphics.c:667: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c: In function `PlusMinusCB':
new_init_graphics.c:681: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:682: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:683: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:684: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:690: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:691: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:692: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:693: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c: In function `rotateLoop':
new_init_graphics.c:750: request for member `widget' in something not a
structure or union
new_init_graphics.c:760: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:761: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:762: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:764: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:771: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:772: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:773: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:775: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:788: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:790: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:799: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:801: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:810: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:812: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:821: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:823: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:832: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:834: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:843: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:845: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:854: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:856: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:865: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:867: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:876: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:878: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:888: request for member `right_button_hit' in
something not a structure or union
new_init_graphics.c:890: request for member `right_button_hit' in
something not a structure or union
new_init_graphics.c: In function `glinputCB':
new_init_graphics.c:917: `GLwDrawingAreaCallbackStruct' undeclared (first
use in this function)
new_init_graphics.c:917: `call_data' undeclared (first use in this
function)
new_init_graphics.c:918: parse error before ')' token
new_init_graphics.c:929: request for member `middle_button_status' in
something not a structure or union
new_init_graphics.c:931: request for member `left_button_status' in
something not a structure or union
new_init_graphics.c:934: request for member `height' in something not a
structure or union
new_init_graphics.c:935: request for member `width' in something not a
structure or union
new_init_graphics.c:936: request for member `height' in something not a
structure or union
new_init_graphics.c:947: request for member `left_button_status' in
something not a structure or union
new_init_graphics.c:950: request for member `middle_button_status' in
something not a structure or union
new_init_graphics.c:955: request for member `right_button_hit' in
something not a structure or union
new_init_graphics.c:961: request for member `left_button_status' in
something not a structure or union
new_init_graphics.c:965: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:969: request for member `middle_button_status' in
something not a structure or union
new_init_graphics.c:974: request for member `left_button_status' in
something not a structure or union
new_init_graphics.c:978: request for member `height' in something not a
structure or union
new_init_graphics.c:985: request for member `width' in something not a
structure or union
new_init_graphics.c:986: request for member `height' in something not a
structure or union
new_init_graphics.c:994: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:997: request for member `middle_button_status' in
something not a structure or union
new_init_graphics.c:1001: request for member `height' in something not a
structure or union
new_init_graphics.c:1012: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:1014: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:1015: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c: In function `glinitCB':
new_init_graphics.c:1036: `GLwDrawingAreaCallbackStruct' undeclared (first
use in this function)
new_init_graphics.c:1036: `call_data' undeclared (first use in this
function)
new_init_graphics.c:1037: parse error before ')' token
new_init_graphics.c:1040: `GLwNvisualInfo' undeclared (first use in this
function)
new_init_graphics.c:1047: request for member `window' in something not a
structure or union
new_init_graphics.c:1048: request for member `glx_context' in something
not a structure or union
new_init_graphics.c:1050: request for member `window' in something not a
structure or union
new_init_graphics.c:1050: request for member `glx_context' in something
not a structure or union
new_init_graphics.c:1067: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:1068: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:1069: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:1080: request for member `window' in something not a
structure or union
new_init_graphics.c:1095: request for member `window' in something not a
structure or union
new_init_graphics.c:1096: request for member `glx_context' in something
not a structure or union
new_init_graphics.c:1099: request for member `window' in something not a
structure or union
new_init_graphics.c:1099: request for member `glx_context' in something
not a structure or union
new_init_graphics.c: In function `glexposeCB':
new_init_graphics.c:1120: `GLwDrawingAreaCallbackStruct' undeclared (first
use in this function)
new_init_graphics.c:1120: `call_data' undeclared (first use in this
function)
new_init_graphics.c:1121: parse error before ')' token
new_init_graphics.c:1123: request for member `glx_context' in something
not a structure or union
new_init_graphics.c:1124: request for member `height' in something not a
structure or union
new_init_graphics.c:1125: request for member `width' in something not a
structure or union
new_init_graphics.c:1138: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c: In function `glresizeCB':
new_init_graphics.c:1152: `GLwDrawingAreaCallbackStruct' undeclared (first
use in this function)
new_init_graphics.c:1152: `call_data' undeclared (first use in this
function)
new_init_graphics.c:1153: parse error before ')' token
new_init_graphics.c:1156: request for member `glx_context' in something
not a structure or union
new_init_graphics.c:1161: request for member `height' in something not a
structure or union
new_init_graphics.c:1162: request for member `width' in something not a
structure or union
new_init_graphics.c:1164: request for member `width' in something not a
structure or union
new_init_graphics.c:1164: request for member `height' in something not a
structure or union
new_init_graphics.c:1170: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c: In function `glexpose2CB':
new_init_graphics.c:1197: `GLwDrawingAreaCallbackStruct' undeclared (first
use in this function)
new_init_graphics.c:1197: `call_data' undeclared (first use in this
function)
new_init_graphics.c:1198: parse error before ')' token
new_init_graphics.c:1203: request for member `glx_context' in something
not a structure or union
new_init_graphics.c:1206: request for member `height' in something not a
structure or union
new_init_graphics.c:1207: request for member `width' in something not a
structure or union
new_init_graphics.c:1221: request for member `widget' in something not a
structure or union
new_init_graphics.c:1221: request for member `window' in something not a
structure or union
new_init_graphics.c: In function `glresize2CB':
new_init_graphics.c:1234: `GLwDrawingAreaCallbackStruct' undeclared (first
use in this function)
new_init_graphics.c:1234: `call_data' undeclared (first use in this
function)
new_init_graphics.c:1235: parse error before ')' token
new_init_graphics.c:1238: request for member `glx_context' in something
not a structure or union
new_init_graphics.c:1241: request for member `height' in something not a
structure or union
new_init_graphics.c:1242: request for member `width' in something not a
structure or union
new_init_graphics.c: In function `PlotSelectedCB':
new_init_graphics.c:1336: request for member `ptr_D_spec' in something not
a structure or union
new_init_graphics.c:1338: request for member `ptr_D_spec' in something not
a structure or union
make[4]: *** [OBJ.sparc-sun-solaris2.9/new_init_graphics.o] Error 1
make[4]: Leaving directory
`/export/data0/build/grass50_exp_2003_05_17/src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/export/data0/build/grass50_exp_2003_05_17/src.contrib/GMSL/g3d/src3d/raster'
make[2]: *** [all] Error 1
make[2]: Leaving directory
`/export/data0/build/grass50_exp_2003_05_17/src.contrib/GMSL/g3d/src3d'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/export/data0/build/grass50_exp_2003_05_17/src.contrib/GMSL/g3d'
GISGEN failure at STEP: src.contrib/GMSL/g3d

GISGEN: src.contrib/GMSL/g3d/src3d/sites/s.vol.rst - Sun May 18 23:55:54
BST 2003







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?

Appreciative of all and any help and time.......

Cheers
Ade



___________________________________________________
Adrian [Ade] Fewings MEng

Distributed & High Performance Computing, Informatics, UWB
Dean Street, Bangor, Gwynedd. LL57 1UT. UK.

ade at informatics.bangor.ac.uk  www.informatics.bangor.ac.uk/~ade

Tel: +44 (0)1248 382736       Fax: +44 (0)1248 361429

'The ideal engineer is a composite ... He is not a scientist, he
is not a mathematician, he is not a sociologist or a writer; but
he may use the knowledge and techniques of any or all of these
disciplines in solving engineering problems.'
    N. W. Dougherty, 1955
___________________________________________________






More information about the grass-user mailing list