Re: Trouble compiling kmods on 2.4.14-benh


Subject: Re: Trouble compiling kmods on 2.4.14-benh
From: Derrik Pates (dpates@dsdk12.net)
Date: Sun Dec 02 2001 - 08:33:34 MST


On Sun, 2 Dec 2001, Robert E Brose II wrote:

> 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'

Edit the Makefile in the MoL kernel module source, and add
'-DEXPORT_SYMTAB' to the CFLAGS definition.

Derrik Pates | Sysadmin, Douglas School | #linuxOS on EFnet
dpates@dsdk12.net | District (dsdk12.net) | #linuxOS on OPN



This archive was generated by hypermail 2a24 : Sun Dec 02 2001 - 08:46:12 MST