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
Re: CVS commit: src/sys/compat/linux32/common
On Mon, Nov 16, 2009 at 03:05:43PM +0100, Christoph Egger wrote: Log Message: Follow up commit to fix breakage that somehow passed by the compiler. Better, but still doesn't build: Full build.sh -m amd64 release from fresh tree finished. Aka I can't reproduce Joerg