[sane-devel] Problem linking shared objects under kylix

Peter Chen peterchenn@hotmail.com
Tue, 15 Apr 2003 13:20:36 -0500


I'm using Linux Sane libsane.so, I ran kylix(bcb) not as root and added
libsane.so (a symbolic link actually) to my project and included sane.h (one
function is declared as extern sane_status sane_init(...) in this .h file),
I could compile the project but could not make it, always telling me linker
error.

I'm using Redhat 9.

I don't know if it's something wrong with my usage of shared objects or if
this is a bug of kylix or wrong configuration of kylix?

What should I do?

Thanks