Messages in this thread | | | Date | Fri, 25 Feb 2000 09:22:51 -0500 (EST) | From | Jeff Layton <> | Subject | Re: 2.3.47 build barfing on mtrr.c |
| |
In case no-one has posted the solution to this yet, it is a typo in mtrr.c. Change the line that starts with '#ifdev' to '#ifdef' in mtrr.c. -- Jeff
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. > >
- 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/
| |