Hi, On Thu, Jan 31, 2002 at 09:18:06AM +0100, Morten Sickel wrote: > I tried to compile the sane 1.0.7 backends on an HP 712 running HP-UX 10.02
Its sane-backends-1.0.7-beta2? Thanks for your report. We don't get that many from HPUX users :-) > using gcc 2.95.2 and gnu make. configure runs fine, and then compile ends > with: > > In file included from isfdtype.c:1: > ../include/sane/config.h:418: warning: function declaration isn't a > prototype > ../include/sane/config.h:423: warning: function declaration isn't a > prototype > isfdtype.c:9: warning: no previous prototype for `isfdtype' > isfdtype.c: In function `isfdtype': > isfdtype.c:10: storage size of `st' isn't known Looks like sys/stat.h doesn't define struct stat. Strange. > HP-UX cesium B.10.20 A 9000/712 2010654422 two-user license ^^^^^^^^^^^^^^^^ It explodes with more than 2 simultaneous users? :-) > I have also tried with HP make, with the same results, although a slightly > different wording of some of the messages. I don't think this is related to make. > I got 1.0.6 up and running without any problems... isfdtype.c hasn't been changed since then. Configure.in has been changed but I don't see any change that can affect isfdtype.c. Please try to run "./configure --disable-warnings" and try "make" again. I think someone posted a similar problem which went away without the warnings. If this doesn't work, could you have a look at sys/stat.h and try to find out why there is no struct stat? I don't have access to hpux, so I can't check for myself. If it works: please also report if you can use shared libraries, if your SCSI scanner works, and if you can compile sane-frontends (for our statistics at http://www.mostang.com/sane/sane-support.html which is very outdated for HPUX). Bye, Henning