> Umm...dunno. The README said "type 'make' in the toplevel,
> so I did. I did check my make version as advised in the
> README and that's at 3.76.1. Below is the make output
> probably proving I'm an idiot. ;-)
Then just fetch the sane rpm from powertools, SPARC asm/io.h is not a
userland header because there is really nothing userland could be interested
in.
In the rpm, you can see this fixed:
--- sane-1.0.1/sanei/sanei_ab306.c.sparc Wed Apr 21 19:06:48 1999
+++ sane-1.0.1/sanei/sanei_ab306.c Wed Apr 21 19:10:00 1999
@@ -49,6 +49,10 @@
#include <sys/types.h>
+#ifdef __sparc__
+#define IO_SUPPORT_MISSING
+#else
+
#ifdef HAVE_SYS_IO_H
# include <sys/io.h> /* use where available (glibc 2.x, for example) */
#elif HAVE_ASM_IO_H
@@ -70,8 +74,11 @@
return value;
}
+
#else
# define IO_SUPPORT_MISSING
+#endif
+
#endif
#include <sane/sane.h>
--- sane-1.0.1/sanei/sanei_pio.c.sparc Wed Apr 21 19:06:53 1999
+++ sane-1.0.1/sanei/sanei_pio.c Wed Apr 21 19:10:26 1999
@@ -55,6 +55,10 @@
# include <unistd.h>
#endif
+#ifdef __sparc__
+#define IO_SUPPORT_MISSING
+#else
+
#ifdef HAVE_SYS_IO_H
# include <sys/io.h> /* use where available (glibc 2.x, for example) */
#elif HAVE_ASM_IO_H
@@ -80,6 +84,8 @@
#else
# define IO_SUPPORT_MISSING
+#endif
+
#endif
#include <sane/sane.h>
Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | [EMAIL PROTECTED] | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
UltraLinux | http://ultra.linux.cz/ | http://ultra.penguin.cz/
Linux version 2.2.9 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of the message to [EMAIL PROTECTED]