Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2024 14:15:40 -0500
From:      Michael Butler <imb@protected-networks.net>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   commit f74352f breaks world
Message-ID:  <193cf8bb-0549-43bb-8f30-9e994b7e0d0f@protected-networks.net>
In-Reply-To: <1ef71804-4227-4e3a-bfb5-b05c9f525181@protected-networks.net>
References:  <1ef71804-4227-4e3a-bfb5-b05c9f525181@protected-networks.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Moving these definitions breaks world outside the kernel :-(

building shared library libmapper_std.so.5
Building 
/usr/obj/usr/src/amd64.amd64/lib/libiconv_modules/mapper_zone/libmapper_zone.so.5
building shared library libmapper_zone.so.5
Building /usr/obj/usr/src/amd64.amd64/lib/libstats/tcp_stats.o
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:137:38: error: use 
of undeclared identifier 'CC_ECN'
   137 |                 STATS_VSS_DVHIST32_USR(HBKTS(DVBKT(CC_ECN), 
DVBKT(CC_RTO),
       |                                                    ^
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:137:38: error: use 
of undeclared identifier 'CC_ECN'
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:137:53: error: use 
of undeclared identifier 'CC_RTO'
   137 |                 STATS_VSS_DVHIST32_USR(HBKTS(DVBKT(CC_ECN), 
DVBKT(CC_RTO),
       |                                                                   ^
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:137:53: error: use 
of undeclared identifier 'CC_RTO'
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:138:13: error: use 
of undeclared identifier 'CC_RTO_ERR'
   138 |                     DVBKT(CC_RTO_ERR), DVBKT(CC_NDUPACK)), 0)
       |                           ^
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:138:13: error: use 
of undeclared identifier 'CC_RTO_ERR'
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:138:32: error: use 
of undeclared identifier 'CC_NDUPACK'
   138 |                     DVBKT(CC_RTO_ERR), DVBKT(CC_NDUPACK)), 0)
       |                                              ^
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:138:32: error: use 
of undeclared identifier 'CC_NDUPACK'
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:137:38: error: use 
of undeclared identifier 'CC_ECN'
   137 |                 STATS_VSS_DVHIST32_USR(HBKTS(DVBKT(CC_ECN), 
DVBKT(CC_RTO),
       |                                                    ^
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:137:38: error: use 
of undeclared identifier 'CC_ECN'
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:137:53: error: use 
of undeclared identifier 'CC_RTO'
   137 |                 STATS_VSS_DVHIST32_USR(HBKTS(DVBKT(CC_ECN), 
DVBKT(CC_RTO),
       |                                                                   ^
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:137:53: error: use 
of undeclared identifier 'CC_RTO'
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:138:13: error: use 
of undeclared identifier 'CC_RTO_ERR'
   138 |                     DVBKT(CC_RTO_ERR), DVBKT(CC_NDUPACK)), 0)
       |                           ^
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:138:13: error: use 
of undeclared identifier 'CC_RTO_ERR'
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:138:32: error: use 
of undeclared identifier 'CC_NDUPACK'
   138 |                     DVBKT(CC_RTO_ERR), DVBKT(CC_NDUPACK)), 0)
       |                                              ^
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:138:32: error: use 
of undeclared identifier 'CC_NDUPACK'
/usr/src/lib/libstats/../../sys/netinet/tcp_stats.c:142:6: error: 
invalid application of 'sizeof' to an incomplete type 'struct voistatspec[]'
   142 |             NVSS(vss_congsig), vss_congsig, 0);
       |             ^~~~~~~~~~~~~~~~~
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/stats.h:440:32: note: 
expanded from macro 'NVSS'
   440 | #define NVSS(vss_slots) (sizeof((vss_slots)) / sizeof(struct 
voistatspec))
       |                                ^~~~~~~~~~~~~
17 errors generated.
*** [tcp_stats.o] Error code 1

make[5]: stopped in /usr/src/lib/libstats
.ERROR_TARGET='tcp_stats.o'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?193cf8bb-0549-43bb-8f30-9e994b7e0d0f>