On Tue, Aug 12, 2008 at 08:38:59PM -0700, Greg KH wrote:
I have not looked into the particular error but what happens is
that u_ether.o is used by more than one module so kbuild does
not know what value to assign the KBUILD_MODNAME and therefore
decide not to assign KBUILD_MODNAME at all.
And because any usage of KBUILD_MODNAME is anyway flawed in u_ether.c
as we do not know for what module it is being used it makes sense for
kbuild to do so.
The above error happens because u_ether.c uses something that require KBUILD_MODNAME
to be define.
So the correct fix is to avid usage of this macro in the source.
Note: The old error Andrew mentions was caused by alpha indirectly
pulling in a inline function that used KBUILD_MODNAME - something
that did not happen on the other architectures.