Version: (using KDE KDE 3.5.0) Installed from: Compiled From Sources Compiler: gcc version 4.0.3 20051124 (prerelease) OS: Linux Compile of kopete kde-3.5.0 fails with the following error's : if /bin/sh ../../../../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../../../.. -I./../include -I./../xmpp-core -I./../xmpp-im -I./../../cutestuff/util -I./../../cutestuff/network -I./../../qca/src -I/usr/kde/include -I/opt/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -march=pentium-m -mfpmath=sse -msse2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT libiris_xmpp_core_la-jid.lo -MD -MP -MF ".deps/libiris_xmpp_core_la-jid.Tpo" -c -o libiris_xmpp_core_la-jid.lo `test -f 'jid.cpp' || echo './'`jid.cpp; \ then mv -f ".deps/libiris_xmpp_core_la-jid.Tpo" ".deps/libiris_xmpp_core_la-jid.Plo"; else rm -f ".deps/libiris_xmpp_core_la-jid.Tpo"; exit 1; fi jid.cpp: In static member function 'static bool StringPrepCache::nameprep(const QString&, int, QString*)': jid.cpp:57: error: 'Stringprep_profile_flags' was not declared in this scope jid.cpp:57: error: 'stringprep_nameprep' was not declared in this scope jid.cpp: In static member function 'static bool StringPrepCache::nodeprep(const QString&, int, QString*)': jid.cpp:93: error: 'Stringprep_profile_flags' was not declared in this scope jid.cpp:93: error: 'stringprep_xmpp_nodeprep' was not declared in this scope jid.cpp: In static member function 'static bool StringPrepCache::resourceprep(const QString&, int, QString*)': jid.cpp:129: error: 'Stringprep_profile_flags' was not declared in this scope jid.cpp:129: error: 'stringprep_xmpp_resourceprep' was not declared in this scope make[7]: *** [libiris_xmpp_core_la-jid.lo] Error 1 make[7]: Leaving directory `/install/KDE/snapshots/kdenetwork-3.5.0/kopete/protocols/jabber/libiris/iris/xmpp-core' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/install/KDE/snapshots/kdenetwork-3.5.0/kopete/protocols/jabber/libiris/iris' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/install/KDE/snapshots/kdenetwork-3.5.0/kopete/protocols/jabber/libiris' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/install/KDE/snapshots/kdenetwork-3.5.0/kopete/protocols/jabber' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/install/KDE/snapshots/kdenetwork-3.5.0/kopete/protocols' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/install/KDE/snapshots/kdenetwork-3.5.0/kopete' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/install/KDE/snapshots/kdenetwork-3.5.0' make: *** [all] Error 2 gcc-4.0.3 20051124
Do you have libidn and its development package installed?
Yep , libidn is installed , note these dates are from after my commit the bug, that is because after submitting the bug I thought , maybe the compiler is not supported , so I recompiled everything with 3.4.4 again (including all the third party libraries, amongst which libidn). I get this error on all my systems where I try to compile the latest kde-3.5.0. Compilers in use range from gcc-3.4.3 till 4.0.3 prelease. -rw-r--r-- 1 root root 275350 2005-12-06 18:00 /usr/lib/libidn.a -rwxr-xr-x 1 root root 795 2005-12-06 18:00 /usr/lib/libidn.la lrwxrwxrwx 1 root root 16 2005-12-08 09:15 /usr/lib/libidn.so -> libidn.so.11.5.2 lrwxrwxrwx 1 root root 16 2005-12-08 09:15 /usr/lib/libidn.so.11 -> libidn.so.11.5.2 -rwxr-xr-x 1 root root 239868 2005-12-06 18:00 /usr/lib/libidn.so.11.5.2 [root@knoflook install]# ls -l /usr/include/idn idna.h idn-free.h idn-int.h [root@knoflook install]# ls -l /usr/include/idn* -rw-r--r-- 1 root root 2886 2005-12-06 18:00 /usr/include/idna.h -rw-r--r-- 1 root root 1755 2005-12-06 18:00 /usr/include/idn-free.h -rw-r--r-- 1 root root 8140 2005-12-06 18:00 /usr/include/idn-int.h
you shouldn't use buzilla to report comile error, please mail the mailing list instead. About this compile error, i don't know what cause this. this part of code is part of libiris which is maintained by the Psi team.
If you installed a newer version of silc after the install of libidn, it overwrites the stringprep.h file of libidn, so the solution is to reinstall libidn after silc.