LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2013, 07:41 AM   #1
dtustudy68
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Rep: Reputation: 0
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.

(http://www.riverbankcomputing.co.uk/...tilla/download)

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:aintEvent(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 !
 
Old 04-03-2013, 08:00 AM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,657
Blog Entries: 4

Rep: Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938
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.
 
  


Reply

Tags
c++, cscope, linux, tools



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "undefined reference to" errors when i compile LzmaUtil.c oced Programming 2 05-04-2012 01:01 PM
"Multiple definition of" and "undefined reference to" in QT Creator with QJson lib echelon89 Programming 1 05-01-2009 06:48 AM
compiling linux 2.6.19.2 failed with "undefined reference to s3c2410_pm_drvinit" cucmi Linux - Hardware 2 08-18-2008 10:21 PM
Fixed! "Undefined reference to.." errors talent422 Programming 2 01-16-2006 08:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration