Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jun 2004 00:24:05 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Sean McNeil <sean@mcneil.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: evolution compilation on amd64
Message-ID:  <1086323045.41634.10.camel@shumai.marcuscom.com>
In-Reply-To: <1086303205.87004.3.camel@server.mcneil.com>
References:  <1086303205.87004.3.camel@server.mcneil.com>

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

--=-At+sVBXgKcwikd3IUm1l
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2004-06-03 at 18:53, Sean McNeil wrote:
> I get an error when compiling evolution on amd64:
>=20
> cc -shared  address-conduit.lo -Wl,--whole-archive
> ../../e-util/ename/.libs/libename-static.al
> ../../addressbook/backend/ebook/.libs/libebook-static.a
> -Wl,--no-whole-archive  -Wl,--rpath
> -Wl,/usr/ports/mail/evolution/work/evolution-1.4.6/e-util/.libs
> -Wl,--rpath
> -Wl,/usr/ports/mail/evolution/work/evolution-1.4.6/libversit/.libs
> -Wl,--rpath
> -Wl,/usr/ports/mail/evolution/work/evolution-1.4.6/camel/.libs
> -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
> -Wl,/usr/X11R6/lib/evolution/1.4 -Wl,--rpath -Wl,/usr/local/lib
> -L/usr/lib -L/usr/ports/mail/evolution/work/evolution-1.4.6/e-util/.libs
> -L/usr/X11R6/lib -L/usr/local/lib ../../e-util/.libs/libeutil.so
> ../../libversit/.libs/libversit.so ../../e-util/.libs/libeconduit.so
> ../../camel/.libs/libcamel.so -lgpilotd -lgpilotdcm -lgpilotdconduit
> /usr/local/lib/libpisock.so /usr/local/lib/libpisync.so -lgal-2.0
> -lgal-a11y-2.0 -lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2
> -lpopt -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2
> -lgthread-2.0 -lgnomeprintui-2-2 -lgnomeprint-2-2 -lgnomecanvas-2 -lxml2
> -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi
> -lXinerama -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft
> -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11
> -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -lpthread=20
> -Wl,--export-dynamic -Wl,-soname -Wl,libeaddress_conduit.so -o
> .libs/libeaddress_conduit.so
> /usr/bin/ld:
> ../../addressbook/backend/ebook/.libs/libebook-static.a(addressbook-stubs=
.o): relocation R_X86_64_32S can not be used when making a shared object; r=
ecompile with -fPIC
> ../../addressbook/backend/ebook/.libs/libebook-static.a(addressbook-stubs=
.o): could not read symbols: Bad value
> gmake[3]: *** [libeaddress_conduit.la] Error 1
>=20
> The following patch will get me past this issue.  I would think this to
> be a problem on any arch other than i386.  For some reason, i386 allows
> for normally build archives to be included into shared libraries...
>=20
> *** Makefile.orig       Thu Jun  3 15:34:38 2004
> --- Makefile    Thu Jun  3 15:12:25 2004
> *************** CONFIGURE_ARGS+=3D--with-openldap=3D${LOCALB
> *** 64,69 ****
> --- 64,73 ----
>   CONFIGURE_ARGS+=3D--with-openldap=3Dno
>   .endif
>=20
> + .if ${ARCH} =3D=3D "amd64"
> + CONFIGURE_ARGS+=3D--with-pic
> + .endif
> +
>   post-patch:
>         @${FIND} ${WRKSRC} -type f -name "*.[ch]" | ${XARGS} ${GREP} -l '=
<db.h>' | \
>                 ${XARGS} ${REINPLACE_CMD} -e 's|<db.h>|<db3/db.h>|g'

Committed, thanks!

Joe

>=20
>=20
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-At+sVBXgKcwikd3IUm1l
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAv/lkb2iPiv4Uz4cRAv2EAJ4hmwe8NLY9v3ua5aHHkPdGept0/gCfWYwi
f8K94HBmO0nNkG8g16ysYPs=
=v3cz
-----END PGP SIGNATURE-----

--=-At+sVBXgKcwikd3IUm1l--



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