--- spi_agent_oncrpc_svc.c.orig 2015-04-17 08:20:57.084586438 +0200 +++ spi_agent_oncrpc_svc.c 2015-04-17 08:21:27.814550231 +0200 @@ -16,6 +16,8 @@ #define SIG_PF void(*)(int) #endif +extern void spi_agent_oncrpc_initialize(void); + int _spi_transaction_1 (SPIAGENT_COMMAND_MSG_t *argp, void *result, struct svc_req *rqstp) { @@ -96,6 +98,8 @@ exit(1); } + spi_agent_oncrpc_initialize(); + svc_run (); fprintf (stderr, "%s", "svc_run returned"); exit (1);