Re: Trouble compiling kmods on 2.4.14-benh


Subject: Re: Trouble compiling kmods on 2.4.14-benh
From: John M. Wright (jmw@chem.ucsd.edu)
Date: Sun Dec 02 2001 - 14:00:07 MST


I get the identical error messages when attempting to compile
the mol 0.9.60 kmods against the linux-2.4.16 source from
kernel.org (which by the way compiles and works just fine
on my beige G3 with extra scsi & ethernet cards; the only
difficulty in installation was that apparently the name of
the dma sound module for powermacs is changed from
"dmasound_pmac.o" to "dmasound_awacs.o").

> To: mol-general@lists.maconlinux.org
> Date: Sun, 2 Dec 2001 01:48:25 -0600 (CST)
> From: Robert E Brose II <bob@kunk.jriver.com>
> Subject: Trouble compiling kmods on 2.4.14-benh
>
> 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 - 14:12:44 MST