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

Re: error: #error Fix asm/byteorder.h to define one endianness



On Sat, Mar 14, 2009 at 07:49:16PM +0100, Luk Claes wrote:
> Aurelien Jarno wrote:
> > On Sat, Mar 14, 2009 at 05:51:41PM +0100, Luk Claes wrote:
> >> Hi
> >>
> >> Apparently on a current mipsel (using sid), there are these errors
> >> regarding enidanness during building of some packages. Probably
> >> something changed in linux-libc-dev, though userspace should avoid using
> >> kernelspace headers when possible AFAICS and should probably use
> >> <endian.h> instead of <asm/byteorder.h>.
> >>
> >> Should I file bugs for the packages that FTBFS because of this?
> >>
> > 
> > I think there are actually two problems:
> > - Programs that include <linux/*.h> which in fine includes
> >   <asm/byteorder.h>. This is definitely a problem of the kernel headers.
> 
> Is this bug filed? If not, could you take care of that, TIA?

Not yet, I am trying to understand the problem. It seems it only happens
if <sys/types.h> is included before <asm/byteorder.h>

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: