Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Troubles compiling kernel @ mm/memory.c 1

Status
Not open for further replies.

SartriX

Programmer
Feb 5, 2002
2
NL
Problem: while 'make bzImage' can't compile mm/memory.c

For installing HTB (adv routing/queing), i needed to patch the kernel source. My current kernel is 2.4.2-2 form RedHat 7.1. I downloaded the complete kernel 2.4.17 and patched it with htb2_2.4.17.diff. ( )
After a 'make config' and 'make dep' the 'make bzImage' fails while compiling mm/memory.c at line 292 && 361 (and some others but that's due to these). In these functionheaders (zap_pte_range and zap_pmd_range) the first parameter is apparently of an unknown type namely mmu_gather_t.

My best guess is that my config is too tight... the host is a Compaq Pentium100 with (correctly configured) onboard LAN and two (also correctly configured) LAN boards. No special chipsets so I answered no to most bugfixes and refrained form x-support, sound and mouse support.

Instead of endlessly trying different configs I got here to ask you guys. If you need more info... ask.
 
i always thought you had to run 'make clean' after 'make dep'
 
My deepest thanx... seemed the file was damaged and unreadable. All is OK no...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top