{"action":"opened","issue":{"url":"https://api.github.com/repos/Alexpux/MINGW-packages/issues/988","labels_url":"https://api.github.com/repos/Alexpux/MINGW-packages/issues/988/labels{/name}","comments_url":"https://api.github.com/repos/Alexpux/MINGW-packages/issues/988/comments","events_url":"https://api.github.com/repos/Alexpux/MINGW-packages/issues/988/events","html_url":"https://github.com/Alexpux/MINGW-packages/issues/988","id":125772710,"number":988,"title":"glib2 unexported variables","user":{"login":"jeroenooms","id":216319,"avatar_url":"https://avatars.githubusercontent.com/u/216319?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroenooms","html_url":"https://github.com/jeroenooms","followers_url":"https://api.github.com/users/jeroenooms/followers","following_url":"https://api.github.com/users/jeroenooms/following{/other_user}","gists_url":"https://api.github.com/users/jeroenooms/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroenooms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroenooms/subscriptions","organizations_url":"https://api.github.com/users/jeroenooms/orgs","repos_url":"https://api.github.com/users/jeroenooms/repos","events_url":"https://api.github.com/users/jeroenooms/events{/privacy}","received_events_url":"https://api.github.com/users/jeroenooms/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-09T18:11:40Z","updated_at":"2016-01-09T18:11:40Z","closed_at":null,"body":"I am trying to statically link my application to `librsvg` however it fails to find symbols `__imp_g_ascii_table` and `__imp_g_utf8_skip`. \r\n\r\nThese symbols are `GLIB_VAR` types which get defined by `glib2` in `glib-2.0/glib/gstrfuncs.h` and `glib-2.0/glib/gunicode.h` but for some reason not included in the static library.\r\n\r\nMy full error log:\r\n\r\n\r\n\r\n```\r\nC:/Rtools/mingw_64/bin/gcc -shared -s -static-libgcc -o rsvg.dll tmp.def g_utf8_skip.o rsvg.o strtok_r.o -L../windows/rsvg-2.40.12/lib/x64 -lrsvg-2 -lxml2 -lz -lpangocairo-1.0 -lpango-1.0 -lpangoft2-1.0 -lpangowin32-1.0 -lcairo-gobject -lcairo -lfontconfig -lfreetype -lpng16 -lpixman-1 -lexpat -lharfbuzz -lbz2 -lgdi32 -lz -lcroco-0.6 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lgdk_pixbuf-2.0 -lintl -lffi -liconv -lusp10 -ldnsapi -liphlpapi -lshlwapi -lwinmm -lole32 -lws2_32 -LC:/Rbuild/R-devel-win64/extsoft/lib/x64 -LC:/Rbuild/R-devel-win64/extsoft/lib -LC:/PROGRA~1/R/R-EXPE~1/bin/x64 -lR\r\n../windows/rsvg-2.40.12/lib/x64/librsvg-2.a(librsvg_2_la-rsvg-css.o):(.text+0x12de): undefined reference to `__imp_g_ascii_table'\r\n../windows/rsvg-2.40.12/lib/x64/librsvg-2.a(librsvg_2_la-rsvg-io.o):(.text+0xc): undefined reference to `__imp_g_ascii_table'\r\n../windows/rsvg-2.40.12/lib/x64/librsvg-2.a(librsvg_2_la-rsvg-mask.o):(.text+0x37b): undefined reference to `__imp_g_ascii_table'\r\n../windows/rsvg-2.40.12/lib/x64/librsvg-2.a(librsvg_2_la-rsvg-styles.o):(.text+0x2db4): undefined reference to `__imp_g_ascii_table'\r\n../windows/rsvg-2.40.12/lib/x64/librsvg-2.a(librsvg_2_la-rsvg-styles.o):(.text+0x32ea): undefined reference to `__imp_g_ascii_table'\r\n../windows/rsvg-2.40.12/lib/x64/libpangocairo-1.0.a(pangocairo-font.o):(.text+0xe5f): undefined reference to `__imp_g_utf8_skip'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(fonts.o):(.text+0x88): undefined reference to `__imp_g_ascii_table'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(fonts.o):(.text+0x11f9): undefined reference to `__imp_g_ascii_table'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(fonts.o):(.text+0x166d): undefined reference to `__imp_g_ascii_table'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(pango-context.o):(.text+0x2e): undefined reference to `__imp_g_utf8_skip'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(pango-context.o):(.text+0x8b7): undefined reference to `__imp_g_utf8_skip'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(pango-context.o):(.text+0xe78): undefined reference to `__imp_g_utf8_skip'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(pango-context.o):(.text+0x1990): undefined reference to `__imp_g_utf8_skip'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(pango-engine.o):(.text+0x1ab): undefined reference to `__imp_g_utf8_skip'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(pango-engine.o):(.text+0x3a1): more undefined references to `__imp_g_utf8_skip' follow\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(pango-markup.o):(.text+0x10de): undefined reference to `__imp_g_ascii_table'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(pango-script.o):(.text+0x9c): undefined reference to `__imp_g_utf8_skip'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(pango-utils.o):(.text+0x72): undefined reference to `__imp_g_ascii_table'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(pango-utils.o):(.text+0xa6): undefined reference to `__imp_g_ascii_table'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(pango-utils.o):(.text+0x493): undefined reference to `__imp_g_ascii_table'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(pango-utils.o):(.text+0x4da): undefined reference to `__imp_g_ascii_table'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(pango-utils.o):(.text+0x5cb): undefined reference to `__imp_g_ascii_table'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(pango-utils.o):(.text+0xaeb): undefined reference to `__imp_g_utf8_skip'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(pango-utils.o):(.text+0xd74): undefined reference to `__imp_g_utf8_skip'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(break.o):(.text+0x144): undefined reference to `__imp_g_utf8_skip'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(break.o):(.text+0x278): undefined reference to `__imp_g_utf8_skip'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(break.o):(.text+0x5aa): undefined reference to `__imp_g_utf8_skip'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(break.o):(.text+0x1879): more undefined references to `__imp_g_utf8_skip' follow\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(pango-color.o):(.text+0x146): undefined reference to `__imp_g_ascii_table'\r\n../windows/rsvg-2.40.12/lib/x64/libpango-1.0.a(fribidi.o):(.text+0x301): undefined reference to `__imp_g_utf8_skip'\r\n../windows/rsvg-2.40.12/lib/x64/libpangoft2-1.0.a(pangofc-font.o):(.text+0x98c): undefined reference to `__imp_g_utf8_skip'\r\n../windows/rsvg-2.40.12/lib/x64/libpangowin32-1.0.a(pangowin32-shape.o):(.text+0xe64): undefined reference to `__imp_g_utf8_skip'\r\n../windows/rsvg-2.40.12/lib/x64/libpangowin32-1.0.a(pangowin32-shape.o):(.text+0x11b6): undefined reference to `__imp_g_utf8_skip'\r\n../windows/rsvg-2.40.12/lib/x64/libpangowin32-1.0.a(pangowin32-shape.o):(.text+0x125a): undefined reference to `__imp_g_utf8_skip'\r\ncollect2.exe: error: ld returned 1 exit status\r\n```"}}