Current-Users archive

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

Re: -current build failure: field 'datum' has incomplete type



On Wed, Jul 07, 2010 at 12:40:21PM +0200, Thomas Klausner wrote:
> Build fails for me on 5.99.35/amd64 updated a few minutes ago:
> In file included from /usr/src/sys/compat/linux/linux_syscallargs.h:48,
>                  from 
> /usr/src/sys/compat/linux32/arch/amd64/linux32_machdep.c:52:
> /usr/src/sys/compat/linux/arch/amd64/linux_syscallargs.h:336: error: field 
> 'datum' has incomplete type
> /usr/src/sys/compat/linux/arch/amd64/linux_syscallargs.h:336: error: invalid 
> application of 'sizeof' to incomplete type 'union linux_semun'
> /usr/src/sys/compat/linux/arch/amd64/linux_syscallargs.h:336: error: invalid 
> application of 'sizeof' to incomplete type 'union linux_semun'
> /usr/src/sys/compat/linux/arch/amd64/linux_syscallargs.h:336: error: field 
> 'datum' has incomplete type
> *** [linux32_machdep.o] Error code 1

Fixed, I guess by

Module Name:    src
Committed By:   jmmv
Date:           Wed Jul  7 12:43:18 UTC 2010

Modified Files:
        src/sys/compat/linux32/arch/amd64: linux32_machdep.c

Log Message:
Add missing includes to bring the linux_semun type needed by
linux_syscallargs.h.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 \
    src/sys/compat/linux32/arch/amd64/linux32_machdep.c

Thanks!
 Thomas


Home | Main Index | Thread Index | Old Index