From: Guochun S. <gs...@nc...> - 2004-06-14 20:10:10
|
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 |