I just came to the same conclusion.
make ... install-sdk doesn't install it as it isn't considered public.
So I agree to your summary of:"Either vm_power_manager should stop using
channel_commands.h, or channel_commands.h should be public."


Christian Ehrhardt
Software Engineer, Ubuntu Server
Canonical Ltd

On Wed, May 18, 2016 at 2:37 PM, Ferruh YIGIT <[email protected]>
wrote:

> With a little extra investigation, channel_commands.h is not part of
> vm_power_manager. So there is no packaging related defect, but still
> created this bug report as keeping record.
>
> What happens is:
> - channel_commands.h is a private header in librte_power
> - vm_power_manager uses it by an inclusion in Makefile: CFLAGS += -O3
> -I$(RTE_SDK)/lib/librte_power/
> - So this is why there is no compilation error if library source is
> availble
>
> This needs to be solved in DPDK.
> Either vm_power_manager should stop using channel_commands.h, or
> channel_commands.h should be public.
>
> Thanks,
> ferruh
>
> --
> You received this bug notification because you are subscribed to dpdk in
> Ubuntu.
> Matching subscriptions: DPDK general subscription
> https://bugs.launchpad.net/bugs/1583150
>
> Title:
>   dpdk sample vm_power_manager compilation error because of missing file
>   channel_commands.h
>
> Status in dpdk package in Ubuntu:
>   New
>
> Bug description:
>   Compile error is:
>
>   ...:/usr/share/dpdk# make -C examples/vm_power_manager/
>   make: Entering directory '/usr/share/dpdk/examples/vm_power_manager'
>     CC main.o
>   In file included from
> /usr/share/dpdk/examples/vm_power_manager/main.c:57:0:
>   /usr/share/dpdk/examples/vm_power_manager/channel_manager.h:44:30: fatal
> error: channel_commands.h: No such file or directory
>   compilation terminated.
>   /usr/share/dpdk/mk/internal/rte.compile-pre.mk:126: recipe for target
> 'main.o' failed
>   make[1]: *** [main.o] Error 1
>   /usr/share/dpdk/mk/rte.extapp.mk:42: recipe for target 'all' failed
>   make: *** [all] Error 2
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1583150/+subscriptions
>


** Changed in: dpdk (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: dpdk (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1583150

Title:
  dpdk sample vm_power_manager compilation error because of missing file
  channel_commands.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1583150/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to