Missing modversions.h












1















I`m trying to compile a program, which was actually designed for Linux OS based on kernel 2.4.

When I run the make command, I get the following error



/lib/modules/3.8.0-29-generic/build/include/linux/modversions.h: No such file or directory


So I tried to locate the file modversions.h manually by running the command



sudo find / modversions.h


but I could not find any.



I tried the following



cd /usr/src/linux-headers-3.8.0-29/include/linux
make update-modverfile


but got the following error



make: *** No rule to make target `update-modverfile'.  Stop.


I also googled about this missing file and it looks to me like this is a common issue with many applications designed for older kernels, so what possibly I could do to fix this issue.



Please to provide your suggestions.




Other Informations



OS: Ubuntu 12.04

Kernel Version: 3.8.0-29

Program I`m trying to compile:AODV-UU











share|improve this question























  • "sudo find / modversions.h" this is wrong me thinks. You need to tell find to also echo the result so it needs to be sudo find / -name modversions.h -print

    – Rinzwind
    Dec 11 '13 at 14:07


















1















I`m trying to compile a program, which was actually designed for Linux OS based on kernel 2.4.

When I run the make command, I get the following error



/lib/modules/3.8.0-29-generic/build/include/linux/modversions.h: No such file or directory


So I tried to locate the file modversions.h manually by running the command



sudo find / modversions.h


but I could not find any.



I tried the following



cd /usr/src/linux-headers-3.8.0-29/include/linux
make update-modverfile


but got the following error



make: *** No rule to make target `update-modverfile'.  Stop.


I also googled about this missing file and it looks to me like this is a common issue with many applications designed for older kernels, so what possibly I could do to fix this issue.



Please to provide your suggestions.




Other Informations



OS: Ubuntu 12.04

Kernel Version: 3.8.0-29

Program I`m trying to compile:AODV-UU











share|improve this question























  • "sudo find / modversions.h" this is wrong me thinks. You need to tell find to also echo the result so it needs to be sudo find / -name modversions.h -print

    – Rinzwind
    Dec 11 '13 at 14:07
















1












1








1








I`m trying to compile a program, which was actually designed for Linux OS based on kernel 2.4.

When I run the make command, I get the following error



/lib/modules/3.8.0-29-generic/build/include/linux/modversions.h: No such file or directory


So I tried to locate the file modversions.h manually by running the command



sudo find / modversions.h


but I could not find any.



I tried the following



cd /usr/src/linux-headers-3.8.0-29/include/linux
make update-modverfile


but got the following error



make: *** No rule to make target `update-modverfile'.  Stop.


I also googled about this missing file and it looks to me like this is a common issue with many applications designed for older kernels, so what possibly I could do to fix this issue.



Please to provide your suggestions.




Other Informations



OS: Ubuntu 12.04

Kernel Version: 3.8.0-29

Program I`m trying to compile:AODV-UU











share|improve this question














I`m trying to compile a program, which was actually designed for Linux OS based on kernel 2.4.

When I run the make command, I get the following error



/lib/modules/3.8.0-29-generic/build/include/linux/modversions.h: No such file or directory


So I tried to locate the file modversions.h manually by running the command



sudo find / modversions.h


but I could not find any.



I tried the following



cd /usr/src/linux-headers-3.8.0-29/include/linux
make update-modverfile


but got the following error



make: *** No rule to make target `update-modverfile'.  Stop.


I also googled about this missing file and it looks to me like this is a common issue with many applications designed for older kernels, so what possibly I could do to fix this issue.



Please to provide your suggestions.




Other Informations



OS: Ubuntu 12.04

Kernel Version: 3.8.0-29

Program I`m trying to compile:AODV-UU








kernel compiling make






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 11 '13 at 14:04









Ashiq IrphanAshiq Irphan

63237




63237













  • "sudo find / modversions.h" this is wrong me thinks. You need to tell find to also echo the result so it needs to be sudo find / -name modversions.h -print

    – Rinzwind
    Dec 11 '13 at 14:07





















  • "sudo find / modversions.h" this is wrong me thinks. You need to tell find to also echo the result so it needs to be sudo find / -name modversions.h -print

    – Rinzwind
    Dec 11 '13 at 14:07



















"sudo find / modversions.h" this is wrong me thinks. You need to tell find to also echo the result so it needs to be sudo find / -name modversions.h -print

– Rinzwind
Dec 11 '13 at 14:07







"sudo find / modversions.h" this is wrong me thinks. You need to tell find to also echo the result so it needs to be sudo find / -name modversions.h -print

– Rinzwind
Dec 11 '13 at 14:07












1 Answer
1






active

oldest

votes


















1














According to Ubuntu's package search, the file you are looking for is part of the package linux-headers-3.8.0-29-generic. Its full path, according to that package's
file list, is



/usr/src/linux-headers-3.8.0-29-generic/include/config/modversions.h





