Sparc64 stopped building - sigset_t unrecognized in compat.h

From: Paul Jackson
Date: Tue Oct 10 2006 - 15:00:51 EST


Sometime on or about the change to include/linux/compat.h:

changeset: 39069:fefadae8104d
parent: 38900:a2856d056930
user: David S. Miller <davem@xxxxxxxxxxxxxxxxxxxx>
date: Tue Oct 3 04:24:18 2006 +0700
summary: [SPARC64]: Move signal compat bits to new header file.

which added the line:

extern void sigset_from_compat(sigset_t *set, compat_sigset_t *compat);

my crosstool compile of sparc64 for 2.6.18-mm3 stopped building.

$ make init/main.o

fails on the "sigset_t *set", with:

In file included from include/asm/signal.h:11,
from include/linux/signal.h:4,
from include/linux/sched.h:67,
from include/linux/module.h:9,
from init/main.c:13:
include/linux/compat.h:231: error: parse error before '*' token
include/linux/compat.h:231: warning: function declaration isn't a prototype
make[1]: *** [init/main.o] Error 1
make: *** [init/main.o] Error 2

P.S. -- Looks like I'm not the first to notice. Adding Dr. von Brand
and Andrew to my cc list.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/