From owner-freebsd-net@freebsd.org Wed Dec 16 10:04:06 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EBFDE4B6ADE; Wed, 16 Dec 2020 10:04:06 +0000 (UTC) (envelope-from rajfbsd@gmail.com) Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com [IPv6:2607:f8b0:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CwrLt2Bs2z4h02; Wed, 16 Dec 2020 10:04:06 +0000 (UTC) (envelope-from rajfbsd@gmail.com) Received: by mail-ot1-x334.google.com with SMTP id a109so22346564otc.1; Wed, 16 Dec 2020 02:04:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=KxZIKbCYPpmECpPoFUpQg2mEei1paeLRmIb0qbw2NHM=; b=KiDsCfR5r7BNs4Q9C74PXmgTz2LL/b2sirHgEAxtMEQ1YuC6hEY30SG6IeF16p5+lU sioIeuF0PuvA8nNbVoj3V7IJDfbz1Q/+3Kw293j6EVqvNmns9oKy+lhutabaEeJ7b7Le kqdzKY+Ko9bfa+6+XdHxPaxXyU8Hu4qtamkevmrvq6C/RFjC9CFKpifOhipXa63ZKwSh LEEEbh8edzPhRTKWKm5ZwJR3l/RUDTeMgoN4ASLcTzSNhbHmoMFjvKPRwQdyVZfqhwld ceB8LeKGQeir33s/uUZ56SkD/miKVTx3eUuEqeqP+z4FVqNXffUUOF4DDDYYjOiE6CPE 93Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KxZIKbCYPpmECpPoFUpQg2mEei1paeLRmIb0qbw2NHM=; b=lDU61MrnSHj3qIUssnaOhNyrpWdlHwddNqpeeUtGvsP23YDr3jgkXCWtcVGyJ72lfJ W1TXFFzJ6soOn/iiJRIEKeZzTCW8Go/1femIxlX9ID5rOIL2WlZwKRSMSl9arXAN8Ui1 +ruHAO5MbLAYe/iusOZ76Azk2K2Gd1qer3lc8aVK8DkOM4BezwPtjT1+5zaOFQDIpJ/T b482ISH8QrLIS1Goh2CxA37Ub9k4TUf03bY77JVNpOk/xPkc3986DuyTq6NamalI0X4a LI3Q4gQuGFHdjy4AutRhVCNgN4G/YBSECK5fHmPO4HZK1wjAMGK95tIxoBEhBbVI+xor naFg== X-Gm-Message-State: AOAM5310WavtOunDMV7feDxwdd+qNTidFelcS47bE5n1BGvRVCyIcWNu XZCV0vTyHlVdqabWLYAeanRFEYwK4e7TTBiBO5XF1N1Oo4k= X-Google-Smtp-Source: ABdhPJwbEHep9c/LciyuEL/+6yhzydXigYqZVvzwGPfYoAkzOCfsKDkDb3NQjoB4LXTpNqbAcHCsMnHZyTu6sub9YMM= X-Received: by 2002:a9d:453:: with SMTP id 77mr18295069otc.91.1608113044461; Wed, 16 Dec 2020 02:04:04 -0800 (PST) MIME-Version: 1.0 From: Rajesh Kumar Date: Wed, 16 Dec 2020 15:33:53 +0530 Message-ID: Subject: Netmap Library not getting installed on custom kernel installation To: freebsd-net@freebsd.org, FreeBSD Hackers X-Rspamd-Queue-Id: 4CwrLt2Bs2z4h02 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=KiDsCfR5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rajfbsd@gmail.com designates 2607:f8b0:4864:20::334 as permitted sender) smtp.mailfrom=rajfbsd@gmail.com X-Spamd-Result: default: False [-2.03 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::334:from]; NEURAL_SPAM_SHORT(0.97)[0.968]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::334:from:127.0.2.255]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::334:from]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-net,freebsd-hackers]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2020 10:04:07 -0000 Hi, I am trying to compile the netmap tools(pkt-gen, bridge etc.,) and getting the below error. */root//freebsd/tools/tools/netmap/pkt-gen.c:47:10: fatal error: 'libnetmap.h' file not found#include ^~~~~~~~~~~~~1 error generated.*** Error code 1* On debug, I don't see the libnetmap.h file getting installed in the /usr/obj/ directory. Whereas, in another similar machine I have the file in /usr/obj and compilation of netmap tools goes fine. For the test, I just copied libnetmap.h from the source and it leads to linker error. So seems the libnetmap library is not installed properly. I installed a custom kernel just disabling the debug options with the FreeBSD-CURRENT branch. After rebooting to the custom kernel, I tried to compile the netmap tools (with some changes) and ran into the above error. How to get the netmap tools compiled in this scenario? Am i missing something?