Re: 2.3.47 build barfing on mtrr.c

From: Pete Toscano (ptoscano@netsol.com)
Date: Thu Feb 24 2000 - 16:12:45 EST


jeff,

there's a typo in mtrr.c. goto line 1841 and make change the directive
to "define". i don't remember what the misspelled word is -- my 2.3.47
box is at home -- but it's just one letter off.

hth,
pete

On Thu, 24 Feb 2000, Jeff Layton wrote:

> I saw this come across yesterday, but no resolution. I've been having
> problems building the latest dev kernel. I'm running the frozen debian
> potato release, and the build seems to have a problem with mtrr.c. Looks
> like it may be a problem with improperly nested #if tags:
>
> make -C arch/i386/kernel
> make[1]: Entering directory `/usr/src/linux/arch/i386/kernel'
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strict-aliasing -pipe
> -mpreferred-stack-boundary=2 -DCPU=686 -march=pentiumpro -mpentiumpro
> -malign-functions=4 -fschedule-insns2 -mwide-multiply
> -fexpensive-optimizations -march=i686 -DEXPORT_SYMTAB -c i386_ksyms.c
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strict-aliasing -pipe
> -mpreferred-stack-boundary=2 -DCPU=686 -march=pentiumpro -mpentiumpro
> -malign-functions=4 -fschedule-insns2 -mwide-multiply
> -fexpensive-optimizations -march=i686 -DEXPORT_SYMTAB -c mtrr.c
> mtrr.c:1845: unbalanced `#endif'
> mtrr.c: In function `mtrr_init':
> mtrr.c:1841: undefined or invalid # directive
> make[1]: *** [mtrr.o] Error 1
> make[1]: Leaving directory `/usr/src/linux/arch/i386/kernel'
> make: *** [_dir_arch/i386/kernel] Error 2
>
> I've also included my kernel config. Please let me know if you have
> solutions -- I'll be happy to help test them. Also, please let me know if
> you need other info about my config. The kernel builds fine if I turn off
> MTRR support.
[snip]

-- 
Pete Toscano      h:sigsegv@psinet.com        w:ptoscano@netsol.com
GPG fingerprint: AE5C 18E4 D069 76D3 9B9C  D226 D86A 522F 446C 767A


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:11 EST