Kernel compile error

From: Beecher Rintoul <akbeech_at_northwindcom.dyndns.org>
Date: Sun, 13 Jun 2004 11:20:36 -0800
Got this error while compiling yesterday's -current:

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99  -nostdinc -I-  -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/dev/acpica -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  
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding 
-Werror  /usr/src/sys/net/raw_cb.c
/usr/src/sys/net/raw_cb.c: In function `raw_detach':
/usr/src/sys/net/raw_cb.c:97: warning: implicit declaration of function 
`mtx_assert'
/usr/src/sys/net/raw_cb.c:97: error: `MA_OWNED' undeclared (first use in this 
function)
/usr/src/sys/net/raw_cb.c:97: error: (Each undeclared identifier is reported 
only once
/usr/src/sys/net/raw_cb.c:97: error: for each function it appears in.)
/usr/src/sys/net/raw_cb.c:97: warning: implicit declaration of function 
`mtx_unlock'
*** Error code 1

TIA,

Beech

-- 
-------------------------------------------------------------------
Beech Rintoul - System Administrator - akbeech_at_northwindcom.dyndns.org
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ -----------------------------------------------------------------
Received on Sun Jun 13 2004 - 17:21:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:57 UTC