Opened 15 years ago

Closed 15 years ago

#222 closed defect (fixed)

GUI compile under MinGW

Reported by: pramsey Owned by: mcayland
Priority: medium Milestone: PostGIS 1.4.1
Component: postgis Version: 1.4.X
Keywords: Cc:

Description

Attachments (8)

postgis-loader.patch (4.5 KB ) - added by pramsey 15 years ago.
asprintf patch from mcayland
build.log (20.5 KB ) - added by robe 15 years ago.
current MinGW build log
postgis-gui-asprintf.patch (368 bytes ) - added by mcayland 15 years ago.
buildlog_aftericonv.log (38.0 KB ) - added by robe 15 years ago.
build log from 2009-07-16 after install iconv from gnu source
build_log.zip (5.1 KB ) - added by alexbruy 15 years ago.
screenshot_01.png (338.8 KB ) - added by pramsey 15 years ago.
Yes!
gui1.patch (774 bytes ) - added by pramsey 15 years ago.
This patch fixed things for me. Re-configure and re-make.
gui2.patch (794 bytes ) - added by pramsey 15 years ago.
Retain the CFLAGS at the linking stage.

Download all attachments as: .zip

Change History (30)

by pramsey, 15 years ago

Attachment: postgis-loader.patch added

asprintf patch from mcayland

comment:1 by pramsey, 15 years ago

This causes no harm to OS/X

comment:2 by pramsey, 15 years ago

Committed to trunk at r4293

Committed to 1.4 branch at r4294

comment:3 by robe, 15 years ago

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

by robe, 15 years ago

Attachment: build.log added

current MinGW build log

comment:4 by mcayland, 15 years ago

Hmmm looks like I missed one asprintf() in the last patch - try the attached patch.

Note that this still doesn't solve the problem with the encoding variable. Paul, what should happen to this if you're not building with iconv - should this section of code simply be wrapped in a #ifdef HAVE_ICONV … #endif?

ATB,

Mark.

by mcayland, 15 years ago

Attachment: postgis-gui-asprintf.patch added

comment:5 by robe, 15 years ago

Status: newassigned

Or should we always require iconv. I'm tempted to say I think its important enough that I would rather it be a requirement rather than me happily compiling away thinking everything is hunky dory because I see an .exe produced.

comment:6 by mcayland, 15 years ago

For trunk that's probably a good idea, but it's too late for 1.4 now. It's easy to check since when you run shp2pgsql on its own, you don't get the -W option listed if you compiled without iconv…

ATB,

Mark.

comment:7 by robe, 15 years ago

Well the commandline works and compiles fine without iconv — so I wasn't really talking about that for 1.4. Its just your GUI that doesn't. I'm all for making it a requirement to have iconv installed in order to compile with the GUI. That would seem requiring less change than having you take out the -W option in your dialog or conditionally offer that. Then again I haven't tried to understand it so I could be completely wrong.

comment:8 by pramsey, 15 years ago

Separate topic, really, but requiring iconv and then setting LATIN1 as the default encoding would probably reduce our mailing list traffic a bit.

comment:9 by robe, 15 years ago

