From owner-freebsd-current@freebsd.org Thu Feb 22 09:48:20 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 EFB18F19E38 for ; Thu, 22 Feb 2018 09:48:19 +0000 (UTC) (envelope-from p.gunnarsson@yahoo.com) Received: from sonic308-45.consmr.mail.ir2.yahoo.com (sonic308-45.consmr.mail.ir2.yahoo.com [77.238.178.181]) (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 7615B782DC for ; Thu, 22 Feb 2018 09:48:19 +0000 (UTC) (envelope-from p.gunnarsson@yahoo.com) X-YMail-OSG: .66UUyEVM1nZ7iGjHVR_r9G78V6.1RGIpk1BDcetNj8CZ6m2r_dfS_rDhY4BgWK g9hFi3L1rlsA4wn1pw_2reFEg9hLS4PR5ca8RcDapBiBinTXATPmAD0mvsfJFS57iZCbgCH6SUPF piOcFxxW5r6RuJESQlsGcyklfaLiqk4GGvvncC2LMP.pk_2GbuIQQDFXZWgWdpQhKWtVXRpNB4ap LOy05JbaF4XvQp8acwk9iAK9fV4WXkZRX8DFx6VfqI5MDocA_EEdE2CdLGJObb0rV5P7llxY6MaO 3YwiRy0f8L6eXsVgd9XDrYNT5_qfgNidOj5N_uDQvPoaye1n35D2J72zR5Opg_wLJ3pNYfkyBeFn y7.P8VL16nIyGye7uadbfN0MY54P0wHXqUyGwB9_JUojHjotUe_QU_xyT9TK.hKrQwkeyPI1Zvk7 pMzUkzCJ04IO.POEQpiy3NFpcKNwqzEU53OrdS9GSQDpleU884ZWlACDPcYM1Fwye.K76oPVV9cV RXk27JzY8bKm8UsPZYRnHs1pLAm91G_P63zmdswsZcMCVFTirFgb0 Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ir2.yahoo.com with HTTP; Thu, 22 Feb 2018 09:48:12 +0000 Received: from smtp164.mail.ir2.yahoo.com (EHLO [0.0.0.0]) ([46.228.39.127]) by smtp411.mail.ir2.yahoo.com (JAMES SMTP Server ) with ESMTPA ID 59e6c8fd7411a235c302346633fcd0c4 for ; Thu, 22 Feb 2018 09:44:11 +0000 (UTC) To: freebsd-current From: Per Gunnarsson Subject: Revision: 329797 kernel build problem Message-ID: <15ec4507-1beb-46db-7cf3-8f179e9baad0@yahoo.com> Date: Thu, 22 Feb 2018 10:43:21 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 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: Thu, 22 Feb 2018 09:48:20 -0000 When trying to build the kernel, I get: --- all_subdir_linux --- /usr/src/sys/amd64/linux32/linux32_dummy.c:1:5: error: unknown type name 'sys' --- linux_fork.o --- ctfconvert -L VERSION -g linux_fork.o --- nsprepkg.o --- cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing?? -g -nostdinc?? -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h?? -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD?? -MF.depend.nsprepkg.o -MTnsprepkg.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float?? -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member?? -mno-aes -mno-avx?? -std=iso9899:1999 -Werror?? /usr/src/sys/contrib/dev/acpica/components/namespace/nsprepkg.c --- modules-all --- --- linux32_dummy.o --- ?????? sys/sys/sysent.2 ?????? ^ /usr/src/sys/amd64/linux32/linux32_dummy.c:1:8: error: expected identifier or '(' ?????? sys/sys/sysent.2 ???????????? ^ --- all_subdir_linux64 --- --- assym.s --- sh /usr/src/sys/kern/genassym.sh genassym.o > assym.s --- all_subdir_libalias --- --- alias_smedia.o --- cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin?? -O2 -pipe?? -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc???? -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/amd64.amd64/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/amd64.amd64/sys/GENERIC???? -MD?? -MF.depend.alias_smedia.o -MTalias_smedia.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float?? -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member?? -mno-aes -mno-avx?? -std=iso9899:1999 -c /usr/src/sys/netinet/libalias/alias_smedia.c -o alias_smedia.o --- all_subdir_linux64 --- --- linux_genassym.o --- cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/amd64.amd64/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/amd64.amd64/sys/GENERIC -MD -MF.depend.linux_genassym.o -MTlinux_genassym.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 /usr/src/sys/amd64/linux/linux_genassym.c --- all_subdir_linux --- 2 errors generated. --- all_subdir_linux64 --- --- linux_fork.o --- cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin?? -O2 -pipe?? -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc???? -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/amd64.amd64/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/amd64.amd64/sys/GENERIC???? -MD?? -MF.depend.linux_fork.o -MTlinux_fork.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float?? -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member?? -mno-aes -mno-avx?? -std=iso9899:1999 -c /usr/src/sys/compat/linux/linux_fork.c -o linux_fork.o --- all_subdir_linux --- *** [linux32_dummy.o] Error code 1 Regards, Per Gunnarsson