/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -c -o certexport.lo `test -f 'certexport.cpp' || echo './'`certexport.cpp In file included from /usr/kde/3.1/include/ksslinfodlg.h:28, from /usr/kde/3.1/include/ksslall.h:4, from crypto.cpp:85: /usr/kde/3.1/include/ksslcertificate.h:57: conflicting types for `struct X509' /usr/include/openssl/x509.h:280: previous declaration as `typedef struct x509_st X509' In file included from /usr/kde/3.1/include/ksslall.h:14, from crypto.cpp:85: /usr/kde/3.1/include/ksslpkcs7.h:34: conflicting types for `struct PKCS7' /usr/include/openssl/pkcs7.h:215: previous declaration as `typedef struct pkcs7_st PKCS7' In file included from /usr/kde/3.1/include/ksslall.h:15, from crypto.cpp:85: /usr/kde/3.1/include/ksslpkcs12.h:35: conflicting types for `struct EVP_PKEY' /usr/include/openssl/evp.h:186: previous declaration as `typedef struct evp_pkey_st EVP_PKEY' crypto.cpp: In member function `void KCryptoConfig::slotCAImport()': crypto.cpp:1835: no matching function for call to `KOpenSSLProxy:: X509_STORE_new()' crypto.cpp:1836: no matching function for call to `KOpenSSLProxy:: X509_LOOKUP_file()' crypto.cpp:1839: no matching function for call to `KOpenSSLProxy:: X509_LOOKUP_ctrl(X509_LOOKUP*&, int, QCString, long int, NULL)' crypto.cpp:1842: no matching function for call to `KOpenSSLProxy::sk_num( STACK*&)' crypto.cpp:1843: no matching function for call to `KOpenSSLProxy::sk_value( STACK*&, int&)' crypto.cpp:1912: no matching function for call to `KOpenSSLProxy:: X509_STORE_free(X509_STORE*&)' crypto.cpp:1984: no matching function for call to `KOpenSSLProxy:: X509_STORE_free(X509_STORE*&)' make[3]: *** [crypto.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/kdebase-3.1-r1/work/kdebase-3.1/kcontrol/crypto' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebase-3.1-r1/work/kdebase-3.1/kcontrol' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebase-3.1-r1/work/kdebase-3.1' make: *** [all] Error 2 !!! ERROR: kde-base/kdebase-3.1-r1 failed. !!! Function kde_src_compile, Line 117, Exitcode 2 !!! died running emake, kde_src_compile:make Reproducible: Always Steps to Reproduce: Portage 2.0.47-r7 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r10 i686 AMD Duron(tm) Processor GENTOO_MIRRORS="ftp.gentoo.no" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/myportage" USE="x86 libg++ libwww mikmod mpeg pdflib spell truetype xv gdbm slang python imlib gtk opengl -3dfx 3dnow -acl acpi -afs -alsa -apache2 -apm -arts -avi -berkdb -bonobo -cdr -crypt -cups dga -directfb -doc -dvd -encode -esd -evo gif -gnome -gpm -gps -gtk2 -imap -ipv6 -java jpeg -kde -kerberos -ldap matrox maildir mmx -motif mozilla -mysql ncurses -nls -oggvorbis -oss pam -perl png -pnp -qt -qtmt -quicktime readline -samba -sasl -scanner -sdl -snmp -socks5 ssl -svga -tcltk -tcpd tiff X -xml -xml2 -xmms -zeo zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-march=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync2.it.gentoo.org/gentoo-portage" FEATURES="sandbox ccache userpriv usersandbox"
which openssl do you have?
Here it is: dev-libs/openssl-0.9.6i
uhm, you've multiple openssl installations? maybe 0.9.6X and 0.9.7X?
no, only 0.9.6i
3.1.1 worked fine.
I'm closing this as you don't have the problem anymore and noone else seems to either