[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

2.4.19-ac1 kernel compilation



I tried to compile 2.4.19-ac1 on my Sparc5. It bombed out on binfmt_elf.c
with a parse error before `down_write' on line 1070.

The fix was easy:

--- include/asm-sparc/elf.h.orig	Sat Aug  3 23:49:02 2002
+++ include/asm-sparc/elf.h	Sat Aug  3 23:23:07 2002
@@ -41,7 +41,7 @@
 	dest[34] = src->npc;				\
 	dest[35] = src->y;				\
 	dest[36] = dest[37] = 0; /* XXX */		\
-} while(0)
+} while(0);
 
 typedef struct {
 	union {

Now it seems to compile. Let's see if it actally works.. Anyway, I think
this one should go into the tree..? Or am I not the first to find this
problem?

-- 
+-------- .''`.     - -- ---+  +         - -- --- ---- ----- ------+
| lintux : :'  :  lintux.cx |  | Unix and CGI @   IOI/NIO(Dutch)at |
|   at   `. `~'  debian.org |  | www.lintux.cx/   www.algoritme.nl |
+--- -- -  ` ---------------+  +------ ----- ---- --- -- -         +



Reply to: