problem compiling various ports

Tomas Pluskal plusik at pohoda.cz
Mon Apr 14 07:28:28 PDT 2003


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


More information about the freebsd-ports mailing list