[sane-devel] Problem compiling 1.0.7 on HPUX 10.20

Morten Sickel Morten.Sickel@nrpa.no
Thu, 31 Jan 2002 09:18:06 +0100


Hi.

I tried to compile the sane 1.0.7 backends on an HP 712 running HP-UX 10.02
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
isfdtype.c:12: warning: implicit declaration of function `fstat'
isfdtype.c:10: warning: unused variable `st'
isfdtype.c:8: warning: unused parameter `fdtype'
gmake[1]: *** [isfdtype.o] Error 1
gmake[1]: Leaving directory
`/home/mortens/download/sane-backends-1.0.7-beta2/lib'
gmake: *** [all-recursive] Error 1
[mortens sane-backends-1.0.7-beta2/]$ gcc --version
2.95.2
[mortens sane-backends-1.0.7-beta2/]$ uname -a
HP-UX cesium B.10.20 A 9000/712 2010654422 two-user license

I have also tried with HP make, with the same results, although a slightly
different wording of some of the messages.

I got 1.0.6 up and running without any problems...


regards
-- 
Morten Sickel
Norwegian Radiation Protection Authority