Scintilla on AMD64
Joe Marcus Clarke
marcus at marcuscom.com
Sat Oct 15 23:36:44 PDT 2005
On Sun, 2005-10-16 at 08:34 +0200, Stefan 'Steve' Tell wrote:
> Hi Joe Marcus,
>
> thanks for your fast reply ..
>
> * Joe Marcus Clarke <marcus at marcuscom.com> wrote:
> > On Sun, 2005-10-16 at 08:23 +0200, Stefan 'Steve' Tell wrote:
>
> >> 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 with
> >> -fPIC scintilla-marshal.o: could not read symbols: Bad value
> >> gmake: *** [../bin/libscintilla.so.1] Error 1
> >> *** Error code 2
> >>
> >> Any hints?
>
> > Try adding -fPIC to scintilla's Makefile at line 40.
>
> There is an -fpic in line 40 and I think, it compiles with -fpic.
>
> Line 40: MAKE_ARGS+= PICFLAGS="-DPIC -fpic"
But add -fPIC (capital PIC). That's what the compiler is saying is
required.
Joe
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20051016/fb9a23a6/attachment.bin
More information about the freebsd-gnome
mailing list