From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by dpdk.org (Postfix) with ESMTP id 71630C566 for ; Mon, 27 Jul 2015 15:03:44 +0200 (CEST) Received: by wibud3 with SMTP id ud3so139157918wib.1 for ; Mon, 27 Jul 2015 06:03:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=I4rO2k6bFH3qQWa0WjY+pqa+zhAwHOxe+7VJsIkWUDI=; b=hrrk1bWJszcZjYRKMwNR6AFa6hfEPAGgdDPPNUDFCfxCSO6KxGJk8LbP/wOrdTMqgi 74Zql359htxiQhNX7thXNFFFX9j/C1VqFWd+jNzgQOOE/Qswl0TzlCbJmM5W7zKseT/Z um0d4frrji1s+PHe9tO9TglvKZu0mEIwePC/pGmbvb4c/j0hZA3yp9FcEL3cJgv46/At /rzZjZMPoNfZCvDRt4EWHFfloQdLGQCIDYkF0ml1y2ksIeEr//1Bq4/5lKw/riuEOezD bqr+xzfq8MDp2FujjjHYy7R9kMqE4nf/SfaRo0BgpjowQk3uHhydxgLZxMVgUCfjGilP eHtg== X-Gm-Message-State: ALoCoQmD10Bz3xXZ1EnkF8u/tnwjyN8zMeLEEeXcwNfF771DukIzaeRQCBRmLslTSjwxczWn5l2u X-Received: by 10.180.188.176 with SMTP id gb16mr22756285wic.18.1438002223312; Mon, 27 Jul 2015 06:03:43 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id ef10sm27818255wjd.49.2015.07.27.06.03.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jul 2015 06:03:42 -0700 (PDT) From: Thomas Monjalon To: Jan Viktorin Date: Mon, 27 Jul 2015 15:02:24 +0200 Message-ID: <2114404.A2iOR9BE6V@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <20150727131649.407f968a@pcviktorin.fit.vutbr.cz> References: <20150724191144.7a11eac0@pcviktorin.fit.vutbr.cz> <2309703.xDBbXC0Ccl@xps13> <20150727131649.407f968a@pcviktorin.fit.vutbr.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] igb_uio: fix missing include of slab.h X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2015 13:03:44 -0000 2015-07-27 13:16, Jan Viktorin: > I am building in a slightly non-standard way, because I tried to integrate DPDK into Buildroot system. > The problem is with kzalloc and kfree which are undefined in the igb_uio driver. I do not use that > driver, however, it has failed to build. See below: > > /usr/bin/make -j5 -C /home/jviki/Projects/buildroot-dpdk-zedboard/build/build/linux-xilinx-v2015.1 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm INSTALL_MOD_PATH=/home/jviki/Projects/buildroot-dpdk-zedboard/build/target CROSS_COMPILE=" /home/jviki/Projects/buildroot-dpdk-zedboard/build/host/usr/bin/arm-none-linux-gnueabi-" DEPMOD=/home/jviki/Projects/buildroot-dpdk-zedboard/build/host/sbin/depmod LOADADDR="0x8000" RTE_SDK=/home/jviki/Projects/buildroot-dpdk-zedboard/build/build/dpdk-2.1.0-rc1 RTE_TARGET=arm-armv7-a-linuxapp-gcc RTE_SRCDIR=/home/jviki/Projects/buildroot-dpdk-zedboard/build/build/dpdk-2.1.0-rc1 CROSS=/home/jviki/Projects/buildroot-dpdk-zedboard/build/host/usr/bin/arm-none-linux-gnueabi- M=/home/jviki/Projects/buildroot-dpdk-zedboard/build/build/dpdk-2.1.0-rc1/lib/librte_eal/linuxapp/igb_uio It's not clear which condition makes the build failing (buildroot, arm, kernel version). But if it fixes it for you, there is no reason not to apply this simple fix. Applied, thanks.