[Bug 195090] /usr/bin/ld: cannot find -lstdc++ - Postgis / geos Error on install..
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 20 15:29:35 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195090
--- Comment #6 from martin at marketbridge.com ---
I just tried postgis20 and I get:
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);
^
shp2pgsql-core.c:109:18: 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:112:17: error: use of undeclared identifier
'ICONV_SET_DISCARD_ILSEQ'
iconvctl(cd, ICONV_SET_DISCARD_ILSEQ, &on);
^
shp2pgsql-core.c:113:19: 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);
^
4 warnings and 2 errors generated.
Makefile:90: recipe for target 'shp2pgsql-core.o' failed
gmake[4]: *** [shp2pgsql-core.o] Error 1
gmake[4]: Leaving directory
'/usr/ports/databases/postgis20/work/postgis-2.0.6/loader'
GNUmakefile:14: recipe for target 'all' failed
gmake[3]: *** [all] Error 1
gmake[3]: Leaving directory '/usr/ports/databases/postgis20/work/postg
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list