Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2003 16:28:13 +0200 (CEST)
From:      Tomas Pluskal <plusik@pohoda.cz>
To:        ports@freebsd.org
Subject:   problem compiling various ports
Message-ID:  <20030414162322.A77079@eddie.>

next in thread | raw e-mail | index | archive | help

Hello,

I am using 4.8-STABLE system, and I was unable to compile various ports,
for example:
x11/kdelibs3
audio/arts
x11-fm/nautilus2
and others. The error is always the same, it is trying to link libjpeg
twice:

--- snap from x11/kdelibs3 compilation: ---
gmake[3]: Entering directory
`/usr/ports/x11/kdelibs3/work/kdelibs-3.1.1a/dcop'
/bin/sh ../libtool --silent --mode=link --tag=CXX c++  -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wa
ll -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-DNDEBUG -DNO_DEBUG -O -pipe -f
no-exceptions -fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_CO
MPAT    -o libDCOP.la -rpath /usr/local/lib -R /usr/local/lib -R
/usr/X11R6/lib -R /usr/X11R6/lib -R
 /usr/local/lib -version-info 5:0:1 -no-undefined -L/usr/X11R6/lib
-pthread -L/usr/local/lib  -L/usr
/local/lib dcopstub.lo dcopref.lo dcopobject.lo dcopclient.lo
KDE-ICE/libkICE.la -lqt-mt  -lpng -lz
-lm -lXext -lX11  -lSM -lICE -Wl,-export-dynamic -L/usr/local/lib
-L/usr/X11R6/lib -ljpeg  -L/usr/X1
1R6/lib
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_CreateCompress':
jcapimin.o(.text+0x0): multiple definition of `jpeg_CreateCompress'
KDE-ICE/.libs/libkICE.a(jcapimin.o)(.text+0x0): first defined here
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_destroy_compress':
jcapimin.o(.text+0x108): multiple definition of `jpeg_destroy_compress'
KDE-ICE/.libs/libkICE.a(jcapimin.o)(.text+0x108): first defined here
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_abort_compress':
jcapimin.o(.text+0x11c): multiple definition of `jpeg_abort_compress'
KDE-ICE/.libs/libkICE.a(jcapimin.o)(.text+0x11c): first defined here
... etc.

I have tried reinstalling libjpeg, it didn't help.
Could please someone advice me, what to look for?

Thank you

Tomas Pluskal



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