Source-Changes-D archive

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

Re: CVS commit: src/sys/compat/linux32/common



Joerg Sonnenberger wrote:
> Module Name:  src
> Committed By: joerg
> Date:         Mon Nov 16 08:49:32 UTC 2009
> 
> Modified Files:
>       src/sys/compat/linux32/common: linux32_ipc.h linux32_ipccall.c
> 
> Log Message:
> Add SYSVMSG support for linux32.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux32/common/linux32_ipc.h
> cvs rdiff -u -r1.4 -r1.5 src/sys/compat/linux32/common/linux32_ipccall.c
> 

Did you forgot to commit some files?

This breaks the build for me when compiling amd64:

In file included from
/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:50:/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipc.h:69:
error: expected specifier-qualifier-list before
'netbsd32_u_short'/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipc.h:77:
error: field 'l_msg_perm' has incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipc.h:87:
error: expected specifier-qualifier-list before
'netbsd32_int'/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:
In function
'linux32_to_bsd_msqid_ds':/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:434:
error: 'struct linux32_msqid_ds' has no member named
'l_msg_cbytes'/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:435:
error: 'struct linux32_msqid_ds' has no member named
'l_msg_qnum'/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:436:
error: 'struct linux32_msqid_ds' has no member named
'l_msg_qbytes'/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:437:
error: 'struct linux32_msqid_ds' has no member named
'l_msg_lspid'/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:438:
error: 'struct linux32_msqid_ds' has no member named 'l_msg_lrpid'cc1:
warnings being treated as
errors/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:
At top
level:/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:445:
warning: 'struct linux32_msqid64_ds' declared inside parameter
list/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:445:
warning: its scope is only this definition or declaration, which is
probably not what you
want/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:446:
warning: no previous prototype for
'linux32_to_bsd_msqid64_ds'/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:
In function
'linux32_to_bsd_msqid64_ds':/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:449:
warning: implicit declaration of function
'linux_to_bsd_ipc64_perm'/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:449:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:450:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:451:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:452:
error: dereferencing pointer to incomplete type
/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:453:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:454:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:455:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:456:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:457:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:
In function
'bsd_to_linux32_msqid_ds':/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:468:
error: 'struct linux32_msqid_ds' has no member named
'l_msg_cbytes'/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:469:
error: 'struct linux32_msqid_ds' has no member named
'l_msg_qnum'/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:470:
error: 'struct linux32_msqid_ds' has no member named
'l_msg_qbytes'/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:471:
error: 'struct linux32_msqid_ds' has no member named
'l_msg_lspid'/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:472:
error: 'struct linux32_msqid_ds' has no member named
'l_msg_lrpid'/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:
At top
level:/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:479:
warning: 'struct linux32_msqid64_ds' declared inside parameter
list/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:480:
warning: no previous prototype for
'bsd_to_linux32_msqid64_ds'/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:
In function
'bsd_to_linux32_msqid64_ds':/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:482:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:483:
warning: implicit declaration of function
'bsd_to_linux_ipc64_perm'/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:483:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:484:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:484:
warning: passing argument 1 of 'NETBSD32PTR32I' makes pointer from
integer without a
cast/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:485:
error: dereferencing pointer to incomplete type
/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:484:
warning: passing argument 1 of 'NETBSD32PTR32I' makes pointer from
integer without a
cast/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:485:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:485:
warning: passing argument 1 of 'NETBSD32PTR32I' makes pointer from
integer without a
cast/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:486:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:487:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:488:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:489:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:490:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:491:
error: dereferencing pointer to incomplete
type/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:
In function
'linux32_msgctl':/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:499:
error: storage size of 'lm64' isn't
known/Users/cegger/devel/bsd/netbsd/src-x86/sys/compat/linux32/common/linux32_ipccall.c:499:
warning: unused variable 'lm64'*** [linux32_ipccall.o] Error code 1



Home | Main Index | Thread Index | Old Index