I am tring, for the first time, to compile an rpc client but I am getting a vague compile error. The rpc.x code compiles fine, the client.c code compiles, and the rpc_clnt.c compiles but when I run the final command to link and create a binary I get the error.
Undefined first referenced
symbol in file
xdr_void Rpc_clnt.o
The exact command I am using is
cc -o Client Client.o Rpc_clnt.o
Any ideas on what the problem could be?