-   Linux - Software (
-   -   errors of installing qscintilla2 on Linux, "undefined reference" (

dtustudy68 04-03-2013 07:41 AM

errors of installing qscintilla2 on Linux, "undefined reference"
I am trying to install qscintilla2/QScintilla-gpl-2.7.1 on Linux so that I can install kscope.

I do not have adm-right so any commands of "yum", "apt-get", or "sudo" do not work for me.


Linux 2.6.32 ... #1 SMP x86_64 x86_64 x86_64 GNU/Linux

I got error:

/usr/lib/../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
qsciscintillabase.o: In function `QsciScintillaBase::acceptAction(QDropEvent*)':
qsciscintillabase.cpp:(.text+0x204): undefined reference to `CellBuffer::IsReadOnly() const'
qsciscintillabase.o: In function `QsciScintillaBase::dragMoveEvent(QDragMoveEvent*)':
qsciscintillabase.cpp:(.text+0x2a0): undefined reference to `Editor::SPositionFromLocation(Point, bool, bool, bool)'
qsciscintillabase.cpp:(.text+0x2ac): undefined reference to `Editor::SetDragPosition(SelectionPosition)'

ScintillaQt.o: In function `QsciScintillaQt::paintEvent(QPaintEvent*)':
ScintillaQt.cpp:(.text+0x107): undefined reference to `Editor::GetTextRectangle()'

After checking Makefile, i found that no rule defination about main and I cannot find the qsciscintillabase.h or similar headers, which probably have the definition of CellBuffer::IsReadOnly().

I have tried to include paths for headers and libs in Makefile.

Any help will be appreciated !

sundialsvcs 04-03-2013 08:00 AM

I am not familiar with this particular piece of software, but clearly you are going to have to go find the external library that defines this symbol, then install it locally too, first. You could well find yourself doing this any number of times as you work through the prerequisites by discovery. :(

All times are GMT -5. The time now is 09:40 PM.