Click to See Complete Forum and Search --> : Basic RPC problem


Stasonis
09-26-2004, 03:22 PM
Hi there,

I have an assignment in my Advanced Operating Systems class to write a basic RPC server/client. I have found several examples on the web and I can't even get those to compile correctly. I have put my code up here (http://www.freeballinit.com/RPC). Everytime I try to run make the client compiles fun, but the server comes up with the following error:

/tmp/ccbRBgFu.o(.text+0x48): In function `some_prog_1(svc_req*, SVCXPRT*)':
: undefined reference to `some_test_1_svc'
collect2: ld returned 1 exit status

Now I know this means the function some_prog_1 should be defined somewhere, but I was under the impression that this is one of the functions rpcgen is supposed to generate for you. I could use a little help figuring out what I'm missing

Regards,
Chris Stasonis