FreeBSD kraft 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
собственно ошибка:
Код: Выделить всё
/usr/src/sys/kern/sysv_msg.c:167:2: error: invalid application of 'sizeof' to an incomplete type 'struct freebsd7_msgctl_args'
SYSCALL_INIT_HELPER_COMPAT(freebsd7_msgctl),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/sys/sysent.h:233:14: note: expanded from macro 'SYSCALL_INIT_HELPER_COMPAT'
.sy_narg = (sizeof(struct syscallname ## _args ) \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/kern/sysv_msg.c:167:2: note: forward declaration of 'struct freebsd7_msgctl_args'
/usr/src/sys/sys/sysent.h:233:28: note: expanded from macro 'SYSCALL_INIT_HELPER_COMPAT'
.sy_narg = (sizeof(struct syscallname ## _args ) \
^
<scratch space>:62:1: note: expanded from here
freebsd7_msgctl_args
^
/usr/src/sys/kern/sysv_msg.c:167:29: error: use of undeclared identifier 'freebsd7_msgctl'
SYSCALL_INIT_HELPER_COMPAT(freebsd7_msgctl),
^
/usr/src/sys/sys/sysent.h:235:28: note: expanded from macro 'SYSCALL_INIT_HELPER_COMPAT'
.sy_call = (sy_call_t *)& syscallname, \
^
/usr/src/sys/kern/sysv_msg.c:188:2: error: invalid application of 'sizeof' to an incomplete type
'struct freebsd7_freebsd32_msgctl_args'
SYSCALL32_INIT_HELPER(freebsd7_freebsd32_msgctl),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/compat/freebsd32/freebsd32_util.h:84:14: note: expanded from macro 'SYSCALL32_INIT_HELPER'
.sy_narg = (sizeof(struct syscallname ## _args ) \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/kern/sysv_msg.c:188:2: note: forward declaration of 'struct freebsd7_freebsd32_msgctl_args'
/usr/src/sys/compat/freebsd32/freebsd32_util.h:84:28: note: expanded from macro 'SYSCALL32_INIT_HELPER'
.sy_narg = (sizeof(struct syscallname ## _args ) \
^
<scratch space>:62:1: note: expanded from here
freebsd7_freebsd32_msgctl_args
^
/usr/src/sys/kern/sysv_msg.c:188:24: error: use of undeclared identifier 'freebsd7_freebsd32_msgctl'
SYSCALL32_INIT_HELPER(freebsd7_freebsd32_msgctl),
^
/usr/src/sys/compat/freebsd32/freebsd32_util.h:86:28: note: expanded from macro 'SYSCALL32_INIT_HELPER'
.sy_call = (sy_call_t *)& syscallname, \
^
/usr/src/sys/kern/sysv_msg.c:1352:11: error: implicit declaration of function 'freebsd7_freebsd32_msgctl' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
return (freebsd7_freebsd32_msgctl(td,
^
/usr/src/sys/kern/sysv_msg.c:1371:1: error: no previous prototype for function 'freebsd7_freebsd32_msgctl'
[-Werror,-Wmissing-prototypes]
freebsd7_freebsd32_msgctl(struct thread *td,
^
/usr/src/sys/kern/sysv_msg.c:1378:9: error: incomplete definition of type 'struct freebsd7_freebsd32_msgctl_args'
if (uap->cmd == IPC_SET) {
~~~^
/usr/src/sys/kern/sysv_msg.c:188:2: note: forward declaration of 'struct freebsd7_freebsd32_msgctl_args'
SYSCALL32_INIT_HELPER(freebsd7_freebsd32_msgctl),
^
/usr/src/sys/compat/freebsd32/freebsd32_util.h:84:28: note: expanded from macro 'SYSCALL32_INIT_HELPER'
.sy_narg = (sizeof(struct syscallname ## _args ) \
^
<scratch space>:62:1: note: expanded from here
freebsd7_freebsd32_msgctl_args
^
/usr/src/sys/kern/sysv_msg.c:1379:21: error: incomplete definition of type 'struct freebsd7_freebsd32_msgctl_args'
error = copyin(uap->buf, &msqbuf32, sizeof(msqbuf32));
~~~^
/usr/src/sys/kern/sysv_msg.c:188:2: note: forward declaration of 'struct freebsd7_freebsd32_msgctl_args'
SYSCALL32_INIT_HELPER(freebsd7_freebsd32_msgctl),
^
/usr/src/sys/compat/freebsd32/freebsd32_util.h:84:28: note: expanded from macro 'SYSCALL32_INIT_HELPER'
.sy_narg = (sizeof(struct syscallname ## _args ) \
^
<scratch space>:62:1: note: expanded from here
freebsd7_freebsd32_msgctl_args
^
/usr/src/sys/kern/sysv_msg.c:1394:29: error: incomplete definition of type 'struct freebsd7_freebsd32_msgctl_args'
error = kern_msgctl(td, uap->msqid, uap->cmd, &msqbuf);
~~~^
/usr/src/sys/kern/sysv_msg.c:188:2: note: forward declaration of 'struct freebsd7_freebsd32_msgctl_args'
SYSCALL32_INIT_HELPER(freebsd7_freebsd32_msgctl),
^
/usr/src/sys/compat/freebsd32/freebsd32_util.h:84:28: note: expanded from macro 'SYSCALL32_INIT_HELPER'
.sy_narg = (sizeof(struct syscallname ## _args ) \
^
<scratch space>:62:1: note: expanded from here
freebsd7_freebsd32_msgctl_args
^
/usr/src/sys/kern/sysv_msg.c:1397:9: error: incomplete definition of type 'struct freebsd7_freebsd32_msgctl_args'
if (uap->cmd == IPC_STAT) {
~~~^
/usr/src/sys/kern/sysv_msg.c:188:2: note: forward declaration of 'struct freebsd7_freebsd32_msgctl_args'
SYSCALL32_INIT_HELPER(freebsd7_freebsd32_msgctl),
^
/usr/src/sys/compat/freebsd32/freebsd32_util.h:84:28: note: expanded from macro 'SYSCALL32_INIT_HELPER'
.sy_narg = (sizeof(struct syscallname ## _args ) \
^
<scratch space>:62:1: note: expanded from here
freebsd7_freebsd32_msgctl_args
^
/usr/src/sys/kern/sysv_msg.c:1410:33: error: incomplete definition of type 'struct freebsd7_freebsd32_msgctl_args'
error = copyout(&msqbuf32, uap->buf, sizeof(struct msqid_ds32));
~~~^
/usr/src/sys/kern/sysv_msg.c:188:2: note: forward declaration of 'struct freebsd7_freebsd32_msgctl_args'
SYSCALL32_INIT_HELPER(freebsd7_freebsd32_msgctl),
^
/usr/src/sys/compat/freebsd32/freebsd32_util.h:84:28: note: expanded from macro 'SYSCALL32_INIT_HELPER'
.sy_narg = (sizeof(struct syscallname ## _args ) \
^
<scratch space>:62:1: note: expanded from here
freebsd7_freebsd32_msgctl_args
^
/usr/src/sys/kern/sysv_msg.c:1499:15: error: use of undeclared identifier 'freebsd7_msgctl'
(sy_call_t *)freebsd7_msgctl, (sy_call_t *)sys_msgget,
^
/usr/src/sys/kern/sysv_msg.c:1524:26: error: invalid application of 'sizeof' to an incomplete type 'sy_call_t *[]'
uap->which >= sizeof(msgcalls)/sizeof(msgcalls[0]))
^~~~~~~~~~
/usr/src/sys/kern/sysv_msg.c:1542:1: error: no previous prototype for function 'freebsd7_msgctl'
[-Werror,-Wmissing-prototypes]
freebsd7_msgctl(td, uap)
^
/usr/src/sys/kern/sysv_msg.c:1552:9: error: incomplete definition of type 'struct freebsd7_msgctl_args'
if (uap->cmd == IPC_SET) {
~~~^
/usr/src/sys/kern/sysv_msg.c:167:2: note: forward declaration of 'struct freebsd7_msgctl_args'
SYSCALL_INIT_HELPER_COMPAT(freebsd7_msgctl),
^
/usr/src/sys/sys/sysent.h:233:28: note: expanded from macro 'SYSCALL_INIT_HELPER_COMPAT'
.sy_narg = (sizeof(struct syscallname ## _args ) \
^
<scratch space>:62:1: note: expanded from here
freebsd7_msgctl_args
^
/usr/src/sys/kern/sysv_msg.c:1553:21: error: incomplete definition of type 'struct freebsd7_msgctl_args'
error = copyin(uap->buf, &msqold, sizeof(msqold));
~~~^
/usr/src/sys/kern/sysv_msg.c:167:2: note: forward declaration of 'struct freebsd7_msgctl_args'
SYSCALL_INIT_HELPER_COMPAT(freebsd7_msgctl),
^
/usr/src/sys/sys/sysent.h:233:28: note: expanded from macro 'SYSCALL_INIT_HELPER_COMPAT'
.sy_narg = (sizeof(struct syscallname ## _args ) \
^
<scratch space>:62:1: note: expanded from here
freebsd7_msgctl_args
^
/usr/src/sys/kern/sysv_msg.c:1568:29: error: incomplete definition of type 'struct freebsd7_msgctl_args'
error = kern_msgctl(td, uap->msqid, uap->cmd, &msqbuf);
~~~^
/usr/src/sys/kern/sysv_msg.c:167:2: note: forward declaration of 'struct freebsd7_msgctl_args'
SYSCALL_INIT_HELPER_COMPAT(freebsd7_msgctl),
^
/usr/src/sys/sys/sysent.h:233:28: note: expanded from macro 'SYSCALL_INIT_HELPER_COMPAT'
.sy_narg = (sizeof(struct syscallname ## _args ) \
^
<scratch space>:62:1: note: expanded from here
freebsd7_msgctl_args
^
/usr/src/sys/kern/sysv_msg.c:1571:9: error: incomplete definition of type 'struct freebsd7_msgctl_args'
if (uap->cmd == IPC_STAT) {
~~~^
/usr/src/sys/kern/sysv_msg.c:167:2: note: forward declaration of 'struct freebsd7_msgctl_args'
SYSCALL_INIT_HELPER_COMPAT(freebsd7_msgctl),
^
/usr/src/sys/sys/sysent.h:233:28: note: expanded from macro 'SYSCALL_INIT_HELPER_COMPAT'
.sy_narg = (sizeof(struct syscallname ## _args ) \
^
<scratch space>:62:1: note: expanded from here
freebsd7_msgctl_args
^
/usr/src/sys/kern/sysv_msg.c:1584:31: error: incomplete definition of type 'struct freebsd7_msgctl_args'
error = copyout(&msqold, uap->buf, sizeof(struct msqid_ds_old));
~~~^
/usr/src/sys/kern/sysv_msg.c:167:2: note: forward declaration of 'struct freebsd7_msgctl_args'
SYSCALL_INIT_HELPER_COMPAT(freebsd7_msgctl),
^
/usr/src/sys/sys/sysent.h:233:28: note: expanded from macro 'SYSCALL_INIT_HELPER_COMPAT'
.sy_narg = (sizeof(struct syscallname ## _args ) \
^
<scratch space>:62:1: note: expanded from here
freebsd7_msgctl_args
^
19 errors generated.
*** Error code 1
Stop.
make[2]: stopped in /usr/obj/usr/src/sys/KRAFT
*** Error code 1
Stop.
make[1]: stopped in /usr/src
*** Error code 1
Stop.
make: stopped in /usr/src