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

Re: libfuse-perl FTBFS on mips



It seems a glibc problem, in
/usr/include/mips64el-linux-gnuabi64/asm/sockios.h,

which use macro from ioctl.h.
So sys/ioctl.h should be include before sys/socket.h

#include <sys/socket.h>
#include <sys/ioctl.h>

#include <stdio.h>
int main(){
  long a = IOC_IN;
  printf("%lx\n", a);
}
YunQiang Su <wzssyqa@gmail.com> 于2018年7月11日周三 上午8:36写道:
>
> With some track, I found that x86 use asm-generic/ioctls.h, while
> mips* use itself's asm/ioctls.h,
> which lack some of macros defined.
>
> I will go ahead to dig why this delta.
> YunQiang Su <wzssyqa@gmail.com> 于2018年7月2日周一 下午11:49写道:
> >
> > Bastien ROUCARIES <roucaries.bastien@gmail.com> 于2018年7月2日周一 下午9:52写道:
> > >
> > > Hi,
> > >
> > > recent libfuse-perl FTBFS on mips
> > >
> > > I am clue less could you get a glimpse look like a compiler/preprocessor bug
> >
> > Thank you for your report. I will have a look at it.
> > It is a quite strange problem.
> >
> > >
> > > Bastien
> > >
> >
> >
> > --
> > YunQiang Su
>
>
>
> --
> YunQiang Su



-- 
YunQiang Su


Reply to: