From 2b25e664c8411aa5e32c2828ee4246f2e02b1cd0 Mon Sep 17 00:00:00 2001 From: Danny Auble <da@schedmd.com> Date: Tue, 10 Dec 2013 15:55:00 -0800 Subject: [PATCH] Define missing symbols if linking directly with plugins --- src/common/parse_config.c | 14 ++++++++++++-- src/common/slurm_xlator.h | 20 +++++++++++++++----- 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/src/common/parse_config.c b/src/common/parse_config.c index e3fb9142c94..760cb78cec7 100644 --- a/src/common/parse_config.c +++ b/src/common/parse_config.c @@ -63,11 +63,21 @@ #include "slurm/slurm.h" -strong_alias(s_p_get_string, slurm_s_p_get_string); -strong_alias(s_p_get_uint32, slurm_s_p_get_uint32); strong_alias(s_p_hashtbl_create, slurm_s_p_hashtbl_create); strong_alias(s_p_hashtbl_destroy, slurm_s_p_hashtbl_destroy); strong_alias(s_p_parse_file, slurm_s_p_parse_file); +strong_alias(s_p_parse_pair, slurm_s_p_parse_pair); +strong_alias(s_p_parse_line, slurm_s_p_parse_line); +strong_alias(s_p_hashtbl_merge, slurm_s_p_hashtbl_merge); +strong_alias(s_p_get_string, slurm_s_p_get_string); +strong_alias(s_p_get_long, slurm_s_p_get_long); +strong_alias(s_p_get_uint16, slurm_s_p_get_uint16); +strong_alias(s_p_get_uint32, slurm_s_p_get_uint32); +strong_alias(s_p_get_pointer, slurm_s_p_get_pointer); +strong_alias(s_p_get_array, slurm_s_p_get_array); +strong_alias(s_p_get_boolean, slurm_s_p_get_boolean); +strong_alias(s_p_dump_values, slurm_s_p_dump_values); +strong_alias(transfer_s_p_options, slurm_transfer_s_p_options); #define BUFFER_SIZE 4096 diff --git a/src/common/slurm_xlator.h b/src/common/slurm_xlator.h index 6472928366d..f68ff08f69c 100644 --- a/src/common/slurm_xlator.h +++ b/src/common/slurm_xlator.h @@ -359,11 +359,21 @@ #define destroy_select_ba_request slurm_destroy_select_ba_request /* parse_config.[ch] functions */ -#define s_p_get_string slurm_s_p_get_string -#define s_p_get_uint32 slurm_s_p_get_uint32 -#define s_p_hashtbl_create slurm_s_p_hashtbl_create -#define s_p_hashtbl_destroy slurm_s_p_hashtbl_destroy -#define s_p_parse_file slurm_s_p_parse_file +#define s_p_hashtbl_create slurm_s_p_hashtbl_create +#define s_p_hashtbl_destroy slurm_s_p_hashtbl_destroy +#define s_p_parse_file slurm_s_p_parse_file +#define s_p_parse_pair slurm_s_p_parse_pair +#define s_p_parse_line slurm_s_p_parse_line +#define s_p_hashtbl_merge slurm_s_p_hashtbl_merge +#define s_p_get_string slurm_s_p_get_string +#define s_p_get_long slurm_s_p_get_long +#define s_p_get_uint16 slurm_s_p_get_uint16 +#define s_p_get_uint32 slurm_s_p_get_uint32 +#define s_p_get_pointer slurm_s_p_get_pointer +#define s_p_get_array slurm_s_p_get_array +#define s_p_get_boolean slurm_s_p_get_boolean +#define s_p_dump_values slurm_s_p_dump_values +#define transfer_s_p_options slurm_transfer_s_p_options /* slurm_step_layout.[ch] functions */ #define pack_slurm_step_layout slurm_pack_slurm_step_layout -- GitLab