missing elfconfig.h

From: Rich Chase
Date: Fri Jun 08 2007 - 12:21:00 EST


An Apparent bug:
version 2.6.21.3
missing the file ./scripts/mod/elfconfig.h

I noticed this when trying to compile a 3rd party
module. Maybe this is intended. Not sure.

I discovered this when I attempted to compile modpost.c
in the same directory. The following is the output:

#> make modpost
cc modpost.c -o modpost
In file included from modpost.c:15:
modpost.h:12:23: error: elfconfig.h: No such file or
directory
modpost.c: In function âhandle_modversionsâ:
modpost.c:436: error: âMODULE_SYMBOL_PREFIXâ undeclared
(first use in this function)
modpost.c:436: error: (Each undeclared identifier is
reported only once
modpost.c:436: error: for each function it appears in.)
modpost.c:436: error: expected â)â before string
constant
modpost.c:436: error: too few arguments to
function âmemcmpâ
modpost.c:438: error: expected â)â before string
constant
modpost.c:451: error: expected â)â before string
constant
modpost.c:482: error: expected â)â before string
constant
modpost.c:482: error: too few arguments to
function âmemcmpâ
modpost.c:483: error: expected â)â before string
constant
modpost.c:486: error: expected â)â before string
constant
modpost.c:488: error: expected â)â before string
constant
make: *** [modpost] Error 1


Regards,
Rich Chase
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/