[postgis-devel] [PostGIS] #222: GUI compile under MinGW
PostGIS
trac at osgeo.org
Mon Jul 13 13:02:57 PDT 2009
#222: GUI compile under MinGW
----------------------+-----------------------------------------------------
Reporter: pramsey | Owner: robe
Type: defect | Status: new
Priority: medium | Milestone: postgis 1.4.0
Component: postgis | Version: 1.4.X
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by robe):
Still can't compile after this patch, but Nicklas was right that we forgot
to install iconv on this new box or its not being picked up. We'll
install that and try again.
FYI this is the message we get after applying the patch - loader section
also attached is the full build log
make[1]: Leaving directory `/c/thesrc/postgis-1.4.0rc2/postgis'
{{{
make -C loader
make[1]: Entering directory `/c/thesrc/postgis-1.4.0rc2/loader'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
statement -Wendif-labels -fno-strict-aliasing -fwrapv -I.
-Ic:/POSTGR~1/include/server -Ic:/POSTGR~1/include/internal
-I./src/include/port/win32 -DEXEC_BACKEND
"-Ic:/POSTGR~1/lib/pgxs/src/MAKEFI~1/../../src/include/port/win32"
-Ic:/POSTGR~1/include/server/port/win32 -c -o shpopen.o shpopen.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
statement -Wendif-labels -fno-strict-aliasing -fwrapv -I.
-Ic:/POSTGR~1/include/server -Ic:/POSTGR~1/include/internal
-I./src/include/port/win32 -DEXEC_BACKEND
"-Ic:/POSTGR~1/lib/pgxs/src/MAKEFI~1/../../src/include/port/win32"
-Ic:/POSTGR~1/include/server/port/win32 -c -o dbfopen.o dbfopen.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
statement -Wendif-labels -fno-strict-aliasing -fwrapv -I.
-Ic:/POSTGR~1/include/server -Ic:/POSTGR~1/include/internal
-I./src/include/port/win32 -DEXEC_BACKEND
"-Ic:/POSTGR~1/lib/pgxs/src/MAKEFI~1/../../src/include/port/win32"
-Ic:/POSTGR~1/include/server/port/win32 -c -o getopt.o getopt.c
getopt.c:618: warning: no previous prototype for 'pgis_getopt'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
statement -Wendif-labels -fno-strict-aliasing -fwrapv -I.
-Ic:/POSTGR~1/include/server -Ic:/POSTGR~1/include/internal
-I./src/include/port/win32 -DEXEC_BACKEND
"-Ic:/POSTGR~1/lib/pgxs/src/MAKEFI~1/../../src/include/port/win32"
-Ic:/POSTGR~1/include/server/port/win32 -c -o shp2pgsql.o shp2pgsql.c
shp2pgsql.c: In function `ParseCmdline':
shp2pgsql.c:1366: warning: implicit declaration of function `pgis_getopt'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
statement -Wendif-labels -fno-strict-aliasing -fwrapv shpopen.o dbfopen.o
getopt.o shp2pgsql.o ../liblwgeom/liblwgeom.a -lm -o shp2pgsql.exe
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
statement -Wendif-labels -fno-strict-aliasing -fwrapv
-Ic:/POSTGR~1/include -c pgsql2shp.c
pgsql2shp.c: In function `parse_commandline':
pgsql2shp.c:1220: warning: implicit declaration of function `pgis_getopt'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
statement -Wendif-labels -fno-strict-aliasing -fwrapv shpopen.o dbfopen.o
getopt.o pgsql2shp.o ../liblwgeom/liblwgeom.a -Lc:/POSTGR~1/lib -lpq -lm
-o pgsql2shp.exe
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
statement -Wendif-labels -fno-strict-aliasing -fwrapv -I.
-Ic:/POSTGR~1/include/server -Ic:/POSTGR~1/include/internal
-I./src/include/port/win32 -DEXEC_BACKEND
"-Ic:/POSTGR~1/lib/pgxs/src/MAKEFI~1/../../src/include/port/win32"
-Ic:/POSTGR~1/include/server/port/win32 -c -o stringbuffer.o
stringbuffer.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
statement -Wendif-labels -fno-strict-aliasing -fwrapv -DPGUI -c -o
shp2pgsql-core-gui.o shp2pgsql-core.c
gcc -Ic:/POSTGR~1/include -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
-mms-bitfields -Ic:/MinGW/include/gtk-2.0 -Ic:/MinGW/lib/gtk-2.0/include
-Ic:/MinGW/include/atk-1.0 -Ic:/MinGW/include/cairo
-Ic:/MinGW/include/pango-1.0 -Ic:/MinGW/include/glib-2.0
-Ic:/MinGW/lib/glib-2.0/include -Ic:/MinGW/include/libpng12 -o
shp2pgsql-gui.o -c shp2pgsql-gui.c
shp2pgsql-gui.c: In function `pgui_read_destination':
shp2pgsql-gui.c:339: warning: implicit declaration of function `asprintf'
shp2pgsql-gui.c: In function `pgui_action_import':
shp2pgsql-gui.c:434: error: `encoding' undeclared (first use in this
function)
shp2pgsql-gui.c:434: error: (Each undeclared identifier is reported only
once
shp2pgsql-gui.c:434: error: for each function it appears in.)
make[1]: *** [shp2pgsql-gui.o] Error 1
make[1]: Leaving directory `/c/thesrc/postgis-1.4.0rc2/loader'
make: *** [loaderdumper] Error 2
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/222#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
More information about the postgis-devel
mailing list