RE: [SPAM] - Re: 2.4 kernel build system, redhat 8.0/9 tricks and modulesbuilding... - Bayesian Filter detected spam

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > [root@amarie sch_edf-0.1]# make -C /usr/src/linux-2.4 SUBDIRS=`pwd`
> 
> first of all, this is wrong. Using "/usr/src/<anything>" to 
> build modules against is incorrect. You *have* to use 
> /lib/modules/`uname -r`/build. (Yes I know in the 2.4 kernel 
> RPMS that is a symlink into /usr/src/ but that's not the 
> point, that is going to change)
Ok, I will pay attention on this.

> 
> > scripts/split-include
> > scripts/split-include.c
> > scripts/split-include include/linux/autoconf.h 
> include/config make -r 
> > -f tmp_include_depends all
> > make[1]: Entering directory `/usr/src/linux-2.4.18-14'
> > make[1]: tmp_include_depends: No such file or directory
> > make[1]: *** No rule to make target `tmp_include_depends'.  Stop.
> > make[1]: Leaving directory `/usr/src/linux-2.4.18-14'
> > make: *** [tmp_include_depends] Error 2
> 
> 
> the 2.4.18-14 kernel missed that file yes; later kernels 
> added that omitted file. (You shouldn't use 2.4.18-14 at all 
> anyway, waaaaaay too many security issues have been fixed since).
I don't care any security reasons on my box in our gently environment :)
The tmp_include_depends file didn't shipped in 2.4.18-24.8.0 kernel from
my distribution CD as well. As I know that fact is true about all
kernels I worked with...
So where and what to read about building third-party modules against
redhat kernels? Please point me to them.

Dimitry.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux