From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id C039DAFCB for ; Wed, 16 Apr 2014 21:52:36 +0200 (CEST) Received: from hmsreliant.think-freely.org ([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1WaVsa-0003mN-QI; Wed, 16 Apr 2014 15:52:35 -0400 Date: Wed, 16 Apr 2014 15:52:20 -0400 From: Neil Horman To: dev@dpdk.org Message-ID: <20140416195220.GA2200@hmsreliant.think-freely.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.9 (--) X-Spam-Status: No Subject: [dpdk-dev] build break on BSD 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: Wed, 16 Apr 2014 19:52:37 -0000 Hey- I was just trying to do a build on bsd for dpdk and hit this: == Build lib/librte_eal/bsdapp/eal CC eal.o /root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c: In function ‘eal_parse_args’: /root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:654:5: error: implicit declaration of function ‘eal_dev_whitelist_add_entry’ [-Werror=implicit-function-declaration] eal_dev_whitelist_add_entry(optarg); ^ /root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:654:5: error: nested extern declaration of ‘eal_dev_whitelist_add_entry’ [-Werror=nested-externs] /root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:715:3: error: implicit declaration of function ‘eal_dev_whitelist_exists’ [-Werror=implicit-function-declaration] if (eal_dev_whitelist_exists()) { ^ /root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:715:3: error: nested extern declaration of ‘eal_dev_whitelist_exists’ [-Werror=nested-externs] /root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:721:3: error: implicit declaration of function ‘rte_eal_pci_set_blacklist’ [-Werror=implicit-function-declaration] rte_eal_pci_set_blacklist(eal_dev_blacklist, blacklist_index); ^ /root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:721:3: error: nested extern declaration of ‘rte_eal_pci_set_blacklist’ [-Werror=nested-externs] /root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:723:3: error: implicit declaration of function ‘eal_dev_whitelist_parse’ [-Werror=implicit-function-declaration] if (eal_dev_whitelist_exists() && eal_dev_whitelist_parse() < 0) { ^ /root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:723:3: error: nested extern declaration of ‘eal_dev_whitelist_parse’ [-Werror=nested-externs] Looks like the recent whitelist/blacklist patches forgot to add the rte_devargs headers to the BSD build. Neil