LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 03: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, 03: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



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 08:05 PM
Whiteboard application needed !!!!! karmegakumar Linux - Software 1 12-18-2004 12:23 AM
Library Application Needed kmadhukar Linux - Software 1 05-05-2003 03:49 AM
MySQL help needed asap! brandog Linux - General 2 03-12-2003 03:32 PM
really weird DNS issue. Help needed ASAP! Supp0rtLinux Linux - Networking 2 05-20-2002 10:02 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:10 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