David, I have isolated the problem. I was pretty sure you were already checking for the existence of sys/io.h and you were in the config script. The problem was a typo in ioWrapper.c --- hpoj-0.8.orig/mlcd/ioWrapper.c +++ hpoj-0.8/mlcd/ioWrapper.c @@ -24,8 +24,9 @@ #error Must be compiled as C, not C++ #endif -#undef BROKEN_IO_H +#ifdef BROKEN_IO_H #include "ioWrapper.h" +#endif int ioplWrapper(int level) { return iopl(level); Mark On Tue, Oct 23, 2001 at 05:36:17PM -0400, PASCHAL,DAVID (HP-Roseville,ex1) wrote: > Hi, Mark. ptal-mlcd needs sys/io.h only for user-mode access to the > parallel port registers. I will fix the configure script to disable Linux > user-mode parallel-port support if this include file is missing, but for > now, a workaround is to pass the --without-par switch to the configure > script on platforms that lack this include file. That will leave only USB > and JetDirect connectivity support. > > David > > > -----Original Message----- > > From: msp@debian.org [mailto:msp@debian.org] > > Sent: Tuesday, October 23, 2001 2:10 PM > > To: Wouter Verhelst; 116772@bugs.debian.org > > Cc: debian-devel@lists.debian.org; hpoj-devel@lists.sourceforge.net > > Subject: [hpoj-devel] Re: Bug#116772: hpoj: failed to build on m68k. > > > > > > On Tue, Oct 23, 2001 at 02:45:43PM +0200, Wouter Verhelst wrote: > > > In file included from ioWrapper.c:28: > > > ioWrapper.h:28: sys/io.h: No such file or directory > > > make[2]: *** [ioWrapper.o] Error 1 > > > make[2]: Leaving directory `/build/buildd/hpoj-0.8/mlcd' > > > make[1]: *** [all] Error 2 > > > make[1]: Leaving directory `/build/buildd/hpoj-0.8' > > > make: *** [build-stamp] Error 2 > > > [...] > > > > Does anyone know what is going on here? By the looks of it > > mk68k doesn't > > support sys/io.h in the kernel. Is this correct? > > > > How do other programs which rely on this manage? > > > > The hpoj seems to build fine on ia64 alpha arm i386, but fails on > > sparc mipsel mips powerpc hppa m68k. All because of the sys/io.h > > dependancy. > > > > Full logs are available at > > http://buildd.debian.org/build.php?&pkg=hpoj > > > > Mark >
Attachment:
pgpxYPAaZm22d.pgp
Description: PGP signature