Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: build failure: xf86Opt.h:44:14: error: declaration does not declare anything
On 9/19/16, bch <brad.harder%gmail.com@localhost> wrote:
This is still a thing for me:
CC=/usr/src/obj/tooldir.NetBSD-7.99.39-amd64/bin/x86_64--netbsd-gcc
/usr/src/obj/tooldir.NetBSD-7.99.39-amd64/bin/nbmkdep -f
if_indextoname.d.tmp -- -std=gnu99
--sysroot=/usr/src/obj/destdir.amd64 -DINET6 -DIPSEC -DRUMP_ACTION
-D_KERNTYPES
/usr/src/sbin/ping6/../../lib/libc/net/if_indextoname.c && mv
if_indextoname.d.tmp if_indextoname.d
--- dependall-usr.bin ---
In file included from
/usr/obj/destdir.amd64/usr/include/prop/prop_object.h:38:0,
from /usr/obj/destdir.amd64/usr/include/prop/prop_array.h:35,
from /usr/obj/destdir.amd64/usr/include/prop/proplib.h:35,
from /usr/src/sys/sys/disk.h:91,
from kdump-ioctl.c:16:
/usr/src/obj/destdir.amd64/usr/X11R7/include/xorg/xf86Opt.h:44:10:
error: two or more data types in declaration specifiers
Bool bool;
^
In file included from
/usr/src/obj/destdir.amd64/usr/X11R7/include/xorg/xf86str.h:43:0,
from
/usr/src/obj/destdir.amd64/usr/X11R7/include/xorg/xf86.h:44,
from
/usr/src/obj/destdir.amd64/usr/X11R7/include/xorg/xf86i2c.h:9,
from
/usr/src/obj/destdir.amd64/usr/X11R7/include/xorg/bt829.h:4,
from kdump-ioctl.c:189:
/usr/src/obj/destdir.amd64/usr/X11R7/include/xorg/xf86Opt.h:44:14:
error: declaration does not declare anything [-Werror]
Bool bool;
^
Is nobody else seeing this ? I usually do builds:
# ./build.sh -j4 -u -x distribution
...but to try to fix the Bool bool problem deleted the offending header
file, made sure src was up-to-date, and omitted the -u to rebuild
all the objs from scratch. Still no good luck.
-bch
> # compile kdump/kdump-ioctl.o
> /usr/src/obj/tooldir.NetBSD-7.99.38-amd64/bin/x86_64--netbsd-gcc -O2
> -fPIE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wno-sign-compare -Wno-traditional
> -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual
> -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare
> -Wold-style-definition -Wsign-compare -Wformat=2
> -Wno-format-zero-length -Werror
> --sysroot=/usr/src/obj/destdir.amd64
> -I/usr/src/obj/destdir.amd64/usr/X11R7/include/libdrm
> -I/usr/src/obj/destdir.amd64/usr/X11R7/include/pixman-1
> -I/usr/src/obj/destdir.amd64/usr/X11R7/include
> -I/usr/src/external/cddl/osnet/sys
> -I/usr/src/external/cddl/osnet/dist/uts/common -D_DEV_IC_BT8XX_H_
> -D_ALTQ_ALTQ_JOBS_H_ -D_VIA_DRM_H_ -DQXL_DRM_H -D__R128_DRM_H__
> -D__SIS_DRM_H__ -D__SAVAGE_DRM_H__ -D__RADEON_DRM_H__
> -D__MACH64_DRM_H__ -D__MGA_DRM_H__ -I/usr/src/usr.bin/ktrace
> -I/usr/src/sys -D_KERNTYPES -c kdump-ioctl.c
> In file included from
> /usr/obj/destdir.amd64/usr/include/prop/prop_object.h:38:0,
> from
> /usr/obj/destdir.amd64/usr/include/prop/prop_array.h:35,
> from /usr/obj/destdir.amd64/usr/include/prop/proplib.h:35,
> from /usr/src/sys/sys/disk.h:91,
> from kdump-ioctl.c:16:
> /usr/src/obj/destdir.amd64/usr/X11R7/include/xorg/xf86Opt.h:44:10:
> error: two or more data types in declaration specifiers
> Bool bool;
> ^
> In file included from
> /usr/src/obj/destdir.amd64/usr/X11R7/include/xorg/xf86str.h:43:0,
> from
> /usr/src/obj/destdir.amd64/usr/X11R7/include/xorg/xf86.h:44,
> from
> /usr/src/obj/destdir.amd64/usr/X11R7/include/xorg/xf86i2c.h:9,
> from
> /usr/src/obj/destdir.amd64/usr/X11R7/include/xorg/bt829.h:4,
> from kdump-ioctl.c:189:
> /usr/src/obj/destdir.amd64/usr/X11R7/include/xorg/xf86Opt.h:44:14:
> error: declaration does not declare anything [-Werror]
> Bool bool;
> ^
> cc1: all warnings being treated as errors
> *** [kdump-ioctl.o] Error code 1
> nbmake[6]: stopped in /usr/src/usr.bin/kdump
> 1 error
> nbmake[6]: stopped in /usr/src/usr.bin/kdump
> *** [dependall] Error code 2
> nbmake[5]: stopped in /usr/src/usr.bin/kdump
> 1 error
> nbmake[5]: stopped in /usr/src/usr.bin/kdump
> *** [dependall-kdump] Error code 2
> nbmake[4]: stopped in /usr/src/usr.bin
> 1 error
> nbmake[4]: stopped in /usr/src/usr.bin
> *** [dependall-usr.bin] Error code 2
> nbmake[3]: stopped in /usr/src
> 1 error
> nbmake[3]: stopped in /usr/src
> *** [do-build] Error code 2
>
> nbmake[2]: stopped in /usr/src
> 1 error
>
Home |
Main Index |
Thread Index |
Old Index