Compile error in 2.6.10-bk3 in floppy.c
I get the following error building 2.6.10-bk3:
drivers/block/floppy.c: In function `init_module':drivers/block/floppy.c:4598: error: syntax error before "UTS_RELEASE" make[2]: *** [drivers/block/floppy.o] Error 1
make[1]: *** [drivers/block] Error 2
make: *** [drivers] Error 2
-bk3 (and -bk2) have a patch that removes
#include <linux/version.h>
from floppy.c, which apparently makes UTS_RELEASE undefined.
Putting the #include back in fixes the error.
I can provide config/machine info if needed.
Quoted 5 lines · Richard McCreedy
drivers/block/floppy.c: In function `init_module':drivers/block/floppy.c:4598: error: syntax error before "UTS_RELEASE" make[2]: *** [drivers/block/floppy.o] Error 1
make[1]: *** [drivers/block] Error 2
make: *** [drivers] Error 2
Problem is known and a patch has been written - see thread with subject "[BK PATCH] fix floppy build" .
Signature · 1 line
Jesper Juhl