[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

kernel-2.4.21, Thinkpad R31, apm/acpi

I have a 2.4.20 kernel with apmd working on the Thinkpad R31 I bought
last week after putting "apm-broken_psr" in my kernel options in
/boot/grub/menu.lst and removing most of the battery montoring
programs I tried.

I am now trying to get the 2.4.21 kernel working.  I used 2.4.20's
.config but now the compilation ends with

exec_domain.c:291: warning: data definition has no type or storage class
exec_domain.c:292: error: syntax error before "this_object_must_be_defined_as_export_objs_in_the_Makefile"
exec_domain.c:292: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'
exec_domain.c:292: warning: data definition has no type or storage class
make[3]: *** [exec_domain.o] Error 1
make[3]: Leaving directory `/usr/src/kernel-source-2.4.21/kernel'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.21/kernel'
make[1]: *** [_dir_kernel] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.21'
make: *** [stamp-build] Error 2

This error message was repeated many lines in exec_domain.c

Any ideas?

Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "Be not deceived; God is not mocked; for whatsoever a
      man soweth, that shall he also reap."               
                                   Galatians 6:7 

Reply to: