LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 03-22-2005, 04:41 PM   #1
nunation
LQ Newbie
 
Registered: Nov 2004
Posts: 7

Rep: Reputation: 0
application won't compile. Help needed ASAP


Hello everyone!!!

I am developing a QT application involving sane. When I ran make, I get the following errors:

:undefined reference to sane_init(int*, void(*)(char const*, char*,char*))
.obj/nu.o(.text + 0 x36);
in function 'nu:ptionshow()';

:undefined reference to 'sane_strstatus(SANE_status)'
.obj/nu.o(.text + 0 x cl):in function 'nu:ptionshow()';

undefined reference to 'sane_exit()'

collect 2: ld returned 1 exit status


Can anybody help me solve this problem?? I'm having a hard understanding as i have tried everything possible and it doesn't seem to be working. Thanks.

nunation
 
Old 03-22-2005, 04:46 PM   #2
TheLinuxDuck
Member
 
Registered: Sep 2002
Location: Tulsa, OK
Distribution: Slack, baby!
Posts: 349

Rep: Reputation: 33
Looks to me like the sane library is not being included in the compile call. I don't know the name of it, but you'll prolly need something like -lsane in the compile line.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
help needed asap (reboot=death)! Nightfrost Linux - General 2 01-09-2005 09:05 PM
Whiteboard application needed !!!!! karmegakumar Linux - Software 1 12-18-2004 01:23 AM
Library Application Needed kmadhukar Linux - Software 1 05-05-2003 04:49 AM
MySQL help needed asap! brandog Linux - General 2 03-12-2003 04:32 PM
really weird DNS issue. Help needed ASAP! Supp0rtLinux Linux - Networking 2 05-20-2002 11:02 PM


All times are GMT -5. The time now is 01: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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration