Scintilla on AMD64

Stefan 'Steve' Tell stefan.tell at crashmail.de
Sat Oct 15 23:24:46 PDT 2005


Hi,

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 -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

Any hints?

-- 
By(t)e,
        Steve           /\          http://www.crashmail.de

GnuPG/PGP: 0x9B6C7E15, encrypted mail prefered, see header


More information about the freebsd-gnome mailing list