[sane-devel] Compiling test program against libsane

2012-07-07 Thread Jeffrey Ratcliffe
On 7 July 2012 00:19, Albert ARIBAUD wrote: > Try to move the -lsane at the end of the command line : That was it - thanks! Regards Jeff

[sane-devel] Compiling test program against libsane

2012-07-07 Thread Albert ARIBAUD
Le 06/07/2012 22:28, Jeffrey Ratcliffe a ?crit : > I'm trying to track down a bug, which I think is in HPLIP, and I have > this test program, which compiles and runs fine on my gentoo box: > > #include > #include > > int > main (int argc, char **argv) { > SANE_Status status; > SANE_In

[sane-devel] Compiling test program against libsane

2012-07-06 Thread Jeffrey Ratcliffe
I'm trying to track down a bug, which I think is in HPLIP, and I have this test program, which compiles and runs fine on my gentoo box: #include #include int main (int argc, char **argv) { SANE_Statusstatus; SANE_Int version_code; SANE_Auth_Callback authorize;