error: this_object_must_be_defined_as_export...
Code:
xscale_be-gcc -mbig-endian -D__KERNEL__ -I/home/freegnu/source/linux-2.4.20_mvl31/
include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-c
ommon -Uarm -pipe -mapcs -mno-sched-prolog -g -mapcs-32 -D__LINUX_ARM_ARCH__=5
-
mcpu=xscale -mtune=xscale -mshort-load-bytes -msoft-float -DMODULE  -nostdinc
-i
withprefix include -DKBUILD_BASENAME=nls_base  -c -o nls_base.o nls_base.c
nls_base.c:493: error: parse error before
"this_object_must_be_defined_as_export
_objs_in_the_Makefile"
nls_base.c:493: warning: type defaults to `int' in declaration of
`this_object_m
ust_be_defined_as_export_objs_in_the_Makefile'
nls_base.c:493: warning: data definition has no type or storage class
nls_base.c:494: error: parse error before
"this_object_must_be_defined_as_export
_objs_in_the_Makefile"
nls_base.c:494: warning: type defaults to `int' in declaration of
`this_object_m
ust_be_defined_as_export_objs_in_the_Makefile'
nls_base.c:494: warning: data definition has no type or storage class
nls_base.c:495: error: parse error before
"this_object_must_be_defined_as_export
_objs_in_the_Makefile"
nls_base.c:495: warning: type defaults to `int' in declaration of
`this_object_m
ust_be_defined_as_export_objs_in_the_Makefile'
nls_base.c:495: warning: data definition has no type or storage class
nls_base.c:496: error: parse error before
"this_object_must_be_defined_as_export
_objs_in_the_Makefile"
nls_base.c:496: warning: type defaults to `int' in declaration of
`this_object_m
ust_be_defined_as_export_objs_in_the_Makefile'
nls_base.c:496: warning: data definition has no type or storage class
nls_base.c:497: error: parse error before
"this_object_must_be_defined_as_export
_objs_in_the_Makefile"
nls_base.c:497: warning: type defaults to `int' in declaration of
`this_object_m
ust_be_defined_as_export_objs_in_the_Makefile'
nls_base.c:497: warning: data definition has no type or storage class
nls_base.c:498: error: parse error before
"this_object_must_be_defined_as_export
_objs_in_the_Makefile"
nls_base.c:498: warning: type defaults to `int' in declaration of
`this_object_m
ust_be_defined_as_export_objs_in_the_Makefile'
nls_base.c:498: warning: data definition has no type or storage class
nls_base.c:499: error: parse error before
"this_object_must_be_defined_as_export
_objs_in_the_Makefile"
nls_base.c:499: warning: type defaults to `int' in declaration of
`this_object_m
ust_be_defined_as_export_objs_in_the_Makefile'
nls_base.c:499: warning: data definition has no type or storage class
nls_base.c:500: error: parse error before
"this_object_must_be_defined_as_export
_objs_in_the_Makefile"
nls_base.c:500: warning: type defaults to `int' in declaration of
`this_object_m
ust_be_defined_as_export_objs_in_the_Makefile'
nls_base.c:500: warning: data definition has no type or storage class
nls_base.c:501: error: parse error before
"this_object_must_be_defined_as_export
_objs_in_the_Makefile"
nls_base.c:501: warning: type defaults to `int' in declaration of
`this_object_m
ust_be_defined_as_export_objs_in_the_Makefile'
nls_base.c:501: warning: data definition has no type or storage class
make[2]: *** [nls_base.o] Error 1
make[2]: Leaving directory `/home/freegnu/source/linux-2.4.20_mvl31/fs/nls'
make[1]: *** [_modsubdir_nls] Error 2
make[1]: Leaving directory `/home/freegnu/source/linux-2.4.20_mvl31/fs'
make: *** [_mod_fs] Error 2
hi all , i want to compile nls_base.c
but it meet some errors, does anyone meet berfore?
please give me an advice , thanks