Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2002 12:55:10 -0400
From:      Mike Barcroft <mike@FreeBSD.org>
To:        "Matthew N. Dodd" <winter@jurai.net>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/conf NOTES
Message-ID:  <20020420125510.M29857@espresso.q9media.com>
In-Reply-To: <20020420050939.A42854-100000@sasami.jurai.net>; from winter@jurai.net on Sat, Apr 20, 2002 at 05:09:53AM -0400
References:  <200204200051.g3K0pUW06226@freefall.freebsd.org> <20020420050939.A42854-100000@sasami.jurai.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew N. Dodd <winter@jurai.net> writes:
> On Fri, 19 Apr 2002, Mike Barcroft wrote:
> > mike        2002/04/19 17:51:30 PDT
> >
> >   Modified files:
> >     sys/conf             NOTES
> >   Log:
> >   Comment out and mark broken the hea and hfa devices until someone has
> >   time to fix them.
> 
> 'hfa' should work.

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/work/src/sys -I/work/src/sys/dev -I/work/src/sys/contrib/dev/acpica -I/work/src/sys/contrib/ipfilter -I/work/src/sys/../include -DGPROF -DGPROF4 -DGUPROF -D_KERNEL -ffreestanding -include opt_global.h -fno-common  -malign-functions=4 -fno-builtin -mpreferred-stack-boundary=2 -Werror -pg -mprofiler-epilogue /work/src/sys/dev/hfa/fore_command.c
cc1: warnings being treated as errors
/work/src/sys/dev/hfa/fore_command.c: In function `fore_cmd_drain':
/work/src/sys/dev/hfa/fore_command.c:361: warning: implicit declaration of function `KM_COPY'

If you disable -Werror it turns into a error at link-time:

sh /work/src/sys/conf/newvers.sh LINT -DGPROF -DGPROF4 -DGUPROF
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/work/src/sys -I/work/src/sys/dev -I/work/src/sys/contrib/dev/acpica -I/work/src/sys/contrib/ipfilter -I/work/src/sys/../include -DGPROF -DGPROF4 -DGUPROF -D_KERNEL -ffreestanding -include opt_global.h -fno-common  -malign-functions=4 -fno-builtin -mpreferred-stack-boundary=2  -pg -mprofiler-epilogue vers.c
linking kernel
fore_command.o: In function `fore_cmd_drain':
fore_command.o(.text+0x2ad): undefined reference to `KM_COPY'
fore_output.o: In function `fore_xmit_segment':
fore_output.o(.text+0x2d6): undefined reference to `KM_COPY'
*** Error code 1

Stop in /work/obj/work/src/sys/LINT.
*** Error code 1

Stop in /work/src.
*** Error code 1

Stop in /work/src.


Best regards,
Mike Barcroft

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?20020420125510.M29857>