From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id C9BAB3005 for ; Mon, 15 Feb 2016 09:29:46 +0100 (CET) Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 53E72155DC; Mon, 15 Feb 2016 08:29:46 +0000 (UTC) Received: from sopuli.koti.laiskiainen.org (vpn1-4-141.ams2.redhat.com [10.36.4.141]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u1F8TjHv032475; Mon, 15 Feb 2016 03:29:45 -0500 To: Matthew Hall , "" References: <0863DE89-580E-4AA2-B949-25179510BD55@mhcomputing.net> From: Panu Matilainen Message-ID: <56C18C78.7080307@redhat.com> Date: Mon, 15 Feb 2016 10:29:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <0863DE89-580E-4AA2-B949-25179510BD55@mhcomputing.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 Subject: Re: [dpdk-dev] vm_power_manager uses channel_commands.h which is not placed in installed copy of DPDK 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: Mon, 15 Feb 2016 08:29:47 -0000 On 02/14/2016 01:38 AM, Matthew Hall wrote: > Hello, > > I found a peculiarity in the vm_power_manager example on DPDK 2.2 if you use an installed copy of DPDK to compile the examples instead of the master copy (while trying to update some outdated stuff in my build system). > > mhall@mvs-01:~/dpdk/examples/vm_power_manager$ fgrep -ir channel_commands *.{c,h} > channel_manager.c:#include "channel_commands.h" > channel_monitor.c:#include "channel_commands.h" > vm_power_cli.c:#include "channel_commands.h" > channel_manager.h:#include "channel_commands.h" > > It appears a bunch of these files are trying to pull in this special header from here: > > /home/mhall/src/sdn_sensor/external/dpdk/lib/librte_power/channel_commands.h > > However this file is never copied into the include directions in the installed copy. So this example fails to build. > > Did anybody run into this before? Yes, the problem exists at least since DPDK 2.1 but somehow never remembered to report / do something about it. Basically either vm_power_manager example is messing with things its not supposed to, or librte_power library isn't exporting everything needed to fully use the it. Unfortunately both the library and the example are lacking a maintainer :-/ - Panu -