From owner-freebsd-current@freebsd.org Sat Jan 27 18:04:41 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17398ECEA55 for ; Sat, 27 Jan 2018 18:04:41 +0000 (UTC) (envelope-from p.gunnarsson@yahoo.com) Received: from sonic306-20.consmr.mail.ir2.yahoo.com (sonic306-20.consmr.mail.ir2.yahoo.com [77.238.176.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8DDE57320A for ; Sat, 27 Jan 2018 18:04:40 +0000 (UTC) (envelope-from p.gunnarsson@yahoo.com) X-YMail-OSG: jHI7xdAVM1mFThEtuZhWCkIBL0HwKX7y9aWRTQUq8U0W5ZDNciHaWGgM7NVxVUc VL5S.5WmXWGw_LNonfqTfpMHfQm2tWH6KjhkPoVDWZKddQO6sVGD2a7GzYT5zbSqg58oU7SDcoSk 8OesYV5xiYKvqVtn94gZwkrqj5ygTVR5lXi5MgjmwFupIv3qF.kD.24s2XeFxSmk0zcR5fE0zGYy UIhjKr8VpEU86tkAdTZBHCDcl4nxzpYgL2gQspK7vYqBXohPzxCW7AShwPDCscR9XNoYJUkOAAx_ D10NbvzT9sCcLZZEr3SVAVHCdjhBzAzn7nSz4NA.DCCcnUUeMuJl24HeoHJMZEd1QYSBIPEbNQ20 D3cJa7RHmKyCYINkEoJYIqj3F8KoeYKMbyTptaemOwLzsb_idFs6fRNtwAuPGS6kMu1oBxPEX6TQ sbQhYt1Mp27ZV1OoOVqW6SZ0JKCxXrfV5ciXd0mRCAL6yleaUVCFLACUQimVnmRzLo6LBbKO3yVy RegNlalmqDYg1G_C7biWSxQnYXA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ir2.yahoo.com with HTTP; Sat, 27 Jan 2018 18:04:33 +0000 Received: from smtp166.mail.ir2.yahoo.com (EHLO [10.0.0.5]) ([46.228.39.33]) by smtp411.mail.ir2.yahoo.com (JAMES SMTP Server ) with ESMTPA ID 0e71df6affa36cac8d6f54b94b8be9dc for ; Sat, 27 Jan 2018 17:54:23 +0000 (UTC) To: freebsd-current From: Per Gunnarsson Subject: Kernel build error rev.328485 Message-ID: <95eb22f2-64e8-2921-3f72-dca1ce048271@yahoo.com> Date: Sat, 27 Jan 2018 18:54:03 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jan 2018 18:04:41 -0000 I am back with new build errors. If I post too frequently, please inform me. /usr/src/sys/compat/freebsd32/freebsd32_misc.c:122:1: error: static_assert failed "compile-time assertion failed" CTASSERT(sizeof(struct kevent32) == 20); ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/systm.h:107:21: note: expanded from macro 'CTASSERT' #define CTASSERT(x)     _Static_assert(x, "compile-time assertion failed")                         ^              ~ /usr/src/sys/compat/freebsd32/freebsd32_misc.c:126:1: error: static_assert failed "compile-time assertion failed" CTASSERT(sizeof(struct stat32) == 96); ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/systm.h:107:21: note: expanded from macro 'CTASSERT' #define CTASSERT(x)     _Static_assert(x, "compile-time assertion failed")                         ^              ~ /usr/src/sys/compat/freebsd32/freebsd32_misc.c:612:24: error: no member named 'data' in 'struct kevent32'                 CP(kevp[i], ks32[i], data);                 ~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/src/sys/compat/freebsd32/freebsd32.h:41:36: note: expanded from macro 'CP' #define CP(src,dst,fld) do { (dst).fld = (src).fld; } while (0)                              ~~~~~ ^ /usr/src/sys/compat/freebsd32/freebsd32_misc.c:644:24: error: no member named 'data' in 'struct kevent32'                 CP(ks32[i], kevp[i], data);                 ~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/src/sys/compat/freebsd32/freebsd32.h:41:48: note: expanded from macro 'CP' #define CP(src,dst,fld) do { (dst).fld = (src).fld; } while (0)                                          ~~~~~ ^ /usr/src/sys/compat/freebsd32/freebsd32_misc.c:1738:42: error: declaration of 'struct freebsd32_stat_args' will not be visible outside of this function [-Werror,-Wvisibility] freebsd32_stat(struct thread *td, struct freebsd32_stat_args *uap)                                          ^ /usr/src/sys/compat/freebsd32/freebsd32_misc.c:1744:42: error: incomplete definition of type 'struct freebsd32_stat_args'         error = kern_statat(td, 0, AT_FDCWD, uap->path, UIO_USERSPACE,                                              ~~~^ /usr/src/sys/compat/freebsd32/freebsd32_misc.c:1738:42: note: forward declaration of 'struct freebsd32_stat_args' freebsd32_stat(struct thread *td, struct freebsd32_stat_args *uap)                                          ^ /usr/src/sys/compat/freebsd32/freebsd32_misc.c:1749:28: error: incomplete definition of type 'struct freebsd32_stat_args'         error = copyout(&sb32, uap->ub, sizeof (sb32));                                ~~~^ /usr/src/sys/compat/freebsd32/freebsd32_misc.c:1738:42: note: forward declaration of 'struct freebsd32_stat_args' freebsd32_stat(struct thread *td, struct freebsd32_stat_args *uap)                                          ^ /usr/src/sys/compat/freebsd32/freebsd32_misc.c:1738:1: error: no previous prototype for function 'freebsd32_stat' [-Werror,-Wmissing-prototypes] freebsd32_stat(struct thread *td, struct freebsd32_stat_args *uap) ^ /usr/src/sys/compat/freebsd32/freebsd32_misc.c:1820:43: error: declaration of 'struct freebsd32_lstat_args' will not be visible outside of this function [-Werror,-Wvisibility] freebsd32_lstat(struct thread *td, struct freebsd32_lstat_args *uap)                                           ^ /usr/src/sys/compat/freebsd32/freebsd32_misc.c:1826:60: error: incomplete definition of type 'struct freebsd32_lstat_args'         error = kern_statat(td, AT_SYMLINK_NOFOLLOW, AT_FDCWD, uap->path,                                                                ~~~^ /usr/src/sys/compat/freebsd32/freebsd32_misc.c:1820:43: note: forward declaration of 'struct freebsd32_lstat_args' freebsd32_lstat(struct thread *td, struct freebsd32_lstat_args *uap)                                           ^ /usr/src/sys/compat/freebsd32/freebsd32_misc.c:1831:28: error: incomplete definition of type 'struct freebsd32_lstat_args'         error = copyout(&sb32, uap->ub, sizeof (sb32));                                ~~~^ /usr/src/sys/compat/freebsd32/freebsd32_misc.c:1820:43: note: forward declaration of 'struct freebsd32_lstat_args' freebsd32_lstat(struct thread *td, struct freebsd32_lstat_args *uap)                                           ^ /usr/src/sys/compat/freebsd32/freebsd32_misc.c:1820:1: error: no previous prototype for function 'freebsd32_lstat' [-Werror,-Wmissing-prototypes] freebsd32_lstat(struct thread *td, struct freebsd32_lstat_args *uap) ^ 12 errors generated. *** Error code 1 Stop. make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src Regards, Per Gunnarsson