[OpenSIPS-Users] Upgrading from 3.0.3 to 3.0.4 failed - [net/tcp_common.o] Error 1
Liviu Chircu
liviu at opensips.org
Fri Nov 27 09:50:26 EST 2020
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20201127/6330ebcf/attachment.html>
More information about the Users
mailing list