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

Bug#183081: libc6-dev: hppa: bug in byteorder.h and swab.h



On Mon, Mar 03, 2003 at 07:30:15AM +1100, Herbert Xu said:
> Stephen Gran <steve@lobefin.net> wrote:
> > 
> > Ah, I see that now.  I checked with dpkg -S, but didn't look further.
> > Because of what appear to be largely syntactic errors in these two
> > headers, the build failed, but only on hppa.  I guess this needs to be
> > reassigned to the kernel.  Sorry about that.
> 
> No you should close this.  User space programs must not include kernel
> headers.

I'm happy to close it here, but it's not the user space program
explicitly including these headers - they're being brought in by
recursive #includes:

In file included from /usr/include/linux/cdrom.h:14,
                 from audiocd.h:33,
                 from cddbaccessdialog.h:31,
                 from cddbaccessdialogdata.cpp:10:
/usr/include/asm/byteorder.h:

cddbaccessdialogdata.cpp includes cddbaccessdialog.h, which includes 
audiocd.h, and so forth until /usr/include/asm/byteorder.h is finally
brought in.  It's not an error in this program, and it builds fine on
other architectures - there's clearly some problem with the headers on
hppa.  It's only that the headers do not come from your package
(although dpkg -S reported tat they did), and so I apologize for bugging
the wrong package.

I will close this.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | This is a good time to punt work.       |
|  steve@lobefin.net             |                                         |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------

Attachment: pgpK1cSjnNMpN.pgp
Description: PGP signature


Reply to: