Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2004 16:57:22 +0300
From:      Dan Cojocar <dan.cojocar@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Buildkernel+ALTQ error
Message-ID:  <b37cb09704072906577f137b70@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I get the following error when building kernel with altq:

cc -c -O -pipe -march=athlon-xp -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g
-nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
-I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath
-I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm
-D_KERNEL -include opt_global.h -fno-common -finline-limit=8000
--param inline-unit-growth=100 --param large-function-growth=1000 
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
-Werror  /usr/src/sys/contrib/altq/altq/altq_cbq.c
/usr/src/sys/contrib/altq/altq/altq_cbq.c: In function `cbq_request':
/usr/src/sys/contrib/altq/altq/altq_cbq.c:202: warning: implicit
declaration of function `_mtx_assert'
/usr/src/sys/contrib/altq/altq/altq_cbq.c:202: warning: nested extern
declaration of `_mtx_assert'
/usr/src/sys/contrib/altq/altq/altq_cbq.c:202: error: `MA_OWNED'
undeclared (first use in this function)
/usr/src/sys/contrib/altq/altq/altq_cbq.c:202: error: (Each undeclared
identifier is reported only once
/usr/src/sys/contrib/altq/altq/altq_cbq.c:202: error: for each
function it appears in.)
/usr/src/sys/contrib/altq/altq/altq_cbq.c: In function `cbq_enqueue':
/usr/src/sys/contrib/altq/altq/altq_cbq.c:506: warning: nested extern
declaration of `_mtx_assert'
/usr/src/sys/contrib/altq/altq/altq_cbq.c:202: warning: redundant
redeclaration of '_mtx_assert'
/usr/src/sys/contrib/altq/altq/altq_cbq.c:202: warning: previous
implicit declaration of '_mtx_assert' was here
/usr/src/sys/contrib/altq/altq/altq_cbq.c:506: error: `MA_OWNED'
undeclared (first use in this function)
/usr/src/sys/contrib/altq/altq/altq_cbq.c: In function `cbq_dequeue':
/usr/src/sys/contrib/altq/altq/altq_cbq.c:561: warning: nested extern
declaration of `_mtx_assert'
/usr/src/sys/contrib/altq/altq/altq_cbq.c:202: warning: redundant
redeclaration of '_mtx_assert'
/usr/src/sys/contrib/altq/altq/altq_cbq.c:202: warning: previous
implicit declaration of '_mtx_assert' was here
/usr/src/sys/contrib/altq/altq/altq_cbq.c:561: error: `MA_OWNED'
undeclared (first use in this function)
/usr/src/sys/contrib/altq/altq/altq_cbq.c: In function `cbqrestart':
/usr/src/sys/contrib/altq/altq/altq_cbq.c:589: warning: nested extern
declaration of `_mtx_assert'
/usr/src/sys/contrib/altq/altq/altq_cbq.c:202: warning: redundant
redeclaration of '_mtx_assert'
/usr/src/sys/contrib/altq/altq/altq_cbq.c:202: warning: previous
implicit declaration of '_mtx_assert' was here
/usr/src/sys/contrib/altq/altq/altq_cbq.c:589: error: `MA_OWNED'
undeclared (first use in this function)
*** Error code 1


Thanks,
                                             Dan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b37cb09704072906577f137b70>