Date: Wed, 1 Sep 2010 20:58:01 +0200 (CEST) From: Dan Lukes <dan@obluda.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/150199: kernel doesn't compile with SYSVMSG and any of COMPAT_FREEBSD[456] but no COMPAT_FREEBSD7 Message-ID: <201009011858.o81Iw1st055635@master8.ms.mff.cuni.cz> Resent-Message-ID: <201009011930.o81JU2tt019062@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 150199
>Category: kern
>Synopsis: kernel doesn't compile with SYSVMSG and any of COMPAT_FREEBSD[456] but no COMPAT_FREEBSD7
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 01 19:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Dan Lukes
>Release: FreeBSD 8.1-RELEASE i386
>Organization:
Obludarium
>Environment:
System: FreeBSD 8.1-RELEASE i386
src/sys/kern/sysv_msg.c,v 1.77.2.2.2.1 2010/06/14 02:09:06 kensmith
>Description:
Kernel doesn't compile when
SYSVMSG and any of COMPAT_FREEBSD[456] but NO COMPAT_FREEBSD7 module compiled in
because of:
/usr/src/sys/kern/sysv_msg.c:163: error: 'freebsd7_msgctl' undeclared here (not in a function)
The relevant part of code is:
#if defined(COMPAT_FREEBSD4) || defined(COMPAT_FREEBSD5) || \
defined(COMPAT_FREEBSD6) || defined(COMPAT_FREEBSD7)
SYSCALL_INIT_HELPER(msgsys),
SYSCALL_INIT_HELPER(freebsd7_msgctl),
#endif
>How-To-Repeat:
try to compile kernel with option set specified above
>Fix:
I can't supply fix for now, only the workaround:
when SYSVMSG and any of COMPAT_FREEBSD[456] required then COMPAT_FREEBSD7 needs to be present also
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009011858.o81Iw1st055635>
