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

Compiling error on sparc64 kernel 2.6.7



Dear folk,

Compling the kernel source version 2.6.7 on sparc64 architecture I reveived the following error message:

In file included from include/linux/signal.h:6,
                from include/linux/sched.h:25,
                from include/linux/module.h:10,
                from init/main.c:16:
include/asm/signal.h:210: error: parse error before "compat_sigset_t"
include/asm/signal.h:210: warning: no semicolon at end of struct or union
include/asm/signal.h:229: error: parse error before "compat_old_sigset_t"
include/asm/signal.h:229: warning: no semicolon at end of struct or union
include/asm/signal.h:232: error: parse error before '}' token
include/asm/signal.h:245: error: parse error before "compat_size_t"
include/asm/signal.h:245: warning: no semicolon at end of struct or union
include/asm/signal.h:246: warning: type defaults to `int' in declaration of `stack_t32' include/asm/signal.h:246: warning: data definition has no type or storage class
In file included from include/linux/signal.h:7,
                from include/linux/sched.h:25,
                from include/linux/module.h:10,
                from init/main.c:16:
include/asm/siginfo.h:34: error: parse error before "compat_pid_t"
include/asm/siginfo.h:34: warning: no semicolon at end of struct or union
include/asm/siginfo.h:34: warning: no semicolon at end of struct or union
include/asm/siginfo.h:48: error: parse error before "compat_pid_t"
include/asm/siginfo.h:48: warning: no semicolon at end of struct or union
include/asm/siginfo.h:51: error: parse error before '}' token
include/asm/siginfo.h:51: warning: type defaults to `int' in declaration of `_rt' include/asm/siginfo.h:51: warning: data definition has no type or storage class
include/asm/siginfo.h:55: error: parse error before "compat_pid_t"
include/asm/siginfo.h:55: warning: no semicolon at end of struct or union
include/asm/siginfo.h:58: error: parse error before "_utime"
include/asm/siginfo.h:58: warning: type defaults to `int' in declaration of `_utime' include/asm/siginfo.h:58: warning: data definition has no type or storage class
include/asm/siginfo.h:59: error: parse error before "_stime"
include/asm/siginfo.h:59: warning: type defaults to `int' in declaration of `_stime' include/asm/siginfo.h:59: warning: data definition has no type or storage class include/asm/siginfo.h:60: warning: type defaults to `int' in declaration of `_sigchld' include/asm/siginfo.h:60: warning: data definition has no type or storage class
include/asm/siginfo.h:73: error: parse error before '}' token
include/asm/siginfo.h:73: warning: type defaults to `int' in declaration of `_sifields' include/asm/siginfo.h:73: warning: data definition has no type or storage class
include/asm/siginfo.h:74: error: parse error before '}' token
include/asm/siginfo.h:74: warning: type defaults to `int' in declaration of `siginfo_t32' include/asm/siginfo.h:74: warning: data definition has no type or storage class
include/asm/siginfo.h:102: error: parse error before '*' token
include/asm/siginfo.h:102: warning: function declaration isn't a prototype
make[1]: ** [init/main.o] Erro 1
make: ** [init] Erro 2


Could someone give a help? What is necessary to set in order to get the whole to work?

Regards,

Antonio L. Pacifico




Reply to: