From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v11 2/2] librte_pmd_null: Support port hotplug function Date: Wed, 25 Feb 2015 16:49:02 -0800 Message-ID: <20150225164902.70f8abd6@urahara> References: <1424414516-18609-1-git-send-email-mukawa@igel.co.jp> <1424668355-8794-1-git-send-email-mukawa@igel.co.jp> <1424668355-8794-2-git-send-email-mukawa@igel.co.jp> <1665241.NKrJfZ0zyg@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: dev-VfR2kkLFssw@public.gmane.org To: Thomas Monjalon Return-path: In-Reply-To: <1665241.NKrJfZ0zyg@xps13> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Build fails if HOTPLUG is disabled =3D=3D Build lib/librte_ether CC rte_ethdev.o /var/src/dpdk/lib/librte_ether/rte_ethdev.c:430:1: error: =E2=80=98rte_eth_= dev_get_device_type=E2=80=99 defined but not used [-Werror=3Dunused-functio= n] rte_eth_dev_get_device_type(uint8_t port_id) ^ /var/src/dpdk/lib/librte_ether/rte_ethdev.c:438:1: error: =E2=80=98rte_eth_= dev_save=E2=80=99 defined but not used [-Werror=3Dunused-function] rte_eth_dev_save(struct rte_eth_dev *devs, size_t size) ^ /var/src/dpdk/lib/librte_ether/rte_ethdev.c:450:1: error: =E2=80=98rte_eth_= dev_get_changed_port=E2=80=99 defined but not used [-Werror=3Dunused-functi= on] rte_eth_dev_get_changed_port(struct rte_eth_dev *devs, uint8_t *port_id) ^ /var/src/dpdk/lib/librte_ether/rte_ethdev.c:464:1: error: =E2=80=98rte_eth_= dev_get_addr_by_port=E2=80=99 defined but not used [-Werror=3Dunused-functi= on] rte_eth_dev_get_addr_by_port(uint8_t port_id, struct rte_pci_addr *addr) ^ /var/src/dpdk/lib/librte_ether/rte_ethdev.c:481:1: error: =E2=80=98rte_eth_= dev_get_name_by_port=E2=80=99 defined but not used [-Werror=3Dunused-functi= on] rte_eth_dev_get_name_by_port(uint8_t port_id, char *name) ^ /var/src/dpdk/lib/librte_ether/rte_ethdev.c:503:1: error: =E2=80=98rte_eth_= dev_is_detachable=E2=80=99 defined but not used [-Werror=3Dunused-function] rte_eth_dev_is_detachable(uint8_t port_id) ^ cc1: all warnings being treated as errors