I a on HP-UX, too. Unfortunately I have not found the time yet to upgrade to the latest sane and xsane versions. Did you (or the configure script) set the compiler flags -Aa -DHPUX_SOURCE (or better -Ae)? Regards, Ulrich Deiters