Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18187 - Error Compiling kdelibs-3.1.1
Summary: Error Compiling kdelibs-3.1.1
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-25 19:13 UTC by Adrian Almenar
Modified: 2003-05-28 22:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Almenar 2003-03-25 19:13:57 UTC
When i do emerge -u kde

kdelibs fails with this error:
Making all in ldap
make[4]: Entering directory
`/var/tmp/portage/kdelibs-3.1.1-r1/work/kdelibs-3.1.1/kabc/plugins/ldap'
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
-I. -I. -I../../.. -I../../../kabc -I../../../dcop -I../../../libltdl
-I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio
-I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I/usr/X11R6/include
-I/usr/kde/3.1/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 -O3 -march=pentium3 -pipe
-fomit-frame-pointer -freorder-blocks -fprefetch-loop-arrays -fno-exceptions
-fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_COMPAT  -c -o resourceldap.lo `test -f 'resourceldap.cpp' || echo
'./'`resourceldap.cpp
/usr/qt/3/bin/moc ./resourceldapconfig.h -o resourceldapconfig.moc
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
-I. -I. -I../../.. -I../../../kabc -I../../../dcop -I../../../libltdl
-I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio
-I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I/usr/X11R6/include
-I/usr/kde/3.1/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 -O3 -march=pentium3 -pipe
-fomit-frame-pointer -freorder-blocks -fprefetch-loop-arrays -fno-exceptions
-fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_COMPAT  -c -o resourceldapconfig.lo `test -f 'resourceldapconfig.cpp' ||
echo './'`resourceldapconfig.cpp
/bin/sh ../../../libtool --silent --mode=link --tag=CXX g++  -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 -O3 -march=pentium3 -pipe
-fomit-frame-pointer -freorder-blocks -fprefetch-loop-arrays -fno-exceptions
-fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_COMPAT    -o kabc_ldap.la.closure kabc_ldap_la_closure.lo
-L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib  -module -avoid-version
-module -no-undefined -R /usr/kde/3.1/lib -R /usr/qt/3/lib -R /usr/X11R6/lib 
-lldap -llber -lresolv resourceldap.lo resourceldapconfig.lo ../../libkabc.la
../../../kdeui/libkdeui.la
/usr/lib/libasn1.so: undefined reference to `init_error_table'
/usr/lib/libroken.so: undefined reference to `crypt'
/usr/lib/libasn1.so: undefined reference to `initialize_error_table_r'
collect2: ld returned 1 exit status
make[4]: *** [kabc_ldap.la.closure] Error 1
make[4]: Leaving directory
`/var/tmp/portage/kdelibs-3.1.1-r1/work/kdelibs-3.1.1/kabc/plugins/ldap'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdelibs-3.1.1-r1/work/kdelibs-3.1.1/kabc/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdelibs-3.1.1-r1/work/kdelibs-3.1.1/kabc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.1.1-r1/work/kdelibs-3.1.1'
make: *** [all] Error 2

I have the latest QT (3.1.2), openldap, xfree, glibc, gcc.

Emerge info:

arwen root # emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 Pentium III (Katmai)
GENTOO_MIRRORS="http://gentoo.linux.no http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss apm avi gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib
png quicktime spell truetype xml2 xv zlib gdbm readline arts bonobo guile mysql
X gpm tcpd python imlib gtk qt opengl -3dnow aalib -alsa apache2 berkdb cdr
crypt esd -gnome gtkhtml jikes mozilla perl samba sasl snmp sse tcltk tiff kde
motif cups ssl sdl svga xmms pam java encode oggvorbis slang xface ldap kerberos
pic slp xml ggi mule"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -freorder-blocks
-fprefetch-loop-arrays"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -freorder-blocks
-fprefetch-loop-arrays"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"



I want to note that this problem is the same even changing th CFLAGS && CCXFLAGS

i tried with 
- -O3 -march=pentium3 -pipe
- -O3 -march=pentium3 -pipe -fomit-frame-pointer
- -O3 -march=pentium3 -pipe -fomit-frame-pointer -freorder-blocks
-fprefetch-loop-arrays
- -O2 -mcpu=pentium3 -pipe

So a lil' help please with this one.

Adrian
Comment 1 Michele Balistreri (RETIRED) gentoo-dev 2003-04-14 12:21:34 UTC
try to remerge the packages which own /usr/lib/libasn1.so and  
/usr/lib/libroken.so (qpkg -f filename) 
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2003-05-12 10:04:43 UTC
Has this problem been fixed? 
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2003-05-28 10:29:27 UTC
No reply, and the fix was a relatively easy one. 
Comment 4 Adrian Almenar 2003-05-28 22:25:41 UTC
I finally solved it unmerging app-crypt/heimdal. 
 
And it compiled so i this theres a problem with this library and kde.