lkml.org 
[lkml]   [1996]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectFix for include/asm-i386/elf.h in 2.1.5 (was Re: 2.5.1 asm/elf.h)
On Mon, 21 Oct 1996 alvieboy@utad.pt wrote:

> Hmmm... While trying to compile the 2.0.0 modules under kernel 2.5.1 I had an
> error... It seems like that asm/elf.h doesn't define all the structures it
> needs to work ok... (something like user_regs)...
> Also I have always problems when using (after fixing the asm/elf.h) the insmod
> because it gives me UNKNOWN ERROR xxxxxxxxx
>

For the problem with insmod you need either the patch that has been
floating around the list for a while or a libc >= 5.4.9.

For asm/elf.h, the fix is this:


--- linux/include/asm-i386/elf.h.orig Fri Oct 18 15:25:45 1996
+++ linux/include/asm-i386/elf.h Fri Oct 18 15:26:29 1996
@@ -6,6 +6,7 @@
*/

#include <asm/ptrace.h>
+#include <asm/user.h>

typedef unsigned long elf_greg_t;

Bye,
Luca Lizzeri




\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.065 / U:0.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site