Cannot build kernel since subr_devstat.c commit

Jakub Lach jakub_lach at mailplus.pl
Fri Dec 7 23:39:06 UTC 2012


Relevant bit is-

/usr/src/sys/kern/subr_devstat.c:295:2: error: implicit declaration of
function
      'DTRACE_DEVSTAT_BIO_START' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
        DTRACE_DEVSTAT_BIO_START();
        ^
/usr/src/sys/kern/subr_devstat.c:390:2: error: implicit declaration of
function
      'DTRACE_DEVSTAT_BIO_DONE' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
        DTRACE_DEVSTAT_BIO_DONE();
        ^
/usr/src/sys/kern/subr_devstat.c:390:2: note: did you mean
'DTRACE_DEVSTAT_BIO_START'?
        DTRACE_DEVSTAT_BIO_DONE();
        ^~~~~~~~~~~~~~~~~~~~~~~
        DTRACE_DEVSTAT_BIO_START
/usr/src/sys/kern/subr_devstat.c:295:2: note: 'DTRACE_DEVSTAT_BIO_START'
declared here
        DTRACE_DEVSTAT_BIO_START();
        ^
2 errors generated.
*** [subr_devstat.o] Error code 1

http://svnweb.freebsd.org/base/stable/9/sys/kern/subr_devstat.c?view=log



--
View this message in context: http://freebsd.1045724.n5.nabble.com/Cannot-build-kernel-since-subr-devstat-c-commit-tp5767503.html
Sent from the freebsd-stable mailing list archive at Nabble.com.


More information about the freebsd-stable mailing list