Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2005 02:36:33 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "Stefan 'Steve' Tell" <stefan.tell@crashmail.de>
Cc:        gnome@freebsd.org
Subject:   Re: Scintilla on AMD64
Message-ID:  <1129444593.45346.11.camel@shumai.marcuscom.com>
In-Reply-To: <9fy$LwxPhEB@zeus.crashmail.de>
References:  <9fy$LwxPhEB@zeus.crashmail.de>

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

--=-FPXk6gZge4Ze65yuHvfk
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2005-10-16 at 08:34 +0200, Stefan 'Steve' Tell wrote:
> Hi Joe Marcus,
>=20
> thanks for your fast reply ..
>=20
> * Joe Marcus Clarke <marcus@marcuscom.com> wrote:
> > On Sun, 2005-10-16 at 08:23 +0200, Stefan 'Steve' Tell wrote:
>=20
> >> I can not build x11-toolkits/scintilla on my FreeBSD 6.0RC1/amd64 with
> >> GTK2-support.
> >>
> >> cc -DPIC -fpic `pkg-config --cflags gtk+-2.0 gthread-2.0` -O2
>    [ .. ]  ^^^^^^
> >> R_X86_64_32 can not be used when making a shared object; recompile wit=
h
> >> -fPIC scintilla-marshal.o: could not read symbols: Bad value
> >> gmake: *** [../bin/libscintilla.so.1] Error 1
> >> *** Error code 2
> >>
> >> Any hints?
>=20
> > Try adding -fPIC to scintilla's Makefile at line 40.
>=20
> There is an -fpic in line 40 and I think, it compiles with -fpic.
>=20
> Line 40: MAKE_ARGS+=3D     PICFLAGS=3D"-DPIC -fpic"

But add -fPIC (capital PIC).  That's what the compiler is saying is
required.

Joe

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

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

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

iD8DBQBDUfTxb2iPiv4Uz4cRAs+TAJ9JbBGkTVJObYybSALXckuNGqIYZgCeNGRM
jc7S6p9Juz7hv7VUqn+SSHE=
=UUIP
-----END PGP SIGNATURE-----

--=-FPXk6gZge4Ze65yuHvfk--




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