Warmer but still no go. Now the output is beginning to look closer to my other messy install (note my other install is using the GCC 4. something or other Mark that you had mentioned so maybe that gcc doesn't have the asprintf issues) which is why I was able to quickly skip to this point with that other install.

Anyrate build log now looks like

make -C liblwgeom 
make[1]: Entering directory `/c/thesrc/postgis-1.4.0rc2/liblwgeom'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/c/thesrc/postgis-1.4.0rc2/liblwgeom'
make -C postgis 
make[1]: Entering directory `/c/thesrc/postgis-1.4.0rc2/postgis'
make[1]: Nothing to be done for `all'.
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 -Lc:/MinGW/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl   -liconv -Lc:/POSTGR~1/lib -lpq -lm stringbuffer.o shpopen.o dbfopen.o shp2pgsql-core-gui.o shp2pgsql-gui.o ../liblwgeom/liblwgeom.a -o shp2pgsql-gui.exe
shp2pgsql-core-gui.o:shp2pgsql-core.c:(.text+0x1646): undefined reference to `_imp__libiconv_open'
shp2pgsql-core-gui.o:shp2pgsql-core.c:(.text+0x16aa): undefined reference to `_imp__libiconv'
shp2pgsql-core-gui.o:shp2pgsql-core.c:(.text+0x16b6): undefined reference to `_imp__libiconv_close'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x49): undefined reference to `gtk_text_buffer_insert_at_cursor'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x68): undefined reference to `gtk_text_buffer_insert_at_cursor'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x75): undefined reference to `gtk_text_buffer_get_insert'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x7c): undefined reference to `gtk_text_view_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x8d): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x99): undefined reference to `gtk_text_view_scroll_mark_onscreen'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x13d): undefined reference to `PQexec'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x147): undefined reference to `PQresultStatus'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x151): undefined reference to `PQclear'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x195): undefined reference to `PQerrorMessage'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1c8): undefined reference to `PQerrorMessage'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x21a): undefined reference to `PQexec'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x224): undefined reference to `PQresultStatus'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x22e): undefined reference to `PQclear'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x255): undefined reference to `PQerrorMessage'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2b3): undefined reference to `PQputCopyData'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2fa): undefined reference to `PQerrorMessage'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x347): undefined reference to `PQputCopyEnd'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x361): undefined reference to `PQerrorMessage'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x424): undefined reference to `PQfinish'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x44a): undefined reference to `gtk_entry_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x45d): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x465): undefined reference to `gtk_entry_get_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x478): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x480): undefined reference to `gtk_entry_get_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x493): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x49b): undefined reference to `gtk_entry_get_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x4af): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x4b7): undefined reference to `gtk_entry_get_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x4cb): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x4d3): undefined reference to `gtk_entry_get_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x5a8): undefined reference to `gtk_label_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x5b0): undefined reference to `gtk_window_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x5c1): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x5eb): undefined reference to `gtk_dialog_new_with_buttons'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x5f2): undefined reference to `gtk_dialog_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x600): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x60c): undefined reference to `gtk_dialog_set_has_separator'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x611): undefined reference to `gtk_container_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x61f): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x630): undefined reference to `gtk_container_set_border_width'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x63c): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x64e): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x65f): undefined reference to `gtk_container_set_border_width'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x66b): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x67d): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x68c): undefined reference to `gtk_container_add'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x694): undefined reference to `gtk_widget_show_all'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x6a0): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x6a8): undefined reference to `gtk_dialog_run'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x6b0): undefined reference to `gtk_widget_destroy'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x6d0): undefined reference to `gtk_entry_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x6e3): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x6eb): undefined reference to `gtk_entry_get_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x6ff): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x707): undefined reference to `gtk_entry_get_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x743): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x74b): undefined reference to `gtk_entry_get_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x75e): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x766): undefined reference to `gtk_entry_get_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x779): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x781): undefined reference to `gtk_entry_get_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x823): undefined reference to `gtk_file_chooser_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x834): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x83c): undefined reference to `gtk_file_chooser_get_filename_utf8'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x890): undefined reference to `g_free'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x8d3): undefined reference to `gtk_toggle_button_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x8e6): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x8ee): undefined reference to `gtk_toggle_button_get_active'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x90c): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x914): undefined reference to `gtk_toggle_button_get_active'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x932): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x93a): undefined reference to `gtk_toggle_button_get_active'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x958): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x960): undefined reference to `gtk_toggle_button_get_active'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x985): undefined reference to `PQconnectdb'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x992): undefined reference to `PQstatus'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x9bf): undefined reference to `g_idle_add'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xa1e): undefined reference to `PQfinish'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xa30): undefined reference to `PQerrorMessage'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xa45): undefined reference to `gtk_label_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xa56): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xa67): undefined reference to `gtk_label_set_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xa87): undefined reference to `PQfinish'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xb74): undefined reference to `PQconnectdb'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xb81): undefined reference to `PQstatus'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xb89): undefined reference to `gtk_label_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xb9a): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xbab): undefined reference to `gtk_label_set_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xbc4): undefined reference to `gtk_widget_show'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xbd1): undefined reference to `PQfinish'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xbed): undefined reference to `PQfinish'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xc09): undefined reference to `PQerrorMessage'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xc1e): undefined reference to `gtk_label_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xc2f): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xc40): undefined reference to `gtk_label_set_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xc55): undefined reference to `PQfinish'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xc9a): undefined reference to `gtk_file_chooser_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xca9): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xcb1): undefined reference to `gtk_file_chooser_get_filename_utf8'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xd67): undefined reference to `gtk_entry_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xd78): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xd84): undefined reference to `gtk_entry_set_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xde9): undefined reference to `gtk_alignment_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xdf3): undefined reference to `gtk_label_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xdfa): undefined reference to `gtk_table_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xe09): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xe32): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xe3a): undefined reference to `gtk_container_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xe46): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xeae): undefined reference to `gtk_init_abi_check'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xeba): undefined reference to `gtk_window_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xec6): undefined reference to `gtk_container_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xeda): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xee8): undefined reference to `gtk_container_set_border_width'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xeed): undefined reference to `gtk_window_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xf01): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xf12): undefined reference to `gtk_window_set_title'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xf26): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xf40): undefined reference to `gtk_window_set_default_size'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xf56): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xf82): undefined reference to `g_signal_connect_data'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xf8e): undefined reference to `gtk_frame_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xfa3): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xfb4): undefined reference to `gtk_container_set_border_width'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xfc8): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1003): undefined reference to `gtk_file_chooser_dialog_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x100b): undefined reference to `gtk_file_chooser_button_new_with_dialog'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x101f): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1030): undefined reference to `gtk_container_set_border_width'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1035): undefined reference to `gtk_file_filter_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x103c): undefined reference to `gtk_file_filter_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1048): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1059): undefined reference to `gtk_file_filter_add_pattern'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x105e): undefined reference to `gtk_file_chooser_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x106f): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x107b): undefined reference to `gtk_file_chooser_add_filter'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x108f): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x10a1): undefined reference to `gtk_container_add'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x10b7): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x10e6): undefined reference to `g_signal_connect_data'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x10f2): undefined reference to `gtk_frame_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1113): undefined reference to `gtk_table_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1128): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1139): undefined reference to `gtk_container_set_border_width'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x113e): undefined reference to `gtk_table_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1150): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x115e): undefined reference to `gtk_table_set_col_spacings'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1170): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x117c): undefined reference to `gtk_table_set_row_spacings'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1188): undefined reference to `gtk_label_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x118f): undefined reference to `gtk_entry_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x11a6): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x11d2): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x11e4): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1210): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x121c): undefined reference to `gtk_label_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1223): undefined reference to `gtk_entry_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x122f): undefined reference to `gtk_entry_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1243): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x124f): undefined reference to `gtk_entry_set_visibility'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1261): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1298): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x12aa): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x12db): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x12e7): undefined reference to `gtk_label_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x12ee): undefined reference to `gtk_entry_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1302): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1310): undefined reference to `gtk_entry_set_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1324): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1336): undefined reference to `gtk_entry_set_width_chars'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1348): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x137d): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x138f): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x13c5): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x13ca): undefined reference to `gtk_entry_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x13de): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x13ef): undefined reference to `gtk_entry_set_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1403): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1414): undefined reference to `gtk_entry_set_width_chars'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1426): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1454): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1460): undefined reference to `gtk_label_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1467): undefined reference to `gtk_entry_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x147e): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x14b3): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x14c5): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x14f6): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1502): undefined reference to `gtk_button_new_with_label'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1516): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1541): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1552): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1588): undefined reference to `g_signal_connect_data'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1594): undefined reference to `gtk_label_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x15ab): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x15dc): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x15ee): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x15fd): undefined reference to `gtk_container_add'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1609): undefined reference to `gtk_frame_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x162a): undefined reference to `gtk_table_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x163b): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1647): undefined reference to `gtk_table_set_col_spacings'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1656): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1667): undefined reference to `gtk_table_set_row_spacings'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1676): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1687): undefined reference to `gtk_container_set_border_width'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1693): undefined reference to `gtk_label_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x169a): undefined reference to `gtk_entry_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x16ae): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x16bf): undefined reference to `gtk_entry_set_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x16d3): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x16e5): undefined reference to `gtk_entry_set_width_chars'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x16f4): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1720): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x172f): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1760): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x176c): undefined reference to `gtk_label_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1773): undefined reference to `gtk_entry_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1787): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1799): undefined reference to `gtk_entry_set_width_chars'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x17a8): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x17da): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x17e9): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x181a): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1826): undefined reference to `gtk_label_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x182d): undefined reference to `gtk_entry_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1841): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1853): undefined reference to `gtk_entry_set_width_chars'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1867): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1878): undefined reference to `gtk_entry_set_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1887): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x18b6): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x18c5): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x18f6): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1902): undefined reference to `gtk_label_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1909): undefined reference to `gtk_entry_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x191d): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x192f): undefined reference to `gtk_entry_set_width_chars'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1943): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1954): undefined reference to `gtk_entry_set_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1963): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1998): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x19a7): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x19d8): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x19ea): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x19f6): undefined reference to `gtk_container_add'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1a0b): undefined reference to `gtk_hbox_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1a1d): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1a2b): undefined reference to `gtk_container_set_border_width'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1a37): undefined reference to `gtk_button_new_with_label'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1a45): undefined reference to `gtk_button_new_with_label'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1a56): undefined reference to `gtk_button_new_with_label'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1a6d): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1a96): undefined reference to `g_signal_connect_data'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1aa7): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1ad3): undefined reference to `g_signal_connect_data'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1ae7): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1b13): undefined reference to `g_signal_connect_data'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1b18): undefined reference to `gtk_box_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1b2a): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1b56): undefined reference to `gtk_box_pack_start'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1b68): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1b8a): undefined reference to `gtk_box_pack_end'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1b9c): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1bc3): undefined reference to `gtk_box_pack_end'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1bcf): undefined reference to `gtk_frame_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1be4): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1bf0): undefined reference to `gtk_container_set_border_width'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1bf5): undefined reference to `gtk_text_view_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1c0a): undefined reference to `gtk_text_buffer_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1c1f): undefined reference to `gtk_scrolled_window_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1c27): undefined reference to `gtk_scrolled_window_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1c36): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1c4d): undefined reference to `gtk_scrolled_window_set_policy'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1c52): undefined reference to `gtk_text_view_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1c65): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1c77): undefined reference to `gtk_text_view_set_buffer'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1c8b): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1c9c): undefined reference to `gtk_container_set_border_width'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1cad): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1cbb): undefined reference to `gtk_text_view_set_editable'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1ccc): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1cda): undefined reference to `gtk_text_view_set_cursor_visible'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1ceb): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1cfc): undefined reference to `gtk_text_view_set_wrap_mode'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1d0e): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1d20): undefined reference to `gtk_container_add'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1d32): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1d41): undefined reference to `gtk_container_add'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1d53): undefined reference to `gtk_vbox_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1d64): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1d70): undefined reference to `gtk_container_set_border_width'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1d7f): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1da1): undefined reference to `gtk_box_pack_start'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1db0): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1ddb): undefined reference to `gtk_box_pack_start'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1dea): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1e0b): undefined reference to `gtk_box_pack_start'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1e10): undefined reference to `gtk_box_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1e22): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1e49): undefined reference to `gtk_box_pack_start'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1e58): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1e7f): undefined reference to `gtk_box_pack_start'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1e84): undefined reference to `gtk_container_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1e9b): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1eac): undefined reference to `gtk_container_add'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1eb9): undefined reference to `gtk_widget_show_all'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1ec5): undefined reference to `gtk_window_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1ed9): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1eea): undefined reference to `gtk_window_set_modal'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1efe): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1f0f): undefined reference to `gtk_window_set_keep_above'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1f23): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1f34): undefined reference to `gtk_window_set_title'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1f48): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1f62): undefined reference to `gtk_window_set_default_size'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1f76): undefined reference to `gtk_table_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1f88): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1f99): undefined reference to `gtk_container_set_border_width'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1f9e): undefined reference to `gtk_table_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1fb2): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1fc3): undefined reference to `gtk_table_set_row_spacings'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1fd5): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x1fe6): undefined reference to `gtk_table_set_col_spacings'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2005): undefined reference to `gtk_entry_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2011): undefined reference to `gtk_entry_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2025): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2037): undefined reference to `gtk_entry_set_width_chars'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x204b): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x205c): undefined reference to `gtk_entry_set_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x206e): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x209c): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x20b9): undefined reference to `gtk_check_button_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x20c5): undefined reference to `gtk_toggle_button_get_type'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x20d9): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x20e7): undefined reference to `gtk_toggle_button_set_active'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2103): undefined reference to `gtk_alignment_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2117): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2144): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2153): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2165): undefined reference to `gtk_container_add'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2187): undefined reference to `gtk_check_button_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x219b): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x21ac): undefined reference to `gtk_toggle_button_set_active'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x21c8): undefined reference to `gtk_alignment_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x21dc): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2209): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2218): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x222a): undefined reference to `gtk_container_add'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x224c): undefined reference to `gtk_check_button_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2260): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2271): undefined reference to `gtk_toggle_button_set_active'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x228d): undefined reference to `gtk_alignment_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x22a1): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x22ce): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x22df): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x22f1): undefined reference to `gtk_container_add'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2313): undefined reference to `gtk_check_button_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2327): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2333): undefined reference to `gtk_toggle_button_set_active'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2354): undefined reference to `gtk_alignment_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2368): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2395): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x23a9): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x23bb): undefined reference to `gtk_container_add'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x23dd): undefined reference to `gtk_entry_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x23f1): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2403): undefined reference to `gtk_entry_set_width_chars'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2417): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2428): undefined reference to `gtk_entry_set_text'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x243a): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2465): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2471): undefined reference to `gtk_button_new_with_label'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2484): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x24b3): undefined reference to `g_signal_connect_data'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x24c5): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x24ef): undefined reference to `gtk_table_attach_defaults'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2504): undefined reference to `gtk_vbox_new'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2515): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2532): undefined reference to `gtk_box_pack_start'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2546): undefined reference to `g_type_check_instance_cast'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2552): undefined reference to `gtk_container_add'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x2562): undefined reference to `gtk_main'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x418): undefined reference to `gtk_main_quit'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0x431): undefined reference to `gtk_main_quit'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xae9): undefined reference to `gtk_widget_show_all'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xc7d): undefined reference to `gtk_widget_hide_all'
shp2pgsql-gui.o:shp2pgsql-gui.c:(.text+0xe5a): undefined reference to `gtk_container_add'
collect2: ld returned 1 exit status
make[1]: *** [shp2pgsql-gui.exe] Error 1
make[1]: Leaving directory `/c/thesrc/postgis-1.4.0rc2/loader'
make: *** [loaderdumper] Error 2

comment:10 by robe, 15 years ago

Owner: changed from robe to mcayland
Status: assignednew

comment:11 by mcayland, 15 years ago

Looks like you're missing a -L/path/to/gtk/lib somewhere in here. Also with iconv it's best to compile with MingW rather than use GNUWin32, as the GNUWin32 folks decided to rename the iconv symbols for their MSVC builds :(

HTH,

Mark.

comment:12 by robe, 15 years ago

Milestone: postgis 1.4.0postgis 1.4.1

Mark,

We compiled iconv from source and installed that. Is there a version we should be using — We used http://ftp.gnu.org/gnu/libiconv/ (1.13.1 version)

Still same problems. We even tried changing the makefile and also doing a hand compile of each (replacing all our c:/ with /c/) and still same problems. So to conclude the gui .o files are all being built, but linking to shp2pgsql-gui.exe it croaks. The other exes are being built.

We officially give up on this (at least for now) and would like to push this to 1.4.1 so it doesn't hold up the release. Getting 1.4 out even without the gui for Windows is more important to us than having a gui for windows. Especially since we have our OSCON presentation next week — I would like to say "upgrade to 1.4" instead of "upgrade to 1.4 when it comes out".

Attached is the build log in case you see anything we missed.

by robe, 15 years ago

Attachment: buildlog_aftericonv.log added

build log from 2009-07-16 after install iconv from gnu source

comment:13 by mcayland, 15 years ago

I have no problems if you wish to leave the GUI component out of the 1.4 Win32 packages, however I do ask that you ensure that you get a complete regression pass for release. I've had a thought about a workaround for the regress/Makefile problem which I shall try this evening.

Incidentally, if you can arrange remote access to the VM, I'm still happy to try and work out what is happening here.

ATB,

Mark.

comment:14 by mcayland, 15 years ago

Committed postgis-gui-asprintf.patch to 1.4 branch and trunk as r4307 and r4308 respectively.

by alexbruy, 15 years ago

Attachment: build_log.zip added

comment:15 by alexbruy, 15 years ago

I also can't build GUI with MinGW and MSYS. I do all as described in pages http://trac.osgeo.org/postgis/wiki/UsersWikiWinCompileWithgui and http://trac.osgeo.org/postgis/wiki/UsersWikiWinCompile but when linking to shp2pgsql-gui.exe there are lots of errors (full log attached - build_log.zip).

I try to recompile libiconv from sources ( version 1.13.1 from http://ftp.gnu.org/gnu/libiconv/) but with no result. Also I try to use gettext from MSYS (both bin- and dev- packages) and no result again - errors while linking.

Tested with PostGIS 1.4.0 (SVN 4365) and PostGIS 1.4.1 (SVN 4393), MinGW 5.1.4, MSYS 1.0.11, Windows XP Pro SP3

comment:16 by pramsey, 15 years ago

Milestone: postgis 1.4.1postgis 1.4.2

Moving forward

by pramsey, 15 years ago

Attachment: screenshot_01.png added

Yes!

by pramsey, 15 years ago

Attachment: gui1.patch added

This patch fixed things for me. Re-configure and re-make.

comment:17 by pramsey, 15 years ago

More to the point, it got past the compile stage. There are some gnarly warnings still, and I haven't actually done more than launch the app.

comment:18 by robe, 15 years ago

This sounds great — can't wait to try it out and then we can stuff it in PgAdmin III under plugins section.

comment:19 by mcayland, 15 years ago

It would be good to work out if it's the argument reordering or the removal of CFLAGS which is affecting this. In particular, I believe William Kyngesburye needs CFLAGS present for his Mac builds: see ticket #237.

ATB,

Mark.

by pramsey, 15 years ago

Attachment: gui2.patch added

Retain the CFLAGS at the linking stage.

comment:20 by pramsey, 15 years ago

I just ran an import and it worked.

comment:21 by mcayland, 15 years ago

Okay thanks for sorting this out - I'll merge into the new shp2pgsql stuff when it's done :)

comment:22 by pramsey, 15 years ago

Milestone: PostGIS 1.4.2PostGIS 1.4.1
Resolution: fixed
Status: newclosed

This patch is now in both 1.4 and 1.5, I'm closing and moving to 1.4.1 milestone where it will be generally available.

Note: See TracTickets for help on using tickets.