From: Jon M. <jon...@er...> - 2004-06-14 20:56:25
|
Try with tipc_test-1.4 at SF. It is a little hackish, but will give you an idea about how tipc is used. Also, if you check out the latest version from CVS at SF there is a userland program called tipc-config.c, which uses the tipc-1.3 communication API to manage TIPC by messaging. /jon Guochun Shi wrote: >hi, > >I downloaded tipc-1.3.10 and tried to compile some examples from the pdf documents(connless and conn client/server), >here are the errors I got from compiling conn_client.c >(connles_client.c has similar errors, but both servers compile ) > >[root@posic066 test]# make >make: Nothing to be done for `all'. >[root@posic066 test]# make conn_client >gcc -I/usr/local/src/linux-2.4.26/include -I/home/gshi/tipc/tipc-1.3.10/include/net/tipc conn_client.c -o conn_client >conn_client.c:17: variable `server_subscr' has initializer but incomplete type >conn_client.c:17: warning: excess elements in struct initializer >conn_client.c:17: warning: (near initialization for `server_subscr') >conn_client.c:17: warning: excess elements in struct initializer >conn_client.c:17: warning: (near initialization for `server_subscr') >conn_client.c:17: warning: excess elements in struct initializer >conn_client.c:17: warning: (near initialization for `server_subscr') >conn_client.c:18: warning: large integer implicitly truncated to unsigned type >conn_client.c: In function `main': >conn_client.c:29: `WAIT_FOR_NAME' undeclared (first use in this function) >conn_client.c:29: (Each undeclared identifier is reported only once >conn_client.c:29: for each function it appears in.) >conn_client.c:32: `SOCK_TIPC' undeclared (first use in this function) >conn_client.c: At top level: >conn_client.c:17: storage size of `server_subscr' isn't known >make: *** [conn_client] Error 1 > > >I guess these programs are obsolete. Are there any new test programs I can run as a start? > >Thanks >-Guochun > > > >------------------------------------------------------- >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND >_______________________________________________ >TIPC-discussion mailing list >TIP...@li... >https://lists.sourceforge.net/lists/listinfo/tipc-discussion > > |