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

List:       kde-devel
Subject:    compile problem in kdebase/kioslave/help/libxslt
From:       Oswald Buddenhagen <ob6 () inf ! tu-dresden ! de>
Date:       2001-04-05 15:02:57
[Download RAW message or body]

hi (again ... :),

i get this error:

Making all in libxslt
make[4]: Entering directory `/usr/src/kde/kdebase/kioslave/help/libxslt'
/bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. \
-I/usr/include/libxml -I/usr/include    -O2 -c xslt.c gcc -DHAVE_CONFIG_H -I. -I. \
-I../../.. -I./.. -I/usr/include/libxml -I/usr/include -O2 -Wp,-MD,.deps/xslt.pp -c \
xslt.c  -fPIC -DPIC -o .libs/xslt.o In file included from xslt.c:12:
xsltconfig.h:24: ansidecl.h: No such file or directory
make[4]: *** [xslt.lo] Error 1
make[4]: Leaving directory `/usr/src/kde/kdebase/kioslave/help/libxslt'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/kde/kdebase/kioslave/help'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/kde/kdebase/kioslave'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kde/kdebase'
make: *** [all-recursive-am] Error 2

the code in question (found in xsltconfig.h.in):

#ifdef __GNUC__
#include <ansidecl.h>
#ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED
#endif
#else
#define ATTRIBUTE_UNUSED
#endif

hmm ... i'm using libc 2.2 (up-to-date debian unstable) - there is not
one file in the include diretory, which contains ATTRIBUTE_UNUSED.

just commenting out the #include helps.

i'm not sure, what to do about this ... extend the #if __GNUC__ stuff
by some version check or create a configure check for ansidecl.h?
or maybe, create the __attribute__ stuff (i guess, this is what the
whole thing is about ...) by hand?

best regards

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.
 
> > Visit http://master.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