share|improve this answer



















  • 1





    I wonder if the Makefile is looking in /lib/modules/3.8.0-29-generic/build/include/linux when it is actually, as drc points out, in /usr/src/linux-headers-3.8.0-29-generic/include/config. I suggest you check the Makefile for the program you are trying to compile. Perhaps there is a variable you can declare to specify where to look; i.e. in config and not linux. Or perhaps you can simply edit the Makefile.

    – chili555
    Dec 11 '13 at 14:17











  • drc thanks for the reply, I`m relatively new to programming in Linux, Package Search is really helpful

    – Ashiq Irphan
    Dec 11 '13 at 16:58











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f389245%2fmissing-modversions-h%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









1














According to Ubuntu's package search, the file you are looking for is part of the package linux-headers-3.8.0-29-generic. Its full path, according to that package's
file list, is



/usr/src/linux-headers-3.8.0-29-generic/include/config/modversions.h





share|improve this answer



















  • 1





    I wonder if the Makefile is looking in /lib/modules/3.8.0-29-generic/build/include/linux when it is actually, as drc points out, in /usr/src/linux-headers-3.8.0-29-generic/include/config. I suggest you check the Makefile for the program you are trying to compile. Perhaps there is a variable you can declare to specify where to look; i.e. in config and not linux. Or perhaps you can simply edit the Makefile.

    – chili555
    Dec 11 '13 at 14:17











  • drc thanks for the reply, I`m relatively new to programming in Linux, Package Search is really helpful

    – Ashiq Irphan
    Dec 11 '13 at 16:58
















1














According to Ubuntu's package search, the file you are looking for is part of the package linux-headers-3.8.0-29-generic. Its full path, according to that package's
file list, is



/usr/src/linux-headers-3.8.0-29-generic/include/config/modversions.h





share|improve this answer



















  • 1





    I wonder if the Makefile is looking in /lib/modules/3.8.0-29-generic/build/include/linux when it is actually, as drc points out, in /usr/src/linux-headers-3.8.0-29-generic/include/config. I suggest you check the Makefile for the program you are trying to compile. Perhaps there is a variable you can declare to specify where to look; i.e. in config and not linux. Or perhaps you can simply edit the Makefile.

    – chili555
    Dec 11 '13 at 14:17











  • drc thanks for the reply, I`m relatively new to programming in Linux, Package Search is really helpful

    – Ashiq Irphan
    Dec 11 '13 at 16:58














1












1








1







According to Ubuntu's package search, the file you are looking for is part of the package linux-headers-3.8.0-29-generic. Its full path, according to that package's
file list, is



/usr/src/linux-headers-3.8.0-29-generic/include/config/modversions.h





share|improve this answer













According to Ubuntu's package search, the file you are looking for is part of the package linux-headers-3.8.0-29-generic. Its full path, according to that package's
file list, is



/usr/src/linux-headers-3.8.0-29-generic/include/config/modversions.h






share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 11 '13 at 14:10









drcdrc

2,725916




2,725916








  • 1





    I wonder if the Makefile is looking in /lib/modules/3.8.0-29-generic/build/include/linux when it is actually, as drc points out, in /usr/src/linux-headers-3.8.0-29-generic/include/config. I suggest you check the Makefile for the program you are trying to compile. Perhaps there is a variable you can declare to specify where to look; i.e. in config and not linux. Or perhaps you can simply edit the Makefile.

    – chili555
    Dec 11 '13 at 14:17











  • drc thanks for the reply, I`m relatively new to programming in Linux, Package Search is really helpful

    – Ashiq Irphan
    Dec 11 '13 at 16:58














  • 1





    I wonder if the Makefile is looking in /lib/modules/3.8.0-29-generic/build/include/linux when it is actually, as drc points out, in /usr/src/linux-headers-3.8.0-29-generic/include/config. I suggest you check the Makefile for the program you are trying to compile. Perhaps there is a variable you can declare to specify where to look; i.e. in config and not linux. Or perhaps you can simply edit the Makefile.

    – chili555
    Dec 11 '13 at 14:17











  • drc thanks for the reply, I`m relatively new to programming in Linux, Package Search is really helpful

    – Ashiq Irphan
    Dec 11 '13 at 16:58








1




1





I wonder if the Makefile is looking in /lib/modules/3.8.0-29-generic/build/include/linux when it is actually, as drc points out, in /usr/src/linux-headers-3.8.0-29-generic/include/config. I suggest you check the Makefile for the program you are trying to compile. Perhaps there is a variable you can declare to specify where to look; i.e. in config and not linux. Or perhaps you can simply edit the Makefile.

– chili555
Dec 11 '13 at 14:17





I wonder if the Makefile is looking in /lib/modules/3.8.0-29-generic/build/include/linux when it is actually, as drc points out, in /usr/src/linux-headers-3.8.0-29-generic/include/config. I suggest you check the Makefile for the program you are trying to compile. Perhaps there is a variable you can declare to specify where to look; i.e. in config and not linux. Or perhaps you can simply edit the Makefile.

– chili555
Dec 11 '13 at 14:17













drc thanks for the reply, I`m relatively new to programming in Linux, Package Search is really helpful

– Ashiq Irphan
Dec 11 '13 at 16:58





drc thanks for the reply, I`m relatively new to programming in Linux, Package Search is really helpful

– Ashiq Irphan
Dec 11 '13 at 16:58


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f389245%2fmissing-modversions-h%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局