LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problems with make dep (https://www.linuxquestions.org/questions/linux-newbie-8/problems-with-make-dep-190356/)

hellixor 06-06-2004 12:09 PM

problems with make dep
 
hi all,

After spending an hour or so for a couple of days i finally figured out that my kenrnel source want installed. Now that i got that fixed and am went to compile a driver ig to a message that modversions.h was missing. From everything i have read on the web, i am supposed to run make dep in my source dirrectory. When i do this i get a message that make dep is unnecessary now . Thus, i cant get the modversion.h file and therefore no driver.

I would appreciate any help,
Hellixor

qwijibow 06-06-2004 01:15 PM

make dep is obsolete in 2.6 kernels.
if the instructions are telling you to 'make dep'
then the instructions are probably for a 2.4 kernel. which wont work.

hellixor 06-06-2004 02:52 PM

THen what do i need to do
 
Since make dep is obsolete in 2.6, how do i make the modversions.h file. what command should i run.

qwijibow 06-06-2004 03:37 PM

if i were you.... i would....

frst try...
make clean
make mrproper

if that doesnt work, also do...

make menuconfig
select load configureation from file, and load the config file in the /boot/ folver.
save and exit
make bzImage
make modules
make modules_install
make install

then boot your new kernel. that way you will definatly have a complete kernel tree (since you just compiled a whole kernel) and, your running kernel will perfectly match your source code.


All times are GMT -5. The time now is 10:59 PM.