Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2001 20:34:56 +0200
From:      Eric Jacoboni <jaco@teaser.fr>
To:        ports@freebsd.org
Subject:   Unable to build kdelibs2 (was Re: KDE 2.2 DCOP Resolved)
Message-ID:  <86ae0xp67j.fsf@titine.fr.eu.org>
In-Reply-To: <20010817230928.2B89537B411@hub.freebsd.org> ("Michael W.Collette"'s message of "Fri, 17 Aug 2001 16:09:25 -0700")
References:  <20010817230928.2B89537B411@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Michael" == Michael W Collette <metrol@metrol.net> writes:

Michael> Well, it seemed that I got me a bad copy of kdelibs.  That,
Michael> or somebody up there just likes me all of the sudden.  I did
Michael> a pkg_delete on just the kdelibs and pulled down a fresh copy
Michael> from ftp.kde.org.  Upon recompiling, all my DCOP problems
Michael> completely vanished!

Don't know if it's related but i don't even succeed to compile
kdelibs2.2 (cvsup 10 minutes ago) it fails while dealing with dcopserver
stuff... :

/-----------------
| c++ -fno-builtin -Wnon-virtual-dtor -Wno-long-long -g -O0 -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -O -pipe -march=k6 -fno-exceptions -fno-check-new -ftemplate-depth-99 -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -o .libs/dcopserver dummy.o  -L/usr/X11R6/lib -L/usr/local/lib ./.libs/dcopserver.so /usr/ports/x11/kdelibs2/work/kdelibs-2.2/dcop/.libs/libDCOP.so -lqt2 -lpng -lz -ljpeg -lXext -lX11 -lSM -lICE -L/usr/libexec/elf -L/usr/libexec -L/usr/lib -L/usr/local/tmp/gcc-3.0/i386-portbld-freebsd4.3/libstdc++-v3/src -L/usr/local/tmp/gcc-3.0/i386-portbld-freebsd4.3/libstdc++-v3/src/.libs -lm -lm -lm -L/usr/local/tmp/gcc-3.0/gcc -lgcc -lgcc -lm -lgcc -lgcc -lm -lm -lm -lm -lgcc -lgcc -lm -lgcc -lgcc -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/X11R6/lib
| ./.libs/dcopserver.so: undefined reference to `_Unwind_GetIP'
| ./.libs/dcopserver.so: undefined reference to `_Unwind_GetRegionStart'
| ./.libs/dcopserver.so: undefined reference to `_Unwind_Resume'
| ./.libs/dcopserver.so: undefined reference to `_Unwind_DeleteException'
| ./.libs/dcopserver.so: undefined reference to `_Unwind_RaiseException'
| ./.libs/dcopserver.so: undefined reference to `_Unwind_SetIP'
| ./.libs/dcopserver.so: undefined reference to `_Unwind_GetTextRelBase'
| ./.libs/dcopserver.so: undefined reference to `_Unwind_GetLanguageSpecificData'
| a'
| ./.libs/dcopserver.so: undefined reference to `_Unwind_SetGR'
| ./.libs/dcopserver.so: undefined reference to `_Unwind_GetDataRelBase'
| gmake[3]: *** [dcopserver] Erreur 1
| gmake[3]: Quitte le répertoire `/usr/ports/x11/kdelibs2/work/kdelibs-2.2/dcop'
| gmake[2]: *** [all-recursive] Erreur 1
| gmake[2]: Quitte le répertoire `/usr/ports/x11/kdelibs2/work/kdelibs-2.2/dcop'
| gmake[1]: *** [all-recursive] Erreur 1
| gmake[1]: Quitte le répertoire `/usr/ports/x11/kdelibs2/work/kdelibs-2.2'
| gmake: *** [all-recursive-am] Erreur 2
| *** Error code 2
| 
| Stop in /usr/ports/x11/kdelibs2.
| *** Error code 1
\-----------------

As you may notice, c++ try tu use gcc3 libs... I know that using
gcc3.0 is strongly discouraged to build KDE, so i never set anything
for that. I've installed manually gcc3.0 sometimes ago, it resids in
/usr/local/bin.

Furthermore the command line above seems rather messy.

By default, the 'gcc' command invokes the release version of the
compiler. I've no change anything in the library search path. I've
build some ports since this installation and never had such problem.

# gcc -v  
Using builtin specs.
gcc version 2.95.3 20010315 (release) [FreeBSD]

# uname -a
FreeBSD titine.fr.eu.org 4.4-RC FreeBSD 4.4-RC #0: Thu Aug 16 03:00:49 CEST 2001     root@titine.fr.eu.org:/usr/obj/usr/src/sys/TITINE  i386

I'm gonna investigate to remove these funky -L options but i don't
know why this port is searching all my fs to find C libraries... nor
if it's the reason of this building error.

-- 
Éric Jacoboni, né il y a 1301599859 secondes

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ae0xp67j.fsf>