Skip to content

Commit

Permalink
Adding support for Ubuntu 17.10...
Browse files Browse the repository at this point in the history
Change-Id: I9a9da79cb4ccb245ccb38b50b561da51a40a359d
Signed-off-by: Deepak S <[email protected]>
  • Loading branch information
sdeepak2 committed Jun 29, 2018
1 parent 260bc7b commit 5d9aced
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion VNFs/vACL/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ CFLAGS += -I$(VNF_CORE)/common/VIL/gateway
TOP = $(RTE_SDK)/../civetweb
CFLAGS += -I$(TOP)/include $(COPT) -DUSE_WEBSOCKET -DUSE_IPV6 -DUSE_SSL_DH=1
CFLAGS += -DREST_API_SUPPORT
LDFLAGS += -ljson -lcrypto -lssl
LDFLAGS += -ljson-c -lcrypto -lssl
LDFLAGS += -L$(RTE_SDK)/../civetweb/ -lcivetweb

# all source are stored in SRCS-y
Expand Down
2 changes: 1 addition & 1 deletion VNFs/vACL/pipeline/pipeline_acl.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "pipeline.h"
#include "pipeline_acl_be.h"
#include <civetweb.h>
#include <json/json.h>
#include <json-c/json.h>

/* ACL IPV4 and IPV6 enable flags for debugging (Default both on) */
extern int acl_ipv4_enabled;
Expand Down
2 changes: 1 addition & 1 deletion VNFs/vCGNAPT/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ CFLAGS += -I$(VNF_CORE)/common/VIL/gateway
TOP = $(RTE_SDK)/../civetweb
CFLAGS += -I$(TOP)/include $(COPT) -DUSE_WEBSOCKET -DUSE_IPV6 -DUSE_SSL_DH=1
CFLAGS += -DREST_API_SUPPORT
LDFLAGS += -ljson -lcrypto -lssl
LDFLAGS += -ljson-c -lcrypto -lssl
LDFLAGS += -L$(RTE_SDK)/../civetweb/ -lcivetweb

# all source are stored in SRCS-y
Expand Down
2 changes: 1 addition & 1 deletion VNFs/vCGNAPT/pipeline/pipeline_cgnapt.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "pipeline.h"
#include "pipeline_cgnapt_common.h"
#include <civetweb.h>
#include <json/json.h>
#include <json-c/json.h>

/**
* Add NAPT rule to the NAPT rule table.
Expand Down
2 changes: 1 addition & 1 deletion VNFs/vFW/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ CFLAGS += -I$(VNF_CORE)/common/VIL/gateway

TOP = $(RTE_SDK)/../civetweb
CFLAGS += -I$(TOP)/include $(COPT) -DUSE_WEBSOCKET -DUSE_IPV6 -DUSE_SSL_DH=1 -DREST_API_SUPPORT=1
LDFLAGS += -ljson -lcrypto -lssl
LDFLAGS += -ljson-c -lcrypto -lssl
LDFLAGS += -L$(RTE_SDK)/../civetweb/ -lcivetweb

# all source are stored in SRCS-y
Expand Down
2 changes: 1 addition & 1 deletion VNFs/vFW/pipeline/pipeline_vfw.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include "pipeline_vfw_be.h"

#include <civetweb.h>
#include <json/json.h>
#include <json-c/json.h>

/* VFW IPV4 and IPV6 enable flags for debugging (Default both on) */
extern int vfw_ipv4_enabled;
Expand Down
2 changes: 1 addition & 1 deletion common/vnf_common/rest_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#include "pipeline_arpicmp.h"

#include <civetweb.h>
#include <json/json.h>
#include <json-c/json.h>
#include "app.h"
#include "lib_arp.h"
#include "interface.h"
Expand Down
3 changes: 1 addition & 2 deletions tools/vnf_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ install_libs()
sudo apt-get update
sudo apt-get -y install build-essential linux-headers-$(uname -r) git unzip libpcap0.8-dev gcc \
make libc6 libc6-dev g++-multilib libzmq3-dev libcurl4-openssl-dev net-tools wget gcc unzip \
libpcap-dev libncurses-dev libedit-dev pciutils liblua5.2-dev libncursesw5-dev libjson0 \
libjson0-dev libssl-dev
libpcap-dev libncurses-dev libedit-dev pciutils liblua5.2-dev libncursesw5-dev libjson-c-dev libssl-dev
touch .download
}

Expand Down

0 comments on commit 5d9aced

Please sign in to comment.