Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2014 15:29:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 195090] /usr/bin/ld: cannot find -lstdc++ -  Postgis / geos Error on install..
Message-ID:  <bug-195090-8-sSQw23dggw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195090-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195090-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195090

--- Comment #6 from martin@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195090-8-sSQw23dggw>