From owner-freebsd-bugs@FreeBSD.ORG Wed Jul 23 17:50:09 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0F0B37B401 for ; Wed, 23 Jul 2003 17:50:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5283D43F85 for ; Wed, 23 Jul 2003 17:50:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6O0o9Up017168 for ; Wed, 23 Jul 2003 17:50:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6O0o9aL017166; Wed, 23 Jul 2003 17:50:09 -0700 (PDT) Date: Wed, 23 Jul 2003 17:50:09 -0700 (PDT) Message-Id: <200307240050.h6O0o9aL017166@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Ian Dowse Subject: Re: bin/54787: Problem compiling sbin/dmesg on FreeBSD 5.1-CURRENT from 23/07/2003 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ian Dowse List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 00:50:10 -0000 The following reply was made to PR bin/54787; it has been noted by GNATS. From: Ian Dowse To: Maciej Korzen Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: bin/54787: Problem compiling sbin/dmesg on FreeBSD 5.1-CURRENT from 23/07/2003 Date: Thu, 24 Jul 2003 01:44:21 +0100 In message <20030723212242.6601950532@example.com>, Maciej Korzen writes: >root@example:~# cd /usr/src/sbin/dmesg >root@example:sbin/dmesg# make clean >rm -f dmesg dmesg.o dmesg.8.gz dmesg.8.cat.gz >root@example:sbin/dmesg# make >Warning: Object directory not changed from original /usr/src/sbin/dmesg >cc -O -pipe -DIPFIREWALL_VERBOSE -DIPFIREWALL_VERBOSE_LIMIT=100 -DIPFIREWALL_D >EF >AULT_TO_ACCEPT -march=pentiumpro -Wsystem-headers -Werror -Wall -Wno-format- >y2 >k -Wno-uninitialized -c dmesg.c >cc1: warnings being treated as errors >dmesg.c: In function `main': >dmesg.c:140: warning: implicit declaration of function `MSGBUF_SEQ_TO_POS' >dmesg.c:140: structure has no member named `msg_wseq' Did you do a buildworld/installworld after upgranding your sources? The MSGBUF_SEQ_TO_POS macro is defined in src/sys/sys/msgbuf.h, and has been there ever since the use of it was added to dmesg.c. Compiling new source code against old headers won't always work, so that is why you need to use the buildworld target. Ian