X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvm_power_manager%2FMakefile;h=8ac1180b2f77ce744af5c2efe3b76ba446d0b955;hb=6a2cf58a045f58c9744194f4d44394c7af1a0027;hp=87b9744d8c9b429ba85b16a31f699a47538b57fc;hpb=5adbc4b847943380b153711c412a394e811de9ff;p=dpdk.git diff --git a/examples/vm_power_manager/Makefile b/examples/vm_power_manager/Makefile index 87b9744d8c..8ac1180b2f 100644 --- a/examples/vm_power_manager/Makefile +++ b/examples/vm_power_manager/Makefile @@ -32,6 +32,8 @@ CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk) LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk) LDFLAGS_STATIC = $(shell $(PKGCONF) --static --libs libdpdk) +CFLAGS += -DALLOW_EXPERIMENTAL_API + ifneq ($(shell $(PKGCONF) --atleast-version=0.9.3 libvirt; echo $$?), 0) $(error vm_power_manager requires libvirt >= 0.9.3) endif @@ -44,7 +46,7 @@ CFLAGS += -DUSE_JANSSON endif # for shared library builds, we need to explicitly link these PMDs -LDFLAGS_SHARED += -lrte_pmd_ixgbe -lrte_pmd_i40e -lrte_pmd_bnxt +LDFLAGS_SHARED += -lrte_net_ixgbe -lrte_net_i40e -lrte_net_bnxt build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build $(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)