Compiling modules on 2.4.12


Subject: Compiling modules on 2.4.12
From: Sam Johnston (samj@samj.net)
Date: Mon Oct 15 2001 - 00:27:54 MDT


Hi,

I'm having difficulty compiling modules for 2.4.12 on my iBook2:

gcc -pipe -Wall -O2 -D__KERNEL__ -DMODULE -msoft-float -fno-builtin -I./
-I./include -I/usr/src/mol-0.9.60/sinclude -I-
-I/usr/src/kernel-source-`uname -r`/include -c -o obj/performance.o
performance.c
gcc -pipe -Wall -O2 -D__KERNEL__ -DMODULE -msoft-float -fno-builtin -I./
-I./include -I/usr/src/mol-0.9.60/sinclude -I-
-I/usr/src/kernel-source-`uname -r`/include -c -o molsymglue.o molsymglue.c
molsymglue.c:38: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
molsymglue.c:38: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
molsymglue.c:38: warning: data definition has no type or storage class
molsymglue.c:39: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
molsymglue.c:39: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
molsymglue.c:39: warning: data definition has no type or storage class
molsymglue.c:40: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
molsymglue.c:40: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
molsymglue.c:40: warning: data definition has no type or storage class
make[1]: *** [molsymglue.o] Error 1
make: *** [_subdir_kernel_module] Error 2

Any suggestions?

Possibly related, should I be using the benh kernels or does 2.4.12 have most
(all?) of what I need?

Replies directly to me please as I'm not on the list.

 - samj



This archive was generated by hypermail 2a24 : Mon Oct 15 2001 - 01:39:50 MDT