Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2001 22:15:21 +0200
From:      "Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
To:        Jesper Skriver <jesper@skriver.dk>
Cc:        current@FreeBSD.org
Subject:   Re: NEWCARD broken in -current
Message-ID:  <20010328221521.G1082@bank-pedersen.dk>
In-Reply-To: <20010328220928.D95303@skriver.dk>; from jesper@FreeBSD.org on Wed, Mar 28, 2001 at 10:09:28PM %2B0200
References:  <20010328220928.D95303@skriver.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 28, 2001 at 10:09:28PM +0200, Jesper Skriver wrote:
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I-  -I.  -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/acpica/Subsystem/Include  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2
> /usr/src/sys/dev/pccbb/pccbb.c
> In file included from /usr/src/sys/dev/pccbb/pccbb.c:56:
> /usr/src/sys/sys/mutex.h:87: field `mtx_object' has incomplete type
> /usr/src/sys/dev/pccbb/pccbb.c: In function `pccbb_detach':
> /usr/src/sys/dev/pccbb/pccbb.c:533: warning: implicit declaration of function `MPASS'
> /usr/src/sys/dev/pccbb/pccbb.c:533: warning: implicit declaration of function `LOCK_LOG_LOCK'
> /usr/src/sys/dev/pccbb/pccbb.c:533: warning: implicit declaration of function `WITNESS_LOCK'
> /usr/src/sys/dev/pccbb/pccbb.c:539: warning: implicit declaration of function `WITNESS_UNLOCK'
> *** Error code 1

You'll need to #include <sys/types.h> and <sys/lock.h>
in /usr/src/sys/dev/pccbb/pccbb.c

> /Jesper


/Niels Chr.

-- 
 Niels Christian Bank-Pedersen, NCB1-RIPE.
 Network Manager, Tele Danmark NET, IP-section.

 "Hey, are any of you guys out there actually *using* RFC 2549?"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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