microdc-devel
[Top][All Lists]
Advanced

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

[microdc-devel] Re: microdc-devel Digest, Vol 30, Issue 1


From: Josh Watts
Subject: [microdc-devel] Re: microdc-devel Digest, Vol 30, Issue 1
Date: Sat, 19 Sep 2009 17:54:21 -0400



Date: Fri, 18 Sep 2009 02:39:38 +0300
From: Constantine Karnacevych <address@hidden>
Subject: [microdc-devel] unable to build microdc2 under mandriva
cooker
To: address@hidden
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1

command.o: In function `cmd_say':
/tmp/microdc2-0.15.6/src/command.c:867: undefined reference to
`main_to_utf8_string'
/tmp/microdc2-0.15.6/src/command.c:862: undefined reference to
`main_to_utf8_string'
/usr/bin/ld: Dwarf Error: Offset (2198) greater than or equal to
.debug_str size (1099).
hub.o: In function `prepare_chat_string_for_display':
/tmp/microdc2-0.15.6/src/hub.c:422: undefined reference to
`try_utf8_to_main_string'
/tmp/microdc2-0.15.6/src/hub.c:422: undefined reference to
`try_utf8_to_main_string'
/usr/bin/ld: Dwarf Error: Offset (1295) greater than or equal to
.debug_str size (434).
filelist-in.o: In function `parse_main':
/tmp/microdc2-0.15.6/src/filelist-in.c:363: undefined reference to
`filelist_xml_open'
/tmp/microdc2-0.15.6/src/filelist-in.c:365: undefined reference to
`filelist_bzxml_open'
user.o: In function `user_handle_command':
/tmp/microdc2-0.15.6/src/user.c:1056: undefined reference to
`utf8_to_main_string'

xml2-devel 2.7.4

any ideas?



There's a bug in the configure script where it incorrectly compares the libxml2 version numbers. Use the following patch:

diff -ur microdc2-0.15.6.old/configure microdc2-0.15.6/configure
--- microdc2-0.15.6.old/configure       2006-12-24 13:45:07.000000000 -0500
+++ microdc2-0.15.6/configure   2009-09-01 21:10:50.000000000 -0400
@@ -21508,7 +21508,7 @@
 _ACEOF
 
   fi
-  if test $LIBXML2_VERSION -ge 2616; then
+  if test $LIBXML2_VERSION > 2616; then
     cat >>confdefs.h <<\_ACEOF
 #define HAVE_LIBXML2 1
 _ACEOF

If that doesn't come through the mail system, you can also find it attached to Gentoo bug #241010 : http://bugs.gentoo.org/show_bug.cgi?id=241010

--
Josh Watts

reply via email to

[Prev in Thread] Current Thread [Next in Thread]