From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] igb_uio: fix missing include of slab.h Date: Mon, 27 Jul 2015 15:02:24 +0200 Message-ID: <2114404.A2iOR9BE6V@xps13> References: <20150724191144.7a11eac0@pcviktorin.fit.vutbr.cz> <2309703.xDBbXC0Ccl@xps13> <20150727131649.407f968a@pcviktorin.fit.vutbr.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Jan Viktorin 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) In-Reply-To: <20150727131649.407f968a@pcviktorin.fit.vutbr.cz> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.