mkdir grid
cp -R $SHROOT/examples/vas/grid/* grid
cd grid
make all
You should see something like this:
cp /usr/local/shore/include/ShoreConfig.h .
/usr/local/shore/bin/rpcgen msg.x
rm -f msg_svc.c
/usr/local/shore/bin/rpcgen -m -o msg_svc.c msg.x
g++ -g -I/usr/local/shore/include -c grid.C
g++ -g -I/usr/local/shore/include -c rpc_thread.C
g++ -g -I/usr/local/shore/include -c server.C
g++ -g -I/usr/local/shore/include -c command_server.C
g++ -g -I/usr/local/shore/include -c server_stubs.C
g++ -g -I/usr/local/shore/include -c options.C
g++ -g -I/usr/local/shore/include -c command.C
g++ -g -I/usr/local/shore/include -c grid_basics.C
gcc -g -traditional -c msg_xdr.c
gcc -g -traditional -c msg_svc.c
g++ -g -I/usr/local/shore/include -o server msg_svc.o grid.o \
rpc_thread.o server.o command_server.o server_stubs.o options.o \
command.o grid_basics.o msg_xdr.o /usr/local/shore/lib/libsm.a \
/usr/local/shore/lib/libshorecommon.a -lnsl
g++ -g -I/usr/local/shore/include -c client.C
g++ -g -I/usr/local/shore/include -c command_client.C
gcc -g -traditional -c msg_clnt.c
g++ -g -I/usr/local/shore/include -o client client.o \
command_client.o options.o command.o grid_basics.o msg_clnt.o \
msg_xdr.o /usr/local/shore/lib/libshorecommon.a -lnsl
Notice that the modified rpcgen shipped with Shore is used by default. When the compilation is complete, you should have a two executables, server and client.