Subject: Re: linux compat lkm fails to build
To: Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>
From: David Carrel <carrel@cisco.com>
List: port-i386
Date: 10/21/1996 17:58:08
> > First, linux_exec.c references elf32_copyargs which is only defined in
> > /usr/include/sys/exec_elf.h when EXEC_ELF32 is defined.  So that needs to
> > be added as "-DEXEC_ELF32" to the sys/lkm/compat/linux/Makefile.  Either
> > that, or have the prototype visible whether EXEC_ELF32 is defined or not.
> 
> the latter is not correct.  The former is a better idea.

Oh yeah, there's one more bug.  sys/lkm/compat/linux/lkminit_linux.c has
two references to linux_elf_probe that need to be changed to
linux_elf32_probe.

Dave