[2.3.47]: Compile error in mtrr.c

From: Phil Brutsche (pbrutsch@creighton.edu)
Date: Mon Feb 21 2000 - 01:11:36 EST


This is the compile error:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fn o-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -DCPU=686 -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

The error is this line:

#ifdev CONFIG_DEVFS_FS

The fix, I think, is obvious :)

-- 
----------------------------------------------------------------------
Phil Brutsche					pbrutsch@creighton.edu

"There are two things that are infinite; Human stupidity and the universe. And I'm not sure about the universe." - Albert Einstein

- 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 : Wed Feb 23 2000 - 21:00:26 EST