On 19.11.2020 18:36, Alain Bieuzent wrote:
Trying to migrate from 3.0.3 to 3.0.4, but it failed :
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,
^~~~~~~~~~~~~~~~~~~~
Hi, Alain!
Thank you for the hints - we understand the issue now.
To move on with your work, simply delete the files which upset the
compiler [*], then OpenSIPS should build fine:
rm -fr net/tcp_common.[ch]
[*]: this is a special situation, since these files seem to have been
erroneously included in the tarball. Do not make a habit out of solving
compilation problems using this technique!
Cheers,
--
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users