+ make -s -j 1 CC=kgcc modules
objcopy: Warning: Output file cannot represent architecture UNKNOWN!
pd.c: In function `cleanup_module':
pd.c:590: warning: unused variable `gdp'
bpck6.c:294: warning: `init_module' defined but not used
generic_serial.c:1074: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1074: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1074: warning: data definition has no type or storage class
generic_serial.c:1075: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1075: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1075: warning: data definition has no type or storage class
generic_serial.c:1076: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1076: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1076: warning: data definition has no type or storage class
generic_serial.c:1077: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1077: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1077: warning: data definition has no type or storage class
generic_serial.c:1078: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1078: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1078: warning: data definition has no type or storage class
generic_serial.c:1079: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1079: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1079: warning: data definition has no type or storage class
generic_serial.c:1080: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1080: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1080: warning: data definition has no type or storage class
generic_serial.c:1081: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1081: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1081: warning: data definition has no type or storage class
generic_serial.c:1082: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1082: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1082: warning: data definition has no type or storage class
generic_serial.c:1083: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1083: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1083: warning: data definition has no type or storage class
generic_serial.c:1084: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1084: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1084: warning: data definition has no type or storage class
generic_serial.c:1085: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1085: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1085: warning: data definition has no type or storage class
generic_serial.c:1086: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1086: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1086: warning: data definition has no type or storage class
generic_serial.c:1087: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1087: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1087: warning: data definition has no type or storage class
generic_serial.c:1088: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1088: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1088: warning: data definition has no type or storage class
generic_serial.c:1089: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1089: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1089: warning: data definition has no type or storage class
generic_serial.c:1090: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1090: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
generic_serial.c:1090: warning: data definition has no type or storage class
make[2]: *** [generic_serial.o] Error 1
make[1]: *** [_modsubdir_char] Error 2
make: *** [_mod_drivers] Error 2
error: Bad exit status from /home/alane/rpm/tmp/rpm-tmp.33174 (%build)
[alane@wwweasel kernel-2.4.11]$ aid this_object
IS_THIS_OBJECT_TYPE linux/drivers/acpi/include/acmacros.h
linux/drivers/acpi/events/evregion.c
linux/drivers/acpi/utilities/{utcopy,utmisc,utobject}.c
this_object_must_be_defined_as_export_objs_in_the_Makefile
linux/include/linux/module.h
[alane@wwweasel kernel-2.4.11]$ cd linux/include/linux
[alane@wwweasel linux]$ xemacs module.h
[alane@wwweasel linux]$ aid EXPORT_SYMTAB
EXPORT_SYMTAB module.h
EXPORT_SYMTAB_STROPS ../asm-sparc/string.h ../asm-sparc64/string.h
../../arch/ppc/kernel/ppc_ksyms.c ../../arch/sparc/kernel/sparc_ksyms.c
../../arch/sparc64/kernel/sparc64_ksyms.c
[alane@wwweasel linux]$ grep EXPORT_SYMTAB module.h
# if !defined(MODVERSIONS) && defined(EXPORT_SYMTAB)
#elif !defined(EXPORT_SYMTAB)
Well, that's special. EXPORT_SYMTAB is not actually defined ANYWHERE, so
every invocation of the EXPORT_SYMBOL macro results in a #error directive.
Folks out there who were gonna try this morning's kernel, you might as well
wait a bit.
PS. The tool 'aid' is part of the GNU id-utils package. I urge you to get
this if you need to look things up in kernel source tree. Just install it,
go into top of tree and do 'mkid'. Then 'aid symbol' finds symbol. See info
pages (no man pages) for aid,lid,etc for more goodies.
--
Alan Eldridge
from std_disclaimer import *
|