I have an rpcgen generated file 'api_svc1.c' The file contains the following line:
local = (char *(*)(char *, struct svc_req *)) createacct_5_svc;
'createacct_5_sv' is declared in 'api.h' as
createAcctResult * createacct_5_svc();
But even after includeing the header file 'api.h', I get the following error:
api_svc1.c:90: undefined reference to `createacct_5_svc'
Aby suggestions?