> Maurice Janssen wrote:
>> Hi,
>>
>> I'm trying to build the file sets for 4.6-stable on an O2 machine, but it 
>> keeps failing with the following error:
>>
>>
>>
>> In file included from mips64/cpu.h:358,
>>                  from machine/cpu.h:5,
>>                  from mips64/param.h:44,
>>                  from machine/param.h:42,
>>                  from ../../../../sys/param.h:95,
>>                  from ../../../../altq/altq_subr.c:30:
>> ../../../../sys/sched.h:110: error: bit-field `spc_qs' width not an 
>> integer constant
>> *** Error code 1
>>
>> Stop in /usr/src/sys/arch/sgi/compile/GENERIC-IP27 (line 92 of 
>> /usr/share/mk/sys.mk).
>> *** Error code 1
>>
>> Stop in /usr/src/etc (line 12 of etc.sgi/Makefile.inc).
>
>
> Just had a similar error during building xenocara file sets:
>
> In file included from /usr/xenocara/xserver/include/miscstruct.h:53,
>                  from /usr/xenocara/xserver/include/regionstr.h:53,
>                  from /usr/xenocara/xserver/include/region.h:51,
>                  from /usr/xenocara/xserver/include/window.h:52,
>                  from /usr/xenocara/xserver/include/input.h:55,
>                  from /usr/xenocara/xserver/include/inputstr.h:52,
>                  from /usr/xenocara/xserver/Xi/selectev.c:60:
> /usr/X11R6/include/pixman-1/pixman.h:149: error: bit-field `p1' width not 
> an integer constant
> *** Error code 1
>
> Stop in /usr/xenocara/kdrive/obj/Xi (line 821 of Makefile).
>
>
> Can this be caused by flaky hardware?

Maybe, but then this could be an unexpected compiler configuration
change.

Do you have an /etc/mk.conf file specifying fancy compiler options?

You might want to look at the files causing compilation problems
(sys/sched.h, xenocara/lib/pixman/pixman/pixman.h) and compare them to
fresh 4.6 files as well.

Or it could be that either /usr/include/machine/_types.h or
/usr/include/sys/_types.h has been modified or replaced, and definitions
of types such as int32_t are missing.

Miod

Reply via email to