Re: Attempting to update to latest git get failure if TC command is set?

2024-04-08 Thread Michael D. Setzer II
On 9 Apr 2024 at 7:17, Baruch Siach wrote:

From:   Baruch Siach 
To: mi...@guam.net
Copies to:  busybox@busybox.net
Subject:Re: Attempting to update to latest git get failure if 
TC command is
set?
Date sent:  Tue, 09 Apr 2024 07:17:19 +0300

> Hi Michael,
> 
> On Tue, Apr 09 2024, Michael D. Setzer II wrote:
> > On 9 Apr 2024 at 8:04, Michael D. Setzer II wrote:
> >> Have many times updated with no issues, but just tried, and build 
> >> with TC options set it fails to compile.
> >> 
> >> Manually go into .config and comment out the two lines with TC 
> >> and then rerun make and it builds without issue.
> >> 
> >> The git from 3/30 worked fine, but from 4/9 has error.
> >> 
> >> My build machine in Guam, but am currently accessing it from 
> >> Nevada, where I am taking care of mom..
> >
> > These are the errors it gets if the two TC options are set in the 
> > .config.
> >
> > networking/tc.c: In function ‘cbq_print_opt’:
> > networking/tc.c:236:27: error: ‘TCA_CBQ_MAX’ undeclared (first use in this 
> > function); did you mean ‘TCA_CBS_MAX’?
> >   236 | struct rtattr *tb[TCA_CBQ_MAX+1];
> >   |   ^~~
> >   |   TCA_CBS_MAX
> 
> See https://bugs.busybox.net/show_bug.cgi?id=15934 .
> 
> baruch
> 

Didi the update again, and it prompted to add TC with the default 
as Y, so was added? Didn't have a link setup with TC, so removing 
it was no real issue. Just with make oldconfig answered N for the 
TC?

Thanks for info.



> -- 
>  ~. .~   Tk Open Systems
> =}ooO--U--Ooo{=
>- bar...@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -


++
 Michael D. Setzer II - Computer Science Instructor (Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 mailto:msetze...@gmx.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++



___
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox


Re: Attempting to update to latest git get failure if TC command is set?

2024-04-08 Thread Baruch Siach
Hi Michael,

On Tue, Apr 09 2024, Michael D. Setzer II wrote:
> On 9 Apr 2024 at 8:04, Michael D. Setzer II wrote:
>> Have many times updated with no issues, but just tried, and build 
>> with TC options set it fails to compile.
>> 
>> Manually go into .config and comment out the two lines with TC 
>> and then rerun make and it builds without issue.
>> 
>> The git from 3/30 worked fine, but from 4/9 has error.
>> 
>> My build machine in Guam, but am currently accessing it from 
>> Nevada, where I am taking care of mom..
>
> These are the errors it gets if the two TC options are set in the 
> .config.
>
> networking/tc.c: In function ‘cbq_print_opt’:
> networking/tc.c:236:27: error: ‘TCA_CBQ_MAX’ undeclared (first use in this 
> function); did you mean ‘TCA_CBS_MAX’?
>   236 | struct rtattr *tb[TCA_CBQ_MAX+1];
>   |   ^~~
>   |   TCA_CBS_MAX

See https://bugs.busybox.net/show_bug.cgi?id=15934 .

baruch

-- 
 ~. .~   Tk Open Systems
=}ooO--U--Ooo{=
   - bar...@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
___
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox


Re: Attempting to update to latest git get failure if TC command is set?

2024-04-08 Thread Michael D. Setzer II
On 9 Apr 2024 at 8:04, Michael D. Setzer II wrote:

From:   "Michael D. Setzer II" 
To: busybox@busybox.net
Date sent:  Tue, 09 Apr 2024 08:04:34 +1000
Subject:Attempting to update to latest git get failure if TC 
command is set?
Priority:   normal
Send reply to:  mi...@guam.net

> Have many times updated with no issues, but just tried, and build 
> with TC options set it fails to compile.
> 
> Manually go into .config and comment out the two lines with TC 
> and then rerun make and it builds without issue.
> 
> The git from 3/30 worked fine, but from 4/9 has error.
> 
> My build machine in Guam, but am currently accessing it from 
> Nevada, where I am taking care of mom..
> 

These are the errors it gets if the two TC options are set in the 
.config.

networking/tc.c: In function ‘cbq_print_opt’:
networking/tc.c:236:27: error: ‘TCA_CBQ_MAX’ undeclared (first use in this 
function); did you mean ‘TCA_CBS_MAX’?
  236 | struct rtattr *tb[TCA_CBQ_MAX+1];
  |   ^~~
  |   TCA_CBS_MAX
networking/tc.c:236:27: note: each undeclared identifier is reported only once 
for each function it appears in
networking/tc.c:249:16: error: ‘TCA_CBQ_RATE’ undeclared (first use in this 
function); did you mean ‘TCA_TBF_RATE64’?
  249 | if (tb[TCA_CBQ_RATE]) {
  |^~~~
  |TCA_TBF_RATE64
networking/tc.c:255:16: error: ‘TCA_CBQ_LSSOPT’ undeclared (first use in this 
function)
  255 | if (tb[TCA_CBQ_LSSOPT]) {
  |^~
networking/tc.c:256:61: error: invalid application of ‘sizeof’ to incomplete 
type ‘struct tc_cbq_lssopt’
  256 | if (RTA_PAYLOAD(tb[TCA_CBQ_LSSOPT]) < sizeof(*lss))
  | ^
networking/tc.c:261:16: error: ‘TCA_CBQ_WRROPT’ undeclared (first use in this 
function)
  261 | if (tb[TCA_CBQ_WRROPT]) {
  |^~
networking/tc.c:262:61: error: invalid application of ‘sizeof’ to incomplete 
type ‘struct tc_cbq_wrropt’
  262 | if (RTA_PAYLOAD(tb[TCA_CBQ_WRROPT]) < sizeof(*wrr))
  | ^
networking/tc.c:267:16: error: ‘TCA_CBQ_FOPT’ undeclared (first use in this 
function)
  267 | if (tb[TCA_CBQ_FOPT]) {
  |^~~~
networking/tc.c:268:59: error: invalid application of ‘sizeof’ to incomplete 
type ‘struct tc_cbq_fopt’
  268 | if (RTA_PAYLOAD(tb[TCA_CBQ_FOPT]) < sizeof(*fopt))
  |   ^
networking/tc.c:273:16: error: ‘TCA_CBQ_OVL_STRATEGY’ undeclared (first use in 
this function)
  273 | if (tb[TCA_CBQ_OVL_STRATEGY]) {
  |^~~~
networking/tc.c:274:67: error: invalid application of ‘sizeof’ to incomplete 
type ‘struct tc_cbq_ovl’
  274 | if (RTA_PAYLOAD(tb[TCA_CBQ_OVL_STRATEGY]) < 
sizeof(*ovl))
  |   ^
networking/tc.c:277:50: error: invalid application of ‘sizeof’ to incomplete 
type ‘struct tc_cbq_ovl’
  277 | (unsigned) sizeof(*ovl));
  |  ^
networking/tc.c:293:23: error: invalid use of undefined type ‘struct 
tc_cbq_lssopt’
  293 | if (lss && lss->flags) {
  |   ^~
networking/tc.c:296:24: error: invalid use of undefined type ‘struct 
tc_cbq_lssopt’
  296 | if (lss->flags&TCF_CBQ_LSS_BOUNDED) {
  |^~
networking/tc.c:296:32: error: ‘TCF_CBQ_LSS_BOUNDED’ undeclared (first use in 
this function)
  296 | if (lss->flags&TCF_CBQ_LSS_BOUNDED) {
  |^~~
networking/tc.c:300:24: error: invalid use of undefined type ‘struct 
tc_cbq_lssopt’
  300 | if (lss->flags&TCF_CBQ_LSS_ISOLATED) {
  |^~
networking/tc.c:300:32: error: ‘TCF_CBQ_LSS_ISOLATED’ undeclared (first use in 
this function)
  300 | if (lss->flags&TCF_CBQ_LSS_ISOLATED) {
  |^~~~
networking/tc.c:308:24: error: invalid use of undefined type ‘struct 
tc_cbq_wrropt’
  308 | if (wrr->priority != TC_CBQ_MAXPRIO)
  |^~
networking/tc.c:308:38: error: ‘TC_CBQ_MAXPRIO’ undeclared (first use in this 
function)
  308 | if (wrr->priority != TC_CBQ_MAXPRIO)
  |  ^~
networking/tc.c:309:46: error: invalid use of undefined type ‘struct 
tc_cbq_wrropt’
  309 | printf("prio %u", wrr->priority);
  |  ^~
networking/tc.c:313:43: