From owner-freebsd-mips@freebsd.org Mon May 16 20:41:30 2016 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 89BFFB3E1C3 for ; Mon, 16 May 2016 20:41:30 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F08521A8A for ; Mon, 16 May 2016 20:41:29 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: by mail-lb0-x22a.google.com with SMTP id ww9so46201755lbc.2 for ; Mon, 16 May 2016 13:41:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=qz6xMqwmapNAnCTrvd1Ieil9mpI6Nv2dxLpaFottUqI=; b=NSHjUik/jnrwMj56uqNaQMy1WiWvQFUnMi/tT1mn4sgUs12eAbLHoBVINhMgNQZqaI YSXxYjXrm4fWwnXHVtfKUI1oqW0YXaQcYL6sshD1NDsnyRbBMq7DB3qFQLTclGSZs56C sjSL9gc+WbQDqdSm5NNWmJDyW1NMnOX/7kvxxEEcIdY96NYJu8JWDBRSlX7nVufeoxcM GpFlR8DIhQfXVDLYh3LaEJlUlxf8ksS0sQ8XJ8+j55TMZX5dSPyDbRoJ3xvS3d4U/mSw qyi00Nxl0ZxYJFZqny6ThhEXJ6baP/QJ2/LV3z6MqhKrAkme5Nk34lalgkaNZuPp4HBd 8jwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=qz6xMqwmapNAnCTrvd1Ieil9mpI6Nv2dxLpaFottUqI=; b=GaYmgIDLLUyucVY8roSPHNloIsyAIurJmZK/w06d3mm+y5o1x43TndQtaLDC6kMqWJ 6OSNImdfxQHNKxKik+L/dhFEoqg0ubm3zW3AZa2ce22okj5p+qVZL/yJg5aKntRpFYzd zADfnjVF59JV3vzTFpaTec3SQl+UcXIFa45BBg5snW+iPzgG5ofbCTow/A6P6EvOcxbS 2B+q3kITonum9GteVAKO0Y1h7Ax60y/MUzz7Rln3WiscL05biz1G1EWwNm04GK9wa5WF cB1SDtNQpSMYkhnyv4MX9FcterPY8DVdK7wEMZL6HRONbVw4Uz9L1nDL1CqaU/y9ykD6 YuzA== X-Gm-Message-State: AOPr4FXDm4qW6lAQoXwXZxK3JzCXu7NBjiWhtPMScmkrq5a6JkpsLYE3StiDqyYh7nD1qz+8cTWHIVG92nalpA== MIME-Version: 1.0 X-Received: by 10.112.138.10 with SMTP id qm10mr2872433lbb.36.1463431288264; Mon, 16 May 2016 13:41:28 -0700 (PDT) Received: by 10.25.152.83 with HTTP; Mon, 16 May 2016 13:41:28 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 May 2016 23:41:28 +0300 Message-ID: Subject: Re: MSI & INTRNG: buildkernel error From: Michael Zhilin To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 20:41:30 -0000 "kern/msi_if.m optional intrng"@files.xyz fixed issue for me, but may be there will be generic fix :) Best regards, Michael On Mon, May 16, 2016 at 11:31 PM, Michael Zhilin wrote: > Hi, > > On today -head I get error on buildkernel @mips: > subr_intr.c:73:20: error: msi_if.h: No such file or directory. > > I suppose it's related to recent MSI commits for INTRNG. But how to fix it? > > Here is full output of error: > > /repo/freebsd/onion/src/sys/kern/subr_intr.c:73:20: error: msi_if.h: No > such file or directory > cc1: warnings being treated as errors > /repo/freebsd/onion/src/sys/kern/subr_intr.c: In function 'intr_alloc_msi': > /repo/freebsd/onion/src/sys/kern/subr_intr.c:1319: warning: implicit > declaration of function 'MSI_ALLOC_MSI' > /repo/freebsd/onion/src/sys/kern/subr_intr.c:1319: warning: nested extern > declaration of 'MSI_ALLOC_MSI' [-Wnested-externs] > /repo/freebsd/onion/src/sys/kern/subr_intr.c: In function > 'intr_release_msi': > /repo/freebsd/onion/src/sys/kern/subr_intr.c:1357: warning: implicit > declaration of function 'MSI_RELEASE_MSI' > /repo/freebsd/onion/src/sys/kern/subr_intr.c:1357: warning: nested extern > declaration of 'MSI_RELEASE_MSI' [-Wnested-externs] > /repo/freebsd/onion/src/sys/kern/subr_intr.c: In function > 'intr_alloc_msix': > /repo/freebsd/onion/src/sys/kern/subr_intr.c:1378: warning: implicit > declaration of function 'MSI_ALLOC_MSIX' > /repo/freebsd/onion/src/sys/kern/subr_intr.c:1378: warning: nested extern > declaration of 'MSI_ALLOC_MSIX' [-Wnested-externs] > /repo/freebsd/onion/src/sys/kern/subr_intr.c: In function > 'intr_release_msix': > /repo/freebsd/onion/src/sys/kern/subr_intr.c:1405: warning: implicit > declaration of function 'MSI_RELEASE_MSIX' > /repo/freebsd/onion/src/sys/kern/subr_intr.c:1405: warning: nested extern > declaration of 'MSI_RELEASE_MSIX' [-Wnested-externs] > /repo/freebsd/onion/src/sys/kern/subr_intr.c: In function 'intr_map_msi': > /repo/freebsd/onion/src/sys/kern/subr_intr.c:1429: warning: implicit > declaration of function 'MSI_MAP_MSI' > /repo/freebsd/onion/src/sys/kern/subr_intr.c:1429: warning: nested extern > declaration of 'MSI_MAP_MSI' [-Wnested-externs] > --- subr_intr.o --- > *** [subr_intr.o] Error code 1 > > bmake[2]: stopped in > /repo/freebsd/onion/obj/mipsel/mips.mipsel/repo/freebsd/onion/src/sys/BCM > 1 error > > bmake[2]: stopped in > /repo/freebsd/onion/obj/mipsel/mips.mipsel/repo/freebsd/onion/src/sys/BCM > --- buildkernel --- > *** [buildkernel] Error code 2 > > bmake[1]: stopped in /repo/freebsd/onion/src > 1 error > > bmake[1]: stopped in /repo/freebsd/onion/src > --- buildkernel --- > *** [buildkernel] Error code 2 > > make: stopped in /repo/freebsd/onion/src > 1 error > > make: stopped in /repo/freebsd/onion/src > > Thank you in advance, > Michael >