Trouble compiling kmods on 2.4.14-benh


Subject: Trouble compiling kmods on 2.4.14-benh
From: Robert E Brose II (bob@kunk.jriver.com)
Date: Sun Dec 02 2001 - 00:48:25 MST


I get the following error:

gcc -pipe -Wall -O2 -D__KERNEL__ -DMODULE -msoft-float -fno-builtin -I./ -I./include -I/usr4/rpm/BUILD/mol-kmods-0.9.60/sinclude -I- -I/usr/src/linux/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'

and so on...

EXPORT_SYMBOL_NOVERS( msym_flush_hash_page );
EXPORT_SYMBOL_NOVERS( msym_handle_mm_fault );
EXPORT_SYMBOL_NOVERS( msym_next_mmu_context );

are the lines the compile is having trouble with.

Any suggestions?
The /usr/src/linux directory IS the running kernel build dir.

Thanks
Bob

-- 
bob@kunk.jriver.com



This archive was generated by hypermail 2a24 : Sun Dec 02 2001 - 01:01:03 MST