error with 2.2.18 ?

Der Herr Hofrat der.herr at hofr.at
Sat Feb 10 03:50:46 EST 2001


Hi !

 pulled the latest version off cvs and got the folowing error with compiling
 against 2.2.18 , did I screw it up or are otheres seeing the same problem ?

make[2]: Leaving directory `/usr/src/linux/drivers/video'
make -C mtd modules
make[2]: Entering directory `/usr/src/linux/drivers/mtd'
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE   -DEXPORT_SYMTAB -c mtdcore.c
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE   -c -o doc1000.o doc1000.c
doc1000.c:87: warning: #warning This is definitely not SMP safe. Lock the paging mechanism.
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE   -c -o doc2000.o doc2000.c
doc2000.c:1090: parse error before `cleanup_doc2000'
doc2000.c:1091: warning: return-type defaults to `int'
doc2000.c: In function `cleanup_doc2000':
doc2000.c:1106: warning: control reaches end of non-void function
doc2000.c: In function `__cleanup_module_inline':
doc2000.c:1108: warning: return from incompatible pointer type
doc2000.c: At top level:
doc2000.c:1110: warning: type defaults to `int' in declaration of `cleanup_module'
doc2000.c:1110: warning: parameter names (without types) in function declaration
doc2000.c:1110: conflicting types for `cleanup_module'
doc2000.c:1108: previous declaration of `cleanup_module'
doc2000.c:1110: warning: data definition has no type or storage class
doc2000.c:1111: warning: type defaults to `int' in declaration of `init_module'
doc2000.c:1111: warning: parameter names (without types) in function declaration
doc2000.c:1111: warning: data definition has no type or storage class
make[2]: *** [doc2000.o] Error 1
make[2]: Leaving directory `/usr/src/linux/drivers/mtd'
make[1]: *** [_modsubdir_mtd] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_mod_drivers] Error 2



thx !
hofrat


To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list