LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   application won't compile. Help needed ASAP (https://www.linuxquestions.org/questions/programming-9/application-wont-compile-help-needed-asap-304817/)

nunation 03-22-2005 03:41 PM

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::optionshow()';

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

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

TheLinuxDuck 03-22-2005 03:46 PM

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.


All times are GMT -5. The time now is 02:44 PM.