Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2002 10:02:11 -0400
From:      "Zeno Lee" <freebsd@acedsl.com>
To:        <freebsd-questions@freebsd.org>
Subject:   make gdk-pixbuf fails; jpeg linking error
Message-ID:  <001e01c276ae$f4e0b770$0301a8c0@winxp>

next in thread | raw e-mail | index | archive | help
I have 4.7 RELEASE generic and gdk-pixbuf-0.20 fails to build because
libjpeg is doubly linked.  See message below.

I currently have gdk-pixbuf-0.17 and I'm trying to upgrade to 0.20 because a
few other gnome ports I want to install are depend on it.

Can anyone tell me why libjpeg becomes doubly linked?



I've had this problem for a while
===>  Building for gdk-pixbuf-0.20.0
gmake  all-recursive
gmake[1]: Entering directory
`/usr/ports/graphics/gdk-pixbuf/work/gdk-pixbuf-0.2
0.0'
Making all in gdk-pixbuf
gmake[2]: Entering directory
`/usr/ports/graphics/gdk-pixbuf/work/gdk-pixbuf-0.2
0.0/gdk-pixbuf'
Making all in pixops
gmake[3]: Entering directory
`/usr/ports/graphics/gdk-pixbuf/work/gdk-pixbuf-0.2
0.0/gdk-pixbuf/pixops'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory
`/usr/ports/graphics/gdk-pixbuf/work/gdk-pixbuf-0.20
.0/gdk-pixbuf/pixops'
gmake[3]: Entering directory
`/usr/ports/graphics/gdk-pixbuf/work/gdk-pixbuf-0.2
0.0/gdk-pixbuf'
/bin/sh ../libtool --mode=link cc  -O -pipe   -o
libpixbufloader-jpeg.la -rpath
/usr/X11R6/lib/gdk-pixbuf/loaders -avoid-version -module io-jpeg.lo -ljpeg
libgd
k_pixbuf.la -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/l
ib -
Wl,-E -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm -ltiff -ljpeg -lpng -lz -
L/us
r/local/lib
rm -fr .libs/libpixbufloader-jpeg.la .libs/libpixbufloader-jpeg.*
.libs/libpixbu
floader-jpeg.*
cc -shared  io-jpeg.lo -Wl,--whole-archive /usr/local/lib/libjpeg.a
/usr/local/l
ib/libjpeg.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/usr/ports/graphics/gdk
-pixbuf/work/gdk-pixbuf-0.20.0/gdk-pixbuf/.libs -Wl,--rpath -Wl,/usr/X11R6/l
ib  -L/u
sr/X11R6/lib -L/usr/local/lib
./.libs/libgdk_pixbuf.so -lgtk12 -lgdk12 -lgmodule
12 -lglib12 -lintl -lXext -lX11 -lm -ltiff
/usr/local/lib/libjpeg.a -lpng -lz
-Wl,-E -Wl,-soname -Wl,libpixbufloader-jpeg.so -o
.libs/libpixbufloader-jpeg.so
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_CreateCompress':
jcapimin.o(.text+0x0): multiple definition of `jpeg_CreateCompress'
/usr/local/lib/libjpeg.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'
/usr/local/lib/libjpeg.a(jcapimin.o)(.text+0x108): first defined here
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_abort_compress':
jcapimin.o(.text+0x120): multiple definition of `jpeg_abort_compress'
/usr/local/lib/libjpeg.a(jcapimin.o)(.text+0x120): first defined here
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_suppress_tables':
jcapimin.o(.text+0x138): multiple definition of `jpeg_suppress_tables'
/usr/local/lib/libjpeg.a(jcapimin.o)(.text+0x138): first defined here
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_finish_compress':
jcapimin.o(.text+0x190): multiple definition of `jpeg_finish_compress'
/usr/local/lib/libjpeg.a(jcapimin.o)(.text+0x190): first defined here
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_write_marker':
jcapimin.o(.text+0x2d8): multiple definition of `jpeg_write_marker'
/usr/local/lib/libjpeg.a(jcapimin.o)(.text+0x2d8): first defined here
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_write_m_header':
jcapimin.o(.text+0x364): multiple definition of `jpeg_write_m_header'
 ...


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001e01c276ae$f4e0b770$0301a8c0>