Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2014 18:07:48 GMT
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186563: databases/postgis21: error: use of undeclared identifier 'ICONV_SET_TRANSLITERATE'
Message-ID:  <201402081807.s18I7mJq003837@cgiserv.freebsd.org>
Resent-Message-ID: <201402081810.s18IA0p3055864@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186563
>Category:       ports
>Synopsis:       databases/postgis21: error: use of undeclared identifier 'ICONV_SET_TRANSLITERATE'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 08 18:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     O. Hartmann
>Release:        10.0-STABLE and 11.0-CURRENT
>Organization:
>Environment:
>Description:

[...]
cc -I ../liblwgeom -O2 -pipe -O3 -march=native -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -fPIC -DPIC  -Wall -Wmissing-prototypes    -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include  -c -o dbfopen.o dbfopen.c
cc -I ../liblwgeom -O2 -pipe -O3 -march=native -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -fPIC -DPIC  -Wall -Wmissing-prototypes    -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include  -c -o getopt.o getopt.c
cc -I ../liblwgeom -O2 -pipe -O3 -march=native -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -fPIC -DPIC  -Wall -Wmissing-prototypes    -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include  -c -o shpcommon.o shpcommon.c
cc -I ../liblwgeom -O2 -pipe -O3 -march=native -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -fPIC -DPIC  -Wall -Wmissing-prototypes    -I. -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include  -c -o safileio.o safileio.c
cc -I ../liblwgeom -O2 -pipe -O3 -march=native -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -fPIC -DPIC  -Wall -Wmissing-prototypes    -c shp2pgsql-core.c
shp2pgsql-core.c:103:17: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types
      [-Wincompatible-pointer-types-discards-qualifiers]
        if ( iconv(cd, &inputbuf, &inbytesleft, &outputptr, &outbytesleft) == -1 )
                       ^~~~~~~~~
/usr/local/include/iconv.h:83:48: note: passing argument to parameter 'inbuf' here
extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
                                               ^
shp2pgsql-core.c:108:3: warning: implicit declaration of function 'iconvctl' is invalid in C99 [-Wimplicit-function-declaration]
                iconvctl(cd, ICONV_SET_TRANSLITERATE, &on);
                ^
shp2pgsql-core.c:108:16: error: use of undeclared identifier 'ICONV_SET_TRANSLITERATE'
                iconvctl(cd, ICONV_SET_TRANSLITERATE, &on);


[...]


 [postgis21] make showconfig
===> The following configuration options are available for postgis-2.1.0_1:
     LOADERGUI=off: Enable shp2pgsql-gui
     RASTER=off: Raster support
     TOPOLOGY=on: Topology support
===> Use 'make config' to modify these settings

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402081807.s18I7mJq003837>