[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    KDE_3_1_BRANCH kdelibs compile failure
From:       David Jarvie <lists () astrojar ! org ! uk>
Date:       2003-01-27 13:32:14
[Download RAW message or body]

On my system, kdelibs KDE_3_1_BRANCH (as of Jan 24th) fails to compile in 
kdoctools/, the compiler complaining about an undefined symbol 
LIBXSLT_PUBLIC. Modelled on my /usr/include/libxslt/xsltconfig.h, the 
following patch fixes the problem. It may well be that for KDE we don't need 
to include the #if !defined ... bits, and a simple

   #define LIBXSLT_PUBLIC

might be sufficient.


--- kdelibs/kdoctools/libxslt/xsltconfig.h Mon Jan 27 13:24:54 2003
+++ kdelibs-3.1.0/kdoctools/libxslt/xsltconfig.h        Mon Jan 27 08:49:23 
2003
@@ -87,6 +87,15 @@
 #define ATTRIBUTE_UNUSED
 #endif

+/**
+ * LIBXSLT_PUBLIC:
+ *
+ * This macro is used to declare PUBLIC variables for MSC on Windows
+ */
+#if !defined(WIN32) || defined(__CYGWIN__)
+#define LIBXSLT_PUBLIC
+#endif
+
 #ifdef __cplusplus
 }
 #endif

-- 
David Jarvie
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic