Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Compiling net/tcp_common.c
- In file included from net/tcp_common.c:24:0:
- net/tcp_common.h:25:5: warning: redundant redeclaration of âtcp_connect_blockingâ [-Wredundant-decls]
- int tcp_connect_blocking(int s, const struct sockaddr *servaddr,
- ^~~~~~~~~~~~~~~~~~~~
- In file included from net/tcp_common.c:23:0:
- net/net_tcp.h:83:5: note: previous declaration of âtcp_connect_blockingâ was here
- int tcp_connect_blocking(int s, const struct sockaddr *servaddr,
- ^~~~~~~~~~~~~~~~~~~~
- In file included from net/tcp_common.c:24:0:
- net/tcp_common.h:29:5: warning: redundant redeclaration of âtcp_connect_blocking_timeoutâ [-Wredundant-decls]
- int tcp_connect_blocking_timeout(int s, const struct sockaddr *servaddr,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from net/tcp_common.c:23:0:
- net/net_tcp.h:87:5: note: previous declaration of âtcp_connect_blocking_timeoutâ was here
- int tcp_connect_blocking_timeout(int s, const struct sockaddr *servaddr,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- net/tcp_common.c: In function âtcp_sync_connectâ:
- net/tcp_common.c:188:6: error: too many arguments to function âtcp_conn_createâ
- con=tcp_conn_create(s, server, send_sock, S_CONN_OK, send2main);
- ^~~~~~~~~~~~~~~
- In file included from net/tcp_common.c:23:0:
- net/net_tcp.h:98:24: note: declared here
- struct tcp_connection* tcp_conn_create(int sock, union sockaddr_union* su,
- ^~~~~~~~~~~~~~~
- net/tcp_common.c: In function âtcp_async_connectâ:
- net/tcp_common.c:323:6: error: too many arguments to function âtcp_conn_createâ
- con=tcp_conn_create(fd, server, send_sock, S_CONN_CONNECTING, send2main);
- ^~~~~~~~~~~~~~~
- In file included from net/tcp_common.c:23:0:
- net/net_tcp.h:98:24: note: declared here
- struct tcp_connection* tcp_conn_create(int sock, union sockaddr_union* su,
- ^~~~~~~~~~~~~~~
- net/tcp_common.c:333:6: error: too many arguments to function âtcp_conn_createâ
- con=tcp_conn_create(fd, server, send_sock, S_CONN_OK, send2main);
- ^~~~~~~~~~~~~~~
- In file included from net/tcp_common.c:23:0:
- net/net_tcp.h:98:24: note: declared here
- struct tcp_connection* tcp_conn_create(int sock, union sockaddr_union* su,
- ^~~~~~~~~~~~~~~
- In file included from net/../ip_addr.h:46:0,
- from net/../reactor_defs.h:39,
- from net/tcp_common.c:22:
- net/tcp_common.c: In function âtcp_async_writeâ:
- net/tcp_common.c:356:10: error: dereferencing pointer to incomplete type âstruct tcp_async_chunkâ
- chunk->len, chunk, con, chunk->ticks, get_ticks());
- ^
- net/../dprint.h:315:33: note: in definition of macro âMY_DPRINTâ
- dp_my_pid(), __DP_FUNC, ## args) \
- ^~~~
- net/tcp_common.c:355:3: note: in expansion of macro âLM_DBGâ
- LM_DBG("Trying to send %d bytes from chunk %p in conn %p - %d %d \n",
- ^~~~~~
- net/tcp_common.c: In function âtcp_write_on_socketâ:
- net/tcp_common.c:459:7: error: âstruct tcp_connectionâ has no member named âasyncâ
- if (c->async) {
- ^~
- net/tcp_common.c:464:8: error: âstruct tcp_connectionâ has no member named âasyncâ
- if (c->async->pending)
- ^~
- In file included from net/../net/../lock_alloc.h:55:0,
- from net/../net/../locking.h:66,
- from net/../net/tcp_conn_defs.h:39,
- from net/../net/api_proto_net.h:29,
- from net/../net/trans.h:31,
- from net/../socket_info.h:37,
- from net/../pt_scaling.h:31,
- from net/../pt.h:38,
- from net/../io_wait.h:91,
- from net/../reactor_defs.h:40,
- from net/tcp_common.c:22:
- net/tcp_common.c: In function âtcp_async_add_chunkâ:
- net/tcp_common.c:487:24: error: invalid application of âsizeofâ to incomplete type âstruct tcp_async_chunkâ
- c = shm_malloc(sizeof(struct tcp_async_chunk) + len);
- ^
- net/../net/../mem/shm_mem.h:493:42: note: in definition of macro âshm_mallocâ
- #define shm_malloc( _size ) _shm_malloc((_size), \
- ^~~~~
- net/tcp_common.c:495:2: error: invalid use of undefined type âstruct tcp_async_chunkâ
- c->buf = (char *)(c+1);
- ^
- net/tcp_common.c:501:9: error: âstruct tcp_connectionâ has no member named âasyncâ
- if (con->async->allocated == con->async->pending) {
- ^~
- net/tcp_common.c:501:34: error: âstruct tcp_connectionâ has no member named âasyncâ
- if (con->async->allocated == con->async->pending) {
- ^~
- In file included from net/../ip_addr.h:46:0,
- from net/../reactor_defs.h:39,
- from net/tcp_common.c:22:
- net/tcp_common.c:503:8: error: âstruct tcp_connectionâ has no member named âasyncâ
- con->async->pending);
- ^
- net/../dprint.h:315:33: note: in definition of macro âMY_DPRINTâ
- dp_my_pid(), __DP_FUNC, ## args) \
- ^~~~
- net/tcp_common.c:502:3: note: in expansion of macro âLM_ERRâ
- LM_ERR("We have reached the limit of max async postponed chunks %d\n",
- ^~~~~~
- net/tcp_common.c:503:8: error: âstruct tcp_connectionâ has no member named âasyncâ
- con->async->pending);
- ^
- net/../dprint.h:319:46: note: in definition of macro âMY_SYSLOGâ
- _prefix LOG_PREFIX _fmt, __DP_FUNC, ##args);\
- ^~~~
- net/tcp_common.c:502:3: note: in expansion of macro âLM_ERRâ
- LM_ERR("We have reached the limit of max async postponed chunks %d\n",
- ^~~~~~
- net/tcp_common.c:510:5: error: âstruct tcp_connectionâ has no member named âasyncâ
- con->async->chunks[con->async->pending++] = c;
- ^~
- net/tcp_common.c:510:24: error: âstruct tcp_connectionâ has no member named âasyncâ
- con->async->chunks[con->async->pending++] = c;
- ^~
- net/tcp_common.c:511:9: error: âstruct tcp_connectionâ has no member named âasyncâ
- if (con->async->pending == 1)
- ^~
- net/tcp_common.c:512:6: error: âstruct tcp_connectionâ has no member named âasyncâ
- con->async->oldest = c->ticks;
- ^~
- net/tcp_common.c: In function âtcp_async_get_chunkâ:
- net/tcp_common.c:523:9: error: âstruct tcp_connectionâ has no member named âasyncâ
- if (con->async->pending == 0)
- ^~
- net/tcp_common.c:525:12: error: âstruct tcp_connectionâ has no member named âasyncâ
- return con->async->chunks[0];
- ^~
- net/tcp_common.c: In function âtcp_async_update_writeâ:
- net/tcp_common.c:534:14: error: âstruct tcp_connectionâ has no member named âasyncâ
- chunk = con->async->chunks[i];
- ^~
- net/tcp_common.c:546:5: error: âstruct tcp_connectionâ has no member named âasyncâ
- con->async->pending -= i;
- ^~
- In file included from net/../net/../lock_alloc.h:55:0,
- from net/../net/../locking.h:66,
- from net/../net/tcp_conn_defs.h:39,
- from net/../net/api_proto_net.h:29,
- from net/../net/trans.h:31,
- from net/../socket_info.h:37,
- from net/../pt_scaling.h:31,
- from net/../pt.h:38,
- from net/../io_wait.h:91,
- from net/../reactor_defs.h:40,
- from net/tcp_common.c:22:
- net/tcp_common.c:548:15: error: âstruct tcp_connectionâ has no member named âasyncâ
- shm_free(con->async->chunks[c]);
- ^
- net/../net/../mem/shm_mem.h:513:38: note: in definition of macro âshm_freeâ
- #define shm_free( _ptr ) _shm_free( (_ptr), \
- ^~~~
- net/tcp_common.c:549:9: error: âstruct tcp_connectionâ has no member named âasyncâ
- if (con->async->pending) {
- ^~
- In file included from net/../ip_addr.h:46:0,
- from net/../reactor_defs.h:39,
- from net/tcp_common.c:22:
- net/tcp_common.c:551:8: error: âstruct tcp_connectionâ has no member named âasyncâ
- con->async->pending, con);
- ^
- net/../dprint.h:315:33: note: in definition of macro âMY_DPRINTâ
- dp_my_pid(), __DP_FUNC, ## args) \
- ^~~~
- net/tcp_common.c:550:3: note: in expansion of macro âLM_DBGâ
- LM_DBG("We still have %d chunks pending on %p\n",
- ^~~~~~
- net/tcp_common.c:551:8: error: âstruct tcp_connectionâ has no member named âasyncâ
- con->async->pending, con);
- ^
- net/../dprint.h:319:46: note: in definition of macro âMY_SYSLOGâ
- _prefix LOG_PREFIX _fmt, __DP_FUNC, ##args);\
- ^~~~
- net/tcp_common.c:550:3: note: in expansion of macro âLM_DBGâ
- LM_DBG("We still have %d chunks pending on %p\n",
- ^~~~~~
- net/tcp_common.c:552:14: error: âstruct tcp_connectionâ has no member named âasyncâ
- memmove(con->async->chunks, con->async->chunks + i,
- ^~
- net/tcp_common.c:552:34: error: âstruct tcp_connectionâ has no member named âasyncâ
- memmove(con->async->chunks, con->async->chunks + i,
- ^~
- net/tcp_common.c:553:8: error: âstruct tcp_connectionâ has no member named âasyncâ
- con->async->pending * sizeof(struct tcp_async_chunk *));
- ^~
- net/tcp_common.c:554:6: error: âstruct tcp_connectionâ has no member named âasyncâ
- con->async->oldest = con->async->chunks[0]->ticks;
- ^~
- net/tcp_common.c:554:27: error: âstruct tcp_connectionâ has no member named âasyncâ
- con->async->oldest = con->async->chunks[0]->ticks;
- ^~
- net/tcp_common.c:557:6: error: âstruct tcp_connectionâ has no member named âasyncâ
- con->async->oldest = 0;
- ^~
- net/tcp_common.c: In function âtcp_async_get_chunkâ:
- net/tcp_common.c:526:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- Makefile.rules:25: recipe for target 'net/tcp_common.o' failed
- make[1]: *** [net/tcp_common.o] Error 1
- make[1]: Leaving directory '/usr/src/opensips-3.0.4'
- Press any key to return to menuconfig
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement