On Tue, 18 Jan 2011 09:39:18 +0200 Or Gerlitz wrote: > Randy Dunlap wrote: > > It builds OK for me. > > okay, maybe something else is broken on my build environment, I'll send > you off list the compressed verbose build log, the problem I'm not spotting > is why LINUX_VERSION_CODE is defined to nothing in my env. I'm hitting this > error on drivers/scsi/gdth.c and some other code that look on that constant, > luckily there aren't many drivers doing that... Thanks for more data/details. There was something similar to this reported a few months ago, but nothing has been done about it. What shell are you using? Are you using any other build scripts that set an variable named VERSION ? See https://bugzilla.kernel.org/show_bug.cgi?id=16510 An alternative to the current generated version.h file was also suggested: echo "#define LINUX_VERSION_CODE KERNEL_VERSION($(VERSION), $(PATCHLEVEL), $(SUBLEVEL))" HTH. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html