[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#185933: libc6-dev: sys/io.h disappeared on ppc



At 22 Mar 2003 23:25:12 -0500,
Andres Salomon wrote:
> 
> Oops, you're right, it's not in -14, either.  Ok.  If all archs are
> supposed to have the same /usr/include/sys, then I guess keep the bug
> open; otherwise, close it.  I'm not sure what the deal is w/ sys, I had
> assumed it wasn't arch-dependant, but I don't know for sure.

Actually sys/io.h is different from each architecture (thus
architecture specific file).  ppc, mips, hppa, m68k and s390 do not
have sys/io.h.  I don't know it's intentional or not.  Some
architecture maps IO space into the memory, so i386 io style is not
common.  Touching IO space is architecture specific (not being
standardized), so it can be ignored if sys/io.h does not exist, but
it's useful if it exists.

BTW, why can't gst-plugins be compiled? Using io interface is very
different for each architecture, apparently there are no common way to
operate io.  Does gst-plugins really use sys/io.h?

> On Sat, 2003-03-22 at 22:32, GOTO Masanori wrote:
> > At Sat, 22 Mar 2003 21:02:44 -0500,
> > Andres Salomon wrote:
> > > Somewhere between -14 and -15, /usr/include/sys/io.h seems to have
> > > disappeared for ppc (and possibly other archs).
> > > 
> > > On an i386 machine:
> > > dilinger@pinky:~$ dpkg -L libc6-dev|grep "sys/io.h" || echo "nada."
> > > /usr/include/sys/io.h
> > > dilinger@pinky:~$ 
> > > 
> > > On a ppc machine:
> > > dilinger@nrop:~/gst-plugins-0.6.0.bak$ dpkg -L libc6-dev|grep "sys/io.h" || echo "nada."
> > > nada.
> > 
> > IIRC, glibc does not have sys/io.h for powerpc currently.
> > 2.3.1-14 and -15 do not have it.
> > 
> > > I encountered a problem w/ missing sys/io.h while attempting to build
> > > gst-plugins with -15:
> > > 
> > > In file included from qcam-lib.c:47:
> > >  qcam-os.c:38:20: sys/io.h: No such file or directory
> > >  qcam-lib.c: In function `qc_scan':
> > >  qcam-lib.c:743: warning: comparison is always true due to limited range
> > >  of data type
> > >  make[4]: *** [libgstqcam_la-qcam-lib.lo] Error 1
> > > 
> > > Note that it builds just fine w/ -14:
> > > 
> > > http://buildd.debian.org/fetch.php?&pkg=gst-plugins&ver=0.6.0-4&arch=powerpc&stamp=1047776147&file=log&as=raw
> > 
> > Check which file can't be built between 0.6.0-4 and your recent version.
> > I couldn't find compile log named as "qcam-*.c".
> > 
> > Or, try asm/io.h instead of sys/io.h.
> > 
> > Regards,
> > -- gotom



Reply to: