Error compiling Pango



I'm compiling the pango-1.17.0 source on mingw-gcc version 3.4.4 and cywgin.

It boils down to the examples directory which after including all libs previously created gives the following 

 gcc -g -O2 -Wall -o pangoft2topgm.exe pangoft2topgm.o renderdemo.o argcontext.o  ../pango/.libs/libpango-1.0.a -L/usr/lib ../pango/.libs/libpangoft2-1.0.a /cygdrive/d/pango/pango/.libs/libpango-1.0.a -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 /usr/lib/libintl.dll.a /usr/lib/libiconv.dll.a /usr/lib/libfontconfig.dll.a ../pango/.libs/libpango-1.0.a ../pango/.libs/libpangocairo-1.0.a ../pango/.libs/libpangoft2-1.0.a ../pango/.libs/libpangowin32-1.0.a ../pango/.libs/libpangox-1.0.a ../pango/.libs/libpangoxft-1.0.a ../pango/mini-fribidi/.libs/libmini-fribidi.a ../pango/opentype/.libs/libpango-ot.a  ../modules/basic/.libs/pango-basic-fc.a ../modules/basic/.libs/pango-basic-win32.a ../modules/basic/.libs/pango-basic-x.a
pangoft2topgm.o: In function `main':
/cygdrive/d/pango/examples/pangoft2topgm.c:83: undefined reference to `_pango_ft2_font_map_new'
/cygdrive/d/pango/examples/pangoft2topgm.c:85: undefined reference to `_pango_ft2_font_map_set_resolution'
/cygdrive/d/pango/examples/pangoft2topgm.c:86: undefined reference to `_pango_ft2_font_map_set_default_substitute'
/cygdrive/d/pango/examples/pangoft2topgm.c:87: undefined reference to `_pango_ft2_font_map_create_context'
/cygdrive/d/pango/examples/pangoft2topgm.c:80: undefined reference to `__errno'
/cygdrive/d/pango/examples/pangoft2topgm.c:130: undefined reference to `__errno'
/cygdrive/d/pango/examples/pangoft2topgm.c:69: undefined reference to `__errno'
pangoft2topgm.o: In function `ft2_render':
/cygdrive/d/pango/examples/pangoft2topgm.c:39: undefined reference to `_pango_ft2_render_layout'
renderdemo.o: In function `get_font_description':
/cygdrive/d/pango/examples/renderdemo.c:79: undefined reference to `_pango_font_description_from_string'
/cygdrive/d/pango/examples/renderdemo.c:81: undefined reference to `_pango_font_description_get_set_fields'
/cygdrive/d/pango/examples/renderdemo.c:84: undefined reference to `_pango_font_description_get_set_fields'
/cygdrive/d/pango/examples/renderdemo.c:82: undefined reference to `_pango_font_description_set_family'
/cygdrive/d/pango/examples/renderdemo.c:84: undefined reference to `_pango_font_description_get_set_fields'
/cygdrive/d/pango/examples/renderdemo.c:85: undefined reference to `_pango_font_description_set_size'
renderdemo.o: In function `make_layout':
/cygdrive/d/pango/examples/renderdemo.c:99: undefined reference to `_pango_layout_new'
/cygdrive/d/pango/examples/renderdemo.c:101: undefined reference to `_pango_layout_set_markup'
/cygdrive/d/pango/examples/renderdemo.c:105: undefined reference to `_pango_layout_set_auto_dir'
/cygdrive/d/pango/examples/renderdemo.c:106: undefined reference to `_pango_layout_set_ellipsize'
/cygdrive/d/pango/examples/renderdemo.c:113: undefined reference to `_pango_layout_set_width'
/cygdrive/d/pango/examples/renderdemo.c:118: undefined reference to `_pango_context_get_base_dir'
/cygdrive/d/pango/examples/renderdemo.c:119: undefined reference to `_pango_layout_set_alignment'
/cygdrive/d/pango/examples/renderdemo.c:122: undefined reference to `_pango_layout_set_font_description'
/cygdrive/d/pango/examples/renderdemo.c:124: undefined reference to `_pango_font_description_free'
/cygdrive/d/pango/examples/renderdemo.c:103: undefined reference to `_pango_layout_set_text'
/cygdrive/d/pango/examples/renderdemo.c:110: undefined reference to `_pango_font_description_set_size'
/cygdrive/d/pango/examples/renderdemo.c:116: undefined reference to `_pango_layout_set_indent'
renderdemo.o: In function `get_options_string':
/cygdrive/d/pango/examples/renderdemo.c:139: undefined reference to `_pango_font_description_to_string'
/cygdrive/d/pango/examples/renderdemo.c:141: undefined reference to `_pango_font_description_free'
/cygdrive/d/pango/examples/renderdemo.c:137: undefined reference to `_pango_font_description_unset_fields'
renderdemo.o: In function `output_body':
/cygdrive/d/pango/examples/renderdemo.c:190: undefined reference to `_pango_layout_get_extents'
renderdemo.o: In function `do_output':
/cygdrive/d/pango/examples/renderdemo.c:243: undefined reference to `_pango_language_from_string'
/cygdrive/d/pango/examples/renderdemo.c:243: undefined reference to `_pango_context_set_language'
/cygdrive/d/pango/examples/renderdemo.c:244: undefined reference to `_pango_context_set_base_dir'
/cygdrive/d/pango/examples/renderdemo.c:265: undefined reference to `_pango_matrix_rotate'
/cygdrive/d/pango/examples/renderdemo.c:251: undefined reference to `_pango_layout_get_extents'
renderdemo.o: In function `parse_ellipsis':
/cygdrive/d/pango/examples/renderdemo.c:346: undefined reference to `_pango_ellipsize_mode_get_type'
renderdemo.o: In function `parse_hinting':
/cygdrive/d/pango/examples/renderdemo.c:364: undefined reference to `_pango_ellipsize_mode_get_type'
renderdemo.o: In function `parse_options':
/cygdrive/d/pango/examples/renderdemo.c:476: undefined reference to `_pango_parse_markup'
renderdemo.o: In function `set_transform':
/cygdrive/d/pango/examples/renderdemo.c:213: undefined reference to `_pango_context_set_matrix'
argcontext.o: In function `arg_context_parse':
/cygdrive/d/pango/examples/argcontext.c:75: undefined reference to `__errno'
/cygdrive/d/pango/examples/argcontext.c:87: undefined reference to `__errno'
collect2: ld returned 1 exit status

Does anyone have any tips or can lend a hand?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]