[postgis-devel] make check fails on Solaris 11.3 with version 2.3.6

Dechaux Eric CEN (BCQ STIG) eric.dechaux at gendarmerie.interieur.gouv.fr
Fri Jan 19 08:02:37 PST 2018


Hi list,

Starting with version 2.3.6 building the regression tests fails on 
Solaris 11.3. Error is :

gcc -m64 -g -O2 -I/usr/include/pcre -I/appli/stig/11.3.2018-01/include  
-Wall -Wmissing-prototypes -I/appli/stig/11.3.2018-01/include  
-I/usr/include/pcre -I/appli/stig/11.3.2018-01/include -I.. -c -o 
cu_buildarea.o cu_buildarea.c
In file included from cu_buildarea.c:17:0:
.../liblwgeom_internal.h:178:45: error: unknown type name ‘LWORD’
  void ptarray_swap_ordinates(POINTARRAY *pa, LWORD o1, LWORD o2);
                                              ^
.../liblwgeom_internal.h:178:55: error: unknown type name ‘LWORD’
  void ptarray_swap_ordinates(POINTARRAY *pa, LWORD o1, LWORD o2);
                                                        ^
In file included from cu_buildarea.c:17:0:
.../liblwgeom_internal.h:457:8: error: unknown type name 
‘lwinterrupt_callback’
  extern lwinterrupt_callback *_lwgeom_interrupt_callback;
         ^
gmake[3]: *** [cu_buildarea.o] Erreur 1

While I understant why it is happening, I don't really know the proper 
way to fix this... Any idea ?


Here are some system info :

$ pkg info -l entire | grep 'Version :'
Version : 0.5.11 (Oracle Solaris 11.3.22.3.0)

$ isainfo
amd64 i386

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/gcc/5/lib/gcc/x86_64-pc-solaris2.11/5.4.0/lto-wrapper
Target: x86_64-pc-solaris2.11
Configured with: 
/builds/ul11u3sru-gate/components/gcc5/gcc-5.4.0/configure 
CC='/usr/gcc/4.7/bin/gcc -m64' CXX='/usr/gcc/4.7/bin/g++ -m64' 
--prefix=/usr/gcc/5 --mandir=/usr/gcc/5/share/man 
--bindir=/usr/gcc/5/bin --libdir=/usr/gcc/5/lib 
--sbindir=/usr/gcc/5/sbin --infodir=/usr/gcc/5/share/info 
--libexecdir=/usr/gcc/5/lib --enable-languages=c,c++,fortran,objc 
--enable-shared --enable-initfini-array --disable-rpath 
--with-system-zlib --with-build-config=no 
--with-gmp-include=/usr/include/gmp 
--with-mpfr-include=/usr/include/mpfr --without-gnu-ld 
--with-ld=/usr/bin/ld --with-gnu-as --with-as=/usr/gnu/bin/as 
'BOOT_CFLAGS=-g -O2' x86_64-pc-solaris2.11
Thread model: posix
gcc version 5.4.0 (GCC)

Best regards.

-------------- next part --------------
Ce message électronique et tous les fichiers attachés qu'il contient sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le retourner à son émetteur. La publication, l'usage, la distribution, l'impression ou la copie non autorisée de ce message et des attachements qu'il contient sont strictement interdits.

En cas d'urgence, composez le 17 ou le 112.
Afin de contribuer au respect de l'environnement, merci de n'imprimer cet e-mail qu'en cas de necessite.

This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.

In case of emergency, dial number 17 or 112.
To contribute to the environmental protection, please print this e-mail only if necessary. 


More information about the postgis-devel mailing list