Scintilla on AMD64

Joe Marcus Clarke marcus at marcuscom.com
Sat Oct 15 23:53:48 PDT 2005


On Sun, 2005-10-16 at 08:47 +0200, Stefan 'Steve' Tell wrote:
> * Stefan 'Steve' Tell <stefan.tell at crashmail.de> wrote:
> > * Joe Marcus Clarke <marcus at marcuscom.com> wrote:
> >> On Sun, 2005-10-16 at 08:34 +0200, Stefan 'Steve' Tell wrote:
> 
> >>> There is an -fpic in line 40 and I think, it compiles with -fpic.
> 
> >> But add -fPIC (capital PIC).  That's what the compiler is saying is
> >> required.
> 
> > Hum, I see. I never stop learning. :)
> 
> > Thanks for all,
> >    ===>   Registering installation for scintilla-1.62
> 
> Sorry, my fault, it does not build with GTK2-support (i forgot to add  
> WITH_GTK2=yes)
> 
> cc -DPIC -fPIC `pkg-config --cflags gtk+-2.0 gthread-2.0` -O2 -fno-strict-aliasing -pipe -march=k8 -DNDEBUG -W -Wall -Wno-char-subscripts -DGTK -DSCI_LEXER -I ../include -I ../src  -c ../src/XPM.cxx
>          ^^^^^
> gcc `pkg-config --cflags gtk+-2.0 gthread-2.0` -O2 -fno-strict-aliasing -pipe -march=k8 -DNDEBUG -W -Wall -Wno-char-subscripts -DGTK -DSCI_LEXER -I ../include -I ../src  -w -c scintilla-marshal.c
> cc -shared `pkg-config --libs gtk+-2.0 gthread-2.0` -o ../bin/libscintilla.so.1 DocumentAccessor.o WindowAccessor.o KeyWords.o StyleContext.o Document.o CallTip.o ScintillaBase.o ContractionState.o Editor.o ExternalLexer.o PropSet.o PlatGTK.o KeyMap.o LineMarker.o ScintillaGTK.o CellBuffer.o ViewStyle.o RESearch.o Style.o Indicator.o AutoComplete.o UniConversion.o XPM.o scintilla-marshal.o
> /usr/bin/ld: scintilla-marshal.o: relocation 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

Fixed in CVS.

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/24f6184d/attachment.bin


More information about the freebsd-gnome mailing list