Skip to content

Commit

Permalink
Fix JSON library import and linking
Browse files Browse the repository at this point in the history
  • Loading branch information
sjones4 committed Nov 15, 2018
1 parent 2eafb16 commit c43503f
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion cluster/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ VNLIBS= ../util/euca_network.o ../util/log.o ../util/fault.o ../util/wc.o ../uti
WSSECLIBS=../util/euca_axis.o ../util/euca_auth.o
CC_LIBS = ../util/config.o ${LIBS} ${LDFLAGS} -lcurl -lssl -lcrypto -lrampart
STATS_OBJS= ../util/stats/stats.o ../util/stats/sensor_common.o ../util/stats/message_sensor.o ../util/stats/service_sensor.o ../util/stats/fs_emitter.o ../util/stats/message_stats.o
STATS_LIBS=-ljson -ljson-c -lm
STATS_LIBS=-ljson-c -lm
CFLAGS +=

all: generated/stubs
Expand Down
2 changes: 1 addition & 1 deletion cluster/handlers.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
#include <signal.h>
#include <math.h>
#include <assert.h>
#include <json/json.h>
#include <json-c/json.h>

#include <eucalyptus.h>
#include "axis2_skel_EucalyptusCC.h"
Expand Down
2 changes: 1 addition & 1 deletion net/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
include ../Makedefs

# Standard Libraries, Dependencies and Includes
STDLIBS := -lpthread -lm -lssl -lxml2 -lcurl -lcrypto -ljson -ljson-c
STDLIBS := -lpthread -lm -lssl -lxml2 -lcurl -lcrypto -ljson-c
STDDEPS := ../util/sequence_executor.o ../util/atomic_file.o ../util/log.o ../util/ipc.o ../util/misc.o
STDDEPS += ../util/euca_string.o ../util/euca_file.o ../util/hash.o ../util/fault.o ../util/wc.o ../util/utf8.o
STDDEPS += ../util/euca_auth.o ../storage/diskutil.o ../storage/http.o ../util/config.o ../util/euca_network.o
Expand Down
2 changes: 1 addition & 1 deletion net/euca-to-mido.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#include <errno.h>
#include <ctype.h>
#include <curl/curl.h>
#include <json/json.h>
#include <json-c/json.h>

#include <eucalyptus.h>
#include <misc.h>
Expand Down
2 changes: 1 addition & 1 deletion net/midonet-api.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#include <dirent.h>
#include <errno.h>
#include <curl/curl.h>
#include <json/json.h>
#include <json-c/json.h>

#include <pthread.h>

Expand Down
2 changes: 1 addition & 1 deletion node/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ NET_LIB = ../net/libeucanet.a
NC_HANDLERS=handlers_xen.o handlers_kvm.o handlers_default.o xml.o hooks.o
STORAGE_OBJS=../storage/backing.o ../storage/diskutil.o ../storage/blobstore.o ../storage/objectstorage.o ../storage/vbr.o ../storage/iscsi.o ../storage/ebs_utils.o ../storage/sc-client-marshal-adb.o ../storage/storage-controller.o
STATS_OBJS = ../util/stats/stats.o ../util/stats/sensor_common.o ../util/stats/message_sensor.o ../util/stats/service_sensor.o ../util/stats/fs_emitter.o ../util/stats/message_stats.o
STATS_LIBS = -ljson -ljson-c -lm
STATS_LIBS = -ljson-c -lm
CFLAGS +=

BUILD_ID=-DEUCA_COMPILE_TIMESTAMP=\""[built `date --rfc-3339='sec'`]"\"
Expand Down
2 changes: 1 addition & 1 deletion util/stats/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ include ../../Makedefs

TEST_OBJS=../config.o ../ipc.o ../misc.o ../wc.o ../log.o ../euca_string.o ../euca_file.o ../../storage/diskutil.o
STATS_OBJS=../config.o ../ipc.o ../misc.o ../wc.o ../log.o ../euca_string.o ../euca_file.o ../../storage/diskutil.o
STATS_LIBS = -ljson -lm
STATS_LIBS = -ljson-c -lm
EFENCE=-lefence
#DEBUGS = -DDEBUG # -DDEBUG1
all: sensor_common.o stats.o message_stats.o message_sensor.o fs_emitter.o service_sensor.o
Expand Down
2 changes: 1 addition & 1 deletion util/stats/fs_emitter.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
#include <diskutil.h>
#include <log.h>
#include <stdio.h>
#include <json/json.h>
#include <json-c/json.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
Expand Down
2 changes: 1 addition & 1 deletion util/stats/fs_emitter.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
| INCLUDES |
| |
\*----------------------------------------------------------------------------*/
#include <json/json.h>
#include <json-c/json.h>
#include <grp.h>

/*----------------------------------------------------------------------------*\
Expand Down
2 changes: 1 addition & 1 deletion util/stats/message_sensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
| INCLUDES |
| |
\*----------------------------------------------------------------------------*/
#include <json/json.h>
#include <json-c/json.h>
#include <sensor_common.h>

/*----------------------------------------------------------------------------*\
Expand Down
2 changes: 1 addition & 1 deletion util/stats/message_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
#include <string.h>
#include <log.h>
#include <ipc.h>
#include <json/json.h>
#include <json-c/json.h>
#include <math.h>

/*----------------------------------------------------------------------------*\
Expand Down
2 changes: 1 addition & 1 deletion util/stats/message_stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
| INCLUDES |
| |
\*----------------------------------------------------------------------------*/
#include <json/json.h>
#include <json-c/json.h>

/*----------------------------------------------------------------------------*\
| |
Expand Down
2 changes: 1 addition & 1 deletion util/stats/sensor_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
#include "sensor_common.h"
#include <eucalyptus.h>
#include <log.h>
#include <json/json.h>
#include <json-c/json.h>
#include <stdarg.h>

/*----------------------------------------------------------------------------*\
Expand Down
2 changes: 1 addition & 1 deletion util/stats/sensor_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
| |
\*----------------------------------------------------------------------------*/
#include <time.h>
#include <json/json.h>
#include <json-c/json.h>


/*----------------------------------------------------------------------------*\
Expand Down
2 changes: 1 addition & 1 deletion util/stats/service_sensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
| |
\*----------------------------------------------------------------------------*/
#include "sensor_common.h"
#include <json/json.h>
#include <json-c/json.h>

/*----------------------------------------------------------------------------*\
| |
Expand Down
2 changes: 1 addition & 1 deletion util/stats/stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
| INCLUDES |
| |
\*----------------------------------------------------------------------------*/
#include <json/json.h>
#include <json-c/json.h>
#include "sensor_common.h"
#include <ipc.h>

Expand Down

0 comments on commit c43503f

Please sign in to comment.