From owner-freebsd-net@FreeBSD.ORG Sun Sep 28 20:50:36 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 30C8A4A9 for ; Sun, 28 Sep 2014 20:50:36 +0000 (UTC) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AEE825E2 for ; Sun, 28 Sep 2014 20:50:35 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id ty20so4436899lab.27 for ; Sun, 28 Sep 2014 13:50:33 -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 :cc:content-type; bh=5WNdoEaBPdDVJQFl7QVcNeVrRmyKOXEKHuWFBKIQPw0=; b=Z9sK7KBxt2B67Mr3gk4eIQJalS+9DNz8gHD7ix+y+VhRCfiQ3OCcCYoERGQmF4BJV7 jDDRat+ruOksFhslu1mFJCgNzfQNgirJCw9vLo6eUVZZLDejWYAllDdD38CEKY8yJR2n 38gIp8uK2P7iuHcvRIAi12gWYk6CrLpQDTBXMj4195QPXEnf9I7+sl9rK3FKW3CtRnQU 43hOKGPmWzFNcRWo2O98sJIVZkJ0JLaUcjzwjI/i9schKAdiIuOk1OXC+DJ5z+ZQVpQi Ipk1ZBjkwJkdMGomaY8mABGWGpcgegAS1yw2bt4QJAP79zeXZ0f+UILQAU+esogA3Rmh ec/Q== MIME-Version: 1.0 X-Received: by 10.112.140.137 with SMTP id rg9mr4276610lbb.93.1411937433649; Sun, 28 Sep 2014 13:50:33 -0700 (PDT) Received: by 10.25.167.2 with HTTP; Sun, 28 Sep 2014 13:50:33 -0700 (PDT) In-Reply-To: References: Date: Sun, 28 Sep 2014 22:50:33 +0200 Message-ID: Subject: Re: Compiling netmap in Ubuntu 14.04 in VMWare From: Andreas Nilsson To: Long Tran Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "Gurkan, Deniz" , FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2014 20:50:36 -0000 On Sun, Sep 28, 2014 at 10:09 AM, Long Tran wrote: > Hello, > > I am trying to compile netmap on my VM Ubuntu 14.04 but getting this error: > > make -C /lib/modules/3.13.0-29-generic/build > M=/home/kl/Workspaces/netmap/LINUX CONFIG_NETMAP=m CONFIG_E1000=m > CONFIG_E1000E=m CONFIG_IXGBE=m CONFIG_IGB=m CONFIG_BNX2X=m CONFIG_MLX4=m > CONFIG_VIRTIO_NET=m \ > EXTRA_CFLAGS='-I/home/kl/Workspaces/netmap/LINUX > -I/home/kl/Workspaces/netmap/LINUX/../sys > -I/home/kl/Workspaces/netmap/LINUX/../sys/dev -DCONFIG_NETMAP > -Wno-unused-but-set-variable' \ > O_DRIVERS="e1000/ e1000e/ igb/ ixgbe/" modules > make[1]: Entering directory `/usr/src/linux-headers-3.13.0-29-generic' > make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-29-generic' > > I have downloaded the linux source code and copy the drivers in the intel > directory to this directory before compiling: > /lib/modules/3.13.0-29-generic/build/drivers/net/ethernet/intel/ > > Is that the problem with my vm or am I missing any steps to compile the > netmap? > > Thank you, > Long Tran. > Are sure you getting an error? I see no error in the output. What happens if you type make again? What happens when you run the install target ( I don't remember the name, if it is install modules_install, but it should be in the notes (or Makefile obviously). Best regards Andeas