Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions
User Name
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.


  Search this Thread
Old 04-11-2004, 02:07 PM   #1
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
Gentoo - Error in emerging kdelibs-3.2.1

Here's one for you gentoo users - also posted in this thread in the Gentoo forum.

In building a fresh gentoo system, I'm unable to merge the latest KDE. It's the first thing I've attempted to merge after "emerge system" and kernel configuration.

It craps out during emerge kdelibs-3.2.1 with the following:
Many, MANY errors to the effect of:
In function 'jpeg_mem_term':
: multiple definition of 'jpeg_mem_term'
./.libs/libkbzipfilter_dummy.a(jmemnobs.o)(.text+0x55): first defined here

There are dozens of those, all having something to do with jpeg handling.

The final error messages are:
collect2: ld returned 1 exit status
make[2]: *** [] Error 1
make[2]: Leaving directory '/var/tmp/portage/kdelibs-3.2.1/work/kdelibs-3.2.1/kdoctools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/kdelibs-3.2.1/work/kdelibs-3.2.1
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.2.1 failed.
!!! Function kde_src_compile, Line 128, Exitcode 2
!!! died running emake, kde_src_compile:make

Only strange things about my system:
I'm using udev as per the Gentoo udev guide

I'm compiling with distcc - Ran into problems merging the package directly preceding kdelibs (giflib - something to do with image processing, so it's likely connected) with distcc, so I disabled distcc to build that one, and it merged just fine.
Now, kdelibs won't merge with or without distcc, with or without the USE="-java" option, with or without optimizations (I use -O3 -march=pentium4 -pipe -fomit-frame-pointer -fprefetch-loop-arrays, so they're conservative anyway).

I've read the thread on these forums about compiling KDE and followed the directions there about the -java use flag - they also mention a -sandbox flag, but I'm not using sandbox in any case.

The system:
P4 512MB RAM
Kernel 2.6.3-gentoo (emerge gentoo-dev-sources)
GCC 3.3.2

My make.conf, for reference:

CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -fprefetch-loop-arrays"
USE="x86 oss apm alsa arts avi -berkdb cdr crypt cups dvd encode foomaticdb gdbm gif gpm -gtk -gtk2 icq imap imlib jpeg kde -gnome libg++ libwww mad mikmod motif msn mpeg ncurses nls oggvorbis opengl pam pda pdflib png python qt quicktime readline samba sdl slang spell ssl svga tcpd truetype usb X xml2 xmms xv zlib"
FEATURES="distcc ccache"
(as mentioned, I've also tried without distcc, no change)

Any help would be much appreciated!
Old 08-18-2004, 11:19 AM   #2
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
maybe this problem if fixed by now... emerge sync !
Old 08-18-2004, 11:31 AM   #3
LQ Guru
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Originally posted by qwijibow
maybe this problem if fixed by now... emerge sync !
I had the same problem which was fixed after I ran an emerge sync. You could try taking out CFLAGS and USE flags, it might compile although you will lose some optimization.
Old 08-19-2004, 10:20 PM   #4
Registered: Oct 2003
Distribution: Gentoo rules them all
Posts: 279

Rep: Reputation: 31
considering that kdelibs are now into version 3.2.3 (and thats UNMASKED; masked is in 3.3). i declare the problems fixed.

ps. that's not to mention that resolution qwijibow's reply is about 2 months late
Old 11-04-2004, 08:00 PM   #5
LQ Newbie
Registered: Sep 2003
Location: who cares
Distribution: lx from scratch
Posts: 1

Rep: Reputation: 0
Old 11-05-2004, 04:02 AM   #6
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
How do you end up with that version anyway?

Latest version available: 3.3.0
Old 11-05-2004, 10:53 AM   #7
Registered: Feb 2004
Distribution: Gentoo
Posts: 119

Rep: Reputation: 15
Originally posted by crashmeister
How do you end up with that version anyway?

Latest version available: 3.3.0
May have something to do with the thred being 6 months old. :O


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo 2005.1: error emerging xorg-x11 student04 Linux - Distributions 2 09-16-2005 07:43 PM
Problem emerging KDE in Gentoo cdavidson Linux - Distributions 5 05-27-2005 07:59 PM
Gentoo freezes when emerging Strom_Boli Linux - Newbie 1 10-18-2004 10:52 PM
Gentoo - Emerging Xfree86 arrruken Linux - Software 5 02-29-2004 06:08 AM
Evolution errors after emerging in Gentoo Makystir Linux - Software 1 10-31-2003 02:48 PM > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 05:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration