[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #26459 [Core Tor/Tor]: netinet/tcp.h autoconf test is missing u_int32_t on cygwin
#26459: netinet/tcp.h autoconf test is missing u_int32_t on cygwin
------------------------------+------------------------------
Reporter: teor | Owner: (none)
Type: defect | Status: new
Priority: Low | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Minor | Keywords:
Actual Points: | Parent ID: #26356
Points: | Reviewer:
Sponsor: |
------------------------------+------------------------------
I think we need to add sys/types.h on Cygwin, and maybe BSD/macOS as well.
But if this configure test is only for KIST, and KIST only works on Linux,
maybe we don't need to fix this issue.
{{{
configure:9774: checking for struct tcp_info.tcpi_unacked
configure:9774: gcc -c -g -O2 -I${top_srcdir}/src/common conftest.c >&5
In file included from conftest.c:77:
/usr/include/netinet/tcp.h:42:9: error: unknown type name 'u_int32_t'
typedef u_int32_t tcp_seq;
^~~~~~~~~
(similar errors)
configure:9774: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tor"
| #define PACKAGE_TARNAME "tor"
| #define PACKAGE_VERSION "0.3.3.7"
(similar macros)
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
(similar macros)
| /* end confdefs.h. */
| #include <netinet/tcp.h>
|
| int
| main ()
| {
| static struct tcp_info ac_aggr;
| if (ac_aggr.tcpi_unacked)
| return 0;
| ;
| return 0;
| }
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26459>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs