Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2001 16:12:17 +0100
From:      Maxime Henrion <mux@qualys.com>
To:        cvs-all@freebsd.org
Cc:        Alfred Perlstein <alfred@freebsd.org>
Subject:   Re: cvs commit: src/sys/sys ktrace.h src/sys/kern kern_ktrace.c
Message-ID:  <20010106161217.A5737@nebula.cybercable.fr>
In-Reply-To: <200101060958.f069wR179663@freefall.freebsd.org>; from alfred@FreeBSD.ORG on Sat, Jan 06, 2001 at 01:58:27AM -0800
References:  <200101060958.f069wR179663@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 06 2001, Alfred Perlstein wrote:
> alfred      2001/01/06 01:58:27 PST
> 
>   Modified files:        (Branch: RELENG_4)
>     sys/sys              ktrace.h 
>     sys/kern             kern_ktrace.c 
>   Log:
>   MFC: limit utrace
>   
>   Revision  Changes    Path
>   1.19.2.3  +2 -1      src/sys/sys/ktrace.h
>   1.35.2.2  +3 -1      src/sys/kern/kern_ktrace.c

Hi,

It seems that this commit breaks the build of the kernel :

cc -c -O -pipe -fomit-frame-pointer -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2  ../../kern/kern_ktrace.c
../../kern/kern_ktrace.c: In function `utrace':
../../kern/kern_ktrace.c:364: warning: implicit declaration of function `SCARG'
../../kern/kern_ktrace.c:364: `len' undeclared (first use in this function)
../../kern/kern_ktrace.c:364: (Each undeclared identifier is reported only once
../../kern/kern_ktrace.c:364: for each function it appears in.)
*** Error code 1

I think you need to include <sys/sysent.h> in src/sys/kern/kern_ktrace.c for
the SCARG macro.

Hope it helps,
Maxime
-- 
Don't be fooled by cheap finnish imitations ; BSD is the One True Code
Key fingerprint = F9B6 1D5A 4963 331C 88FC  CA6A AB50 1EF2 8CBE 99D6
Public Key : http://www.epita.fr/~henrio_m/


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




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