Missing Atk-1.9.0 exported symbols for Win32 build



I just joined the list so as not to bother the moderator, so this is a dupe. Sorry!

Hi, all!

I'm not sure if this is the correct list, but I noticed that the Gtk and
Gtkmm lists have a lot of the same people, so here goes.  ;)

I have been hitting this problem for a few weeks now, when building
Gtkmm DLLs for Win32  (I'm using a mingw cross-compiler) for Inkscape's
Win32 builds.

We have unexported symbols in Atk-1.9.0 for Win32.  The following
symbols are missing during the creation of Atkmm's DLL:

atk_relation_add_target
atk_relation_set_add_relation_by_type
atk_text_clip_type_get_type


I can comment the refs to them out for now, but I think
that it is dangerous to do so. I attached a patch, not to be used, but to show where the symbols are referenced.

Btw, we use Gtk+/Gtkmm on Win32 all the time.  Thanks, guys!



Bob Jamison
(ishmal)




Here is the link error:

Creating library file: .libs/libatkmm-1.6.dll.a
.libs/relation.o: In function
`_ZN3Atk8Relation10add_targetERKN4Glib6RefPtrINS_6ObjectEEE':
/home/rjamison/xmingw/gtkmm-2.6.4/atk/atkmm/../../atk/atkmm/relation.h:127:
undefined reference to `_atk_relation_add_target'
.libs/relationset.o: In function
`_ZN3Atk11RelationSet20add_relation_by_typeENS_12RelationTypeERKN4Glib6RefPtrINS_6ObjectEEE':
/home/rjamison/xmingw/gtkmm-2.6.4/atk/atkmm/../../atk/atkmm/relationset.h:80:
undefined reference to `_atk_relation_set_add_relation_by_type'
.libs/text.o: In function
`_ZN4Glib5ValueIN3Atk12TextClipTypeEE10value_typeEv':
/home/rjamison/xmingw/gtkmm-2.6.4/atk/atkmm/text.cc:231: undefined
reference to `_atk_text_clip_type_get_type'


diff -Nur -x.libs -x'*.la' atk_orig/atkmm/relation.cc atk/atkmm/relation.cc
--- atk_orig/atkmm/relation.cc	2005-07-29 11:34:04.000000000 -0500
+++ atk/atkmm/relation.cc	2005-07-29 11:36:15.000000000 -0500
@@ -168,7 +168,7 @@
 
 void Relation::add_target(const Glib::RefPtr<Atk::Object>& target)
 {
-  atk_relation_add_target(gobj(), Glib::unwrap(target));
+  //atk_relation_add_target(gobj(), Glib::unwrap(target));
 }
 
 
diff -Nur -x.libs -x'*.la' atk_orig/atkmm/relationset.cc atk/atkmm/relationset.cc
--- atk_orig/atkmm/relationset.cc	2005-07-29 11:34:04.000000000 -0500
+++ atk/atkmm/relationset.cc	2005-07-29 11:36:42.000000000 -0500
@@ -172,7 +172,7 @@
 
 void RelationSet::add_relation_by_type(RelationType relationship, const Glib::RefPtr<Atk::Object>& target)
 {
-  atk_relation_set_add_relation_by_type(gobj(), ((AtkRelationType)(relationship)), Glib::unwrap(target));
+  //atk_relation_set_add_relation_by_type(gobj(), ((AtkRelationType)(relationship)), Glib::unwrap(target));
 }
 
 
diff -Nur -x.libs -x'*.la' atk_orig/atkmm/text.cc atk/atkmm/text.cc
--- atk_orig/atkmm/text.cc	2005-07-29 11:34:04.000000000 -0500
+++ atk/atkmm/text.cc	2005-07-29 11:38:46.000000000 -0500
@@ -226,10 +226,10 @@
 }
 
 // static
-GType Glib::Value<Atk::TextClipType>::value_type()
-{
-  return atk_text_clip_type_get_type();
-}
+//GType Glib::Value<Atk::TextClipType>::value_type()
+//{
+//  return atk_text_clip_type_get_type();
+//}
 
 
 namespace Glib
diff -Nur -x.libs -x'*.la' atk_orig/atkmm/text.h atk/atkmm/text.h
--- atk_orig/atkmm/text.h	2005-07-29 11:34:04.000000000 -0500
+++ atk/atkmm/text.h	2005-07-29 11:40:52.000000000 -0500
@@ -250,7 +250,7 @@
 class Value<Atk::TextClipType> : public Glib::Value_Enum<Atk::TextClipType>
 {
 public:
-  static GType value_type() G_GNUC_CONST;
+  //static GType value_type() G_GNUC_CONST;
 };
 
 } // namespace Glib


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