[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-user: errors compiling gEDA 1.4.1 on cygwin
I decided to update to the latest stable version, but am having some
trouble when compiling gschem (that is as far as it gets at least).
I am running cygwin on top of Vista, and 1.4.0 was compiled and works
on the same system. The --disable-update-mime-database and
--disable-update-desktop-database are set in the Makefile. libgeda
compiled and installed with no problems.
The problem appears to be with the linking step, when trying to
reference libintl. libintl 1, 2, 3 and 8, gettext, as well as
gettext-devel are all installed. Here is the output:
gcc -Wall -g -O2 -o gschem.exe a_pan.o a_zoom.o g_register.o g_hook.o g_rc.o g
_keys.o g_funcs.o globals.o gschem.o i_basic.o i_callbacks.o i_vars.o o_basic.o
o_attrib.o o_move.o o_copy.o o_delete.o o_misc.o o_slot.o o_grips.o o_arc.o o_bo
x.o o_circle.o o_complex.o o_select.o o_find.o o_line.o o_net.o o_text.o o_pin.o
o_bus.o o_buffer.o o_undo.o o_picture.o x_autonumber.o x_basic.o x_dialog.o x_e
vent.o x_grid.o x_log.o x_menus.o x_script.o x_pagesel.o x_print.o x_window.o x_
stroke.o x_image.o x_color.o x_compselect.o x_fileselect.o x_preview.o x_attribe
dit.o x_multiattrib.o parsecmd.o o_cue.o gschem_dialog.o gschem_toplevel.o -L/ho
me/Duncan/geda/lib -L/home/Duncan/geda/lib -L/usr/bin -L/usr/lib/w32api -L/usr/
X11R6/lib -lgeda -lguile -lgmp -lcrypt -lltdl -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lp
angoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX1
1 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -L/usr
/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0
-lXft -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1
.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -L/usr/X11R6/li
b -lSM -lICE -lX11 -lm -lgthread-2.0 -lglib-2.0 -lintl -liconv -lintl
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: warning: au
to-importing has been activated without --enable-auto-import specified on the co
mmand line.
This should work unless it involves constant data structures referencing symbols
from auto-imported DLLs.a_zoom.o: In function `a_zoom_box':
/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1/src/a_zoom.c:250: undefined ref
erence to `_libintl_gettext'
g_rc.o: In function `g_rc_color_general':
/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1/src/g_rc.c:159: undefined refer
ence to `_libintl_gettext'
g_rc.o: In function `g_rc_text_display_zoomfactor':
/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1/src/g_rc.c:433: undefined refer
ence to `_libintl_gettext'
g_rc.o: In function `g_rc_text_size':
/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1/src/g_rc.c:524: undefined refer
ence to `_libintl_gettext'
g_rc.o: In function `g_rc_postscript_font_scale':
/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1/src/g_rc.c:552: undefined refer
ence to `_libintl_gettext'
g_rc.o:/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1/src/g_rc.c:595: more und
efined references to `_libintl_gettext' follow
gschem.o: In function `main':
/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1/src/gschem.c:359: undefined ref
erence to `_libintl_bindtextdomain'
/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1/src/gschem.c:360: undefined ref
erence to `_libintl_textdomain'
/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1/src/gschem.c:361: undefined ref
erence to `_libintl_bind_textdomain_codeset'
i_basic.o: In function `i_show_state':
/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1/src/i_basic.c:145: undefined re
ference to `_libintl_gettext'
/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1/src/i_basic.c:145: undefined re
ference to `_libintl_gettext'
/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1/src/i_basic.c:145: undefined re
ference to `_libintl_gettext'
/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1/src/i_basic.c:145: undefined re
ference to `_libintl_gettext'
/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1/src/i_basic.c:110: undefined re
ference to `_libintl_gettext'
i_basic.o:/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1/src/i_basic.c:145: mo
re undefined references to `_libintl_gettext' follow
/home/Duncan/geda/lib/libgeda.a(o_complex_basic.o): In function `o_complex_add':
/home/Duncan/src/gEDA/20080928/libgeda-1.4.1/src/o_complex_basic.c:422: undefine
d reference to `_libintl_dgettext'
/home/Duncan/geda/lib/libgeda.a(o_complex_basic.o): In function `o_complex_read'
:
/home/Duncan/src/gEDA/20080928/libgeda-1.4.1/src/o_complex_basic.c:716: undefine
d reference to `_libintl_dgettext'
/home/Duncan/src/gEDA/20080928/libgeda-1.4.1/src/o_complex_basic.c:728: undefine
d reference to `_libintl_dgettext'
/home/Duncan/geda/lib/libgeda.a(o_complex_basic.o): In function `o_complex_check
_symversion':
/home/Duncan/src/gEDA/20080928/libgeda-1.4.1/src/o_complex_basic.c:1486: undefin
ed reference to `_libintl_dgettext'
/home/Duncan/src/gEDA/20080928/libgeda-1.4.1/src/o_complex_basic.c:1532: undefin
ed reference to `_libintl_dgettext'
/home/Duncan/geda/lib/libgeda.a(o_complex_basic.o):/home/Duncan/src/gEDA/2008092
8/libgeda-1.4.1/src/o_complex_basic.c:1427: more undefined references to `_libin
tl_dgettext' follow
/home/Duncan/geda/lib/libgeda.a(libgeda.o): In function `libgeda_init':
/home/Duncan/src/gEDA/20080928/libgeda-1.4.1/src/libgeda.c:56: undefined referen
ce to `_libintl_bindtextdomain'
/home/Duncan/src/gEDA/20080928/libgeda-1.4.1/src/libgeda.c:57: undefined referen
ce to `_libintl_bind_textdomain_codeset'
/home/Duncan/geda/lib/libgeda.a(s_slib.o): In function `s_slib_search_lowlevel':
/home/Duncan/src/gEDA/20080928/libgeda-1.4.1/src/s_slib.c:188: undefined referen
ce to `_libintl_dgettext'
/home/Duncan/src/gEDA/20080928/libgeda-1.4.1/src/s_slib.c:204: undefined referen
ce to `_libintl_dgettext'
/home/Duncan/geda/lib/libgeda.a(s_hierarchy.o): In function `s_hierarchy_down_sc
hematic_single':
/home/Duncan/src/gEDA/20080928/libgeda-1.4.1/src/s_hierarchy.c:88: undefined ref
erence to `_libintl_dgettext'
/home/Duncan/geda/lib/libgeda.a(s_hierarchy.o): In function `s_hierarchy_up':
/home/Duncan/src/gEDA/20080928/libgeda-1.4.1/src/s_hierarchy.c:253: undefined re
ference to `_libintl_dgettext'
/home/Duncan/src/gEDA/20080928/libgeda-1.4.1/src/s_hierarchy.c:252: undefined re
ference to `_libintl_dgettext'
/home/Duncan/geda/lib/libgeda.a(s_hierarchy.o):/home/Duncan/src/gEDA/20080928/li
bgeda-1.4.1/src/s_hierarchy.c:329: more undefined references to `_libintl_dgette
xt' follow
Info: resolving _scm_i_freelist by linking to __imp__scm_i_freelist (auto-import
)
Info: resolving _scm_cells_allocated by linking to __imp__scm_cells_allocated (a
uto-import)
Info: resolving _scm_i_master_freelist by linking to __imp__scm_i_master_freelis
t (auto-import)
collect2: ld returned 1 exit status
make[3]: *** [gschem.exe] Error 1
make[3]: Leaving directory `/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1/src
'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/Duncan/src/gEDA/20080928/geda-gschem-1.4.1'
make: *** [geda-gschem-1.4.1/src/gschem] Error 2
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user