Error: TCA_HTB_PAD undeclared while building kernel
up vote
1
down vote
favorite
I was trying to build the kernel following this tutorial (I'm on Ubuntu). When executing the "make" command, I got an error:
net/sched/sch_htb.c: In function ‘htb_dump_class’:
net/sched/sch_htb.c:1115:10: error: ‘TCA_HTB_PAD’ undeclared (first use in this function)
TCA_HTB_PAD))
^
net/sched/sch_htb.c:1115:10: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:300: recipe for target 'net/sched/sch_htb.o' failed
make[2]: *** [net/sched/sch_htb.o] Error 1
scripts/Makefile.build:553: recipe for target 'net/sched' failed
make[1]: *** [net/sched] Error 2
Makefile:1002: recipe for target 'net' failed
make: *** [net] Error 2
This error has already been reported on this link (I also build this kernel for kaunetem): ‘‘TCA_HTB_PAD’ undeclared’ undeclared but the user had no answer to his problem.
ubuntu kernel compiling make
add a comment |
up vote
1
down vote
favorite
I was trying to build the kernel following this tutorial (I'm on Ubuntu). When executing the "make" command, I got an error:
net/sched/sch_htb.c: In function ‘htb_dump_class’:
net/sched/sch_htb.c:1115:10: error: ‘TCA_HTB_PAD’ undeclared (first use in this function)
TCA_HTB_PAD))
^
net/sched/sch_htb.c:1115:10: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:300: recipe for target 'net/sched/sch_htb.o' failed
make[2]: *** [net/sched/sch_htb.o] Error 1
scripts/Makefile.build:553: recipe for target 'net/sched' failed
make[1]: *** [net/sched] Error 2
Makefile:1002: recipe for target 'net' failed
make: *** [net] Error 2
This error has already been reported on this link (I also build this kernel for kaunetem): ‘‘TCA_HTB_PAD’ undeclared’ undeclared but the user had no answer to his problem.
ubuntu kernel compiling make
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I was trying to build the kernel following this tutorial (I'm on Ubuntu). When executing the "make" command, I got an error:
net/sched/sch_htb.c: In function ‘htb_dump_class’:
net/sched/sch_htb.c:1115:10: error: ‘TCA_HTB_PAD’ undeclared (first use in this function)
TCA_HTB_PAD))
^
net/sched/sch_htb.c:1115:10: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:300: recipe for target 'net/sched/sch_htb.o' failed
make[2]: *** [net/sched/sch_htb.o] Error 1
scripts/Makefile.build:553: recipe for target 'net/sched' failed
make[1]: *** [net/sched] Error 2
Makefile:1002: recipe for target 'net' failed
make: *** [net] Error 2
This error has already been reported on this link (I also build this kernel for kaunetem): ‘‘TCA_HTB_PAD’ undeclared’ undeclared but the user had no answer to his problem.
ubuntu kernel compiling make
I was trying to build the kernel following this tutorial (I'm on Ubuntu). When executing the "make" command, I got an error:
net/sched/sch_htb.c: In function ‘htb_dump_class’:
net/sched/sch_htb.c:1115:10: error: ‘TCA_HTB_PAD’ undeclared (first use in this function)
TCA_HTB_PAD))
^
net/sched/sch_htb.c:1115:10: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:300: recipe for target 'net/sched/sch_htb.o' failed
make[2]: *** [net/sched/sch_htb.o] Error 1
scripts/Makefile.build:553: recipe for target 'net/sched' failed
make[1]: *** [net/sched] Error 2
Makefile:1002: recipe for target 'net' failed
make: *** [net] Error 2
This error has already been reported on this link (I also build this kernel for kaunetem): ‘‘TCA_HTB_PAD’ undeclared’ undeclared but the user had no answer to his problem.
ubuntu kernel compiling make
ubuntu kernel compiling make
edited yesterday
Rui F Ribeiro
38.7k1479128
38.7k1479128
asked Apr 3 '17 at 7:48
M. Le Roch
61
61
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
This issue was due to the kernel compatibility issue for the package that I was using. When I used kernel 4.5, it was okay.
It's a little unclear what your answer means. Are you saying that you encountered the same error as OP and found a fix? If so you might want to specify that clearly as well as provide additional details (What package were you using? What version failed? Etc.)
– B Layer
Aug 3 '17 at 9:16
I was building the kernel with some additional tools into the kernel. That tools did not had support for kernel 4.7 and it was supported till kernel 4.5 only.
– Ashish Kurian
Aug 3 '17 at 11:04
meta.stackexchange.com/questions/7656/…
– B Layer
Aug 3 '17 at 18:11
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f355554%2ferror-tca-htb-pad-undeclared-while-building-kernel%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
This issue was due to the kernel compatibility issue for the package that I was using. When I used kernel 4.5, it was okay.
It's a little unclear what your answer means. Are you saying that you encountered the same error as OP and found a fix? If so you might want to specify that clearly as well as provide additional details (What package were you using? What version failed? Etc.)
– B Layer
Aug 3 '17 at 9:16
I was building the kernel with some additional tools into the kernel. That tools did not had support for kernel 4.7 and it was supported till kernel 4.5 only.
– Ashish Kurian
Aug 3 '17 at 11:04
meta.stackexchange.com/questions/7656/…
– B Layer
Aug 3 '17 at 18:11
add a comment |
up vote
0
down vote
This issue was due to the kernel compatibility issue for the package that I was using. When I used kernel 4.5, it was okay.
It's a little unclear what your answer means. Are you saying that you encountered the same error as OP and found a fix? If so you might want to specify that clearly as well as provide additional details (What package were you using? What version failed? Etc.)
– B Layer
Aug 3 '17 at 9:16
I was building the kernel with some additional tools into the kernel. That tools did not had support for kernel 4.7 and it was supported till kernel 4.5 only.
– Ashish Kurian
Aug 3 '17 at 11:04
meta.stackexchange.com/questions/7656/…
– B Layer
Aug 3 '17 at 18:11
add a comment |
up vote
0
down vote
up vote
0
down vote
This issue was due to the kernel compatibility issue for the package that I was using. When I used kernel 4.5, it was okay.
This issue was due to the kernel compatibility issue for the package that I was using. When I used kernel 4.5, it was okay.
answered Aug 3 '17 at 8:41
Ashish Kurian
214
214
It's a little unclear what your answer means. Are you saying that you encountered the same error as OP and found a fix? If so you might want to specify that clearly as well as provide additional details (What package were you using? What version failed? Etc.)
– B Layer
Aug 3 '17 at 9:16
I was building the kernel with some additional tools into the kernel. That tools did not had support for kernel 4.7 and it was supported till kernel 4.5 only.
– Ashish Kurian
Aug 3 '17 at 11:04
meta.stackexchange.com/questions/7656/…
– B Layer
Aug 3 '17 at 18:11
add a comment |
It's a little unclear what your answer means. Are you saying that you encountered the same error as OP and found a fix? If so you might want to specify that clearly as well as provide additional details (What package were you using? What version failed? Etc.)
– B Layer
Aug 3 '17 at 9:16
I was building the kernel with some additional tools into the kernel. That tools did not had support for kernel 4.7 and it was supported till kernel 4.5 only.
– Ashish Kurian
Aug 3 '17 at 11:04
meta.stackexchange.com/questions/7656/…
– B Layer
Aug 3 '17 at 18:11
It's a little unclear what your answer means. Are you saying that you encountered the same error as OP and found a fix? If so you might want to specify that clearly as well as provide additional details (What package were you using? What version failed? Etc.)
– B Layer
Aug 3 '17 at 9:16
It's a little unclear what your answer means. Are you saying that you encountered the same error as OP and found a fix? If so you might want to specify that clearly as well as provide additional details (What package were you using? What version failed? Etc.)
– B Layer
Aug 3 '17 at 9:16
I was building the kernel with some additional tools into the kernel. That tools did not had support for kernel 4.7 and it was supported till kernel 4.5 only.
– Ashish Kurian
Aug 3 '17 at 11:04
I was building the kernel with some additional tools into the kernel. That tools did not had support for kernel 4.7 and it was supported till kernel 4.5 only.
– Ashish Kurian
Aug 3 '17 at 11:04
meta.stackexchange.com/questions/7656/…
– B Layer
Aug 3 '17 at 18:11
meta.stackexchange.com/questions/7656/…
– B Layer
Aug 3 '17 at 18:11
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f355554%2ferror-tca-htb-pad-undeclared-while-building-kernel%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown