Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 2010 16:32:46 +0100 (BST)
From:      Jamie Landeg Jones <jamie@bishopston.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ben@wanderview.com
Subject:   bin/146835: ifmcstat fails to build without KVM and with INET6 (FIX INCLUDED)
Message-ID:  <201005221532.o4MFWk8p031367@catflap.bishopston.net>
Resent-Message-ID: <201005221540.o4MFe1ZE011841@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         146835
>Category:       bin
>Synopsis:       ifmcstat fails to build without KVM and with INET6 (FIX INCLUDED)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 22 15:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Jamie Landeg Jones
>Release:        FreeBSD 8.0-STABLE i386
>Organization:
http://www.bishopston.com/jamie/
>Environment:
System: FreeBSD catflap.bishopston.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri May 21 20:22:35 BST 2010 root@catflap.bishopston.net:/usr/obj/usr/src/sys/CATFLAP i386


	
>Description:

This was reported to the list as being a problem in head. I'm also getting the same problem
with *default release=cvs tag=RELENG_8.

P.S. Thanks Ben for this post, I'm turning it into a PR

 | From ben at wanderview.com  Sun Nov  1 17:51:44 2009
 | From: ben at wanderview.com (Ben Kelly)
 | Date: Sun Nov  1 17:51:50 2009
 | Subject: ifmcstat fails to build without KVM and with INET6
 | Message-ID: <92BA99AC-E038-44F4-A443-91FF5AA2968F@wanderview.com>
 | 
 | Hello all,
 | 
 | I'm having difficulty compiling a freshly updated checkout of head  
 | using WITHOUT_KVM src.conf.  The error is in src/usr.sbin/ifmcstat/ 
 | ifmcstat.c.  It appears the problem is due to the in6_ifinfo()  
 | function definition being incorrectly under an #ifdef WITH_KVM  
 | section.  I was able to fix the problem with the attached patch.
 | 
 | Just FYI in case anyone else hits this problem.
 | 
 | - Ben


>How-To-Repeat:
	Build world with WITHOUT_KVM in /etc/src.conf
>Fix:

Bens working patch is here: http://lists.freebsd.org/pipermail/freebsd-current/attachments/20091101/40848244/ifmcstat.obj

	


>Release-Note:
>Audit-Trail:
>Unformatted:



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