From wkwu@Omega.csie.NCTU.edu.tw  Tue Oct 17 23:47:48 2000
Return-Path: <wkwu@Omega.csie.NCTU.edu.tw>
Received: from Omega.csie.NCTU.edu.tw (omega.csie.nctu.edu.tw [140.113.214.167])
	by hub.freebsd.org (Postfix) with ESMTP id C9A1D37B4D7
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Oct 2000 23:47:16 -0700 (PDT)
Received: (from wkwu@localhost)
	by Omega.csie.NCTU.edu.tw (8.11.1/8.11.0) id e9I6ihp34675;
	Wed, 18 Oct 2000 14:44:43 +0800 (CST)
	(envelope-from wkwu)
Message-Id: <200010180644.e9I6ihp34675@Omega.csie.NCTU.edu.tw>
Date: Wed, 18 Oct 2000 14:44:43 +0800 (CST)
From: Wei-Kai Wu <wkwu@Omega.csie.NCTU.edu.tw>
Reply-To: wkwu@Omega.csie.NCTU.edu.tw
To: FreeBSD-gnats-submit@freebsd.org
Subject: make kernel failed
X-Send-Pr-Version: 3.2

>Number:         22072
>Category:       kern
>Synopsis:       make kernel failed
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 17 23:50:00 PDT 2000
>Closed-Date:    Tue Oct 31 09:46:25 PST 2000
>Last-Modified:  Tue Oct 31 09:52:30 PST 2000
>Originator:     Wei-Kai Wu
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Kavalan
>Environment:


>Description:

src-cur.4567; make world ok. but make kernel failed:

gcc -c -O2 -pipe -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  ../../i386/pci/pci_cfgreg.c
../../i386/pci/pci_cfgreg.c: In function `pci_cfgregopen':
../../i386/pci/pci_cfgreg.c:95: dereferencing pointer to incomplete type
../../i386/pci/pci_cfgreg.c:99: dereferencing pointer to incomplete type
../../i386/pci/pci_cfgreg.c:100: dereferencing pointer to incomplete type
../../i386/pci/pci_cfgreg.c:100: sizeof applied to an incomplete type
../../i386/pci/pci_cfgreg.c:100: sizeof applied to an incomplete type
../../i386/pci/pci_cfgreg.c: At top level:
../../i386/pci/pci_cfgreg.c:139: warning: no previous prototype for `pci_cfgintr'
../../i386/pci/pci_cfgreg.c: In function `pci_cfgintr':
../../i386/pci/pci_cfgreg.c:150: increment of pointer to unknown structure
../../i386/pci/pci_cfgreg.c:150: arithmetic on pointer to an incomplete type
../../i386/pci/pci_cfgreg.c:151: dereferencing pointer to incomplete type
../../i386/pci/pci_cfgreg.c:151: dereferencing pointer to incomplete type
../../i386/pci/pci_cfgreg.c:153: dereferencing pointer to incomplete type
../../i386/pci/pci_cfgreg.c:153: dereferencing pointer to incomplete type
../../i386/pci/pci_cfgreg.c:157: dereferencing pointer to incomplete type
machine/cpufunc.h:112: warning: inlining failed in call to `ffs'
../../i386/pci/pci_cfgreg.c:157: warning: called from here
../../i386/pci/pci_cfgreg.c:158: dereferencing pointer to incomplete type
*** Error code 1


>How-To-Repeat:


>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: johan 
State-Changed-When: Tue Oct 31 09:46:25 PST 2000 
State-Changed-Why:  
Since both LINT and GENERIC build fine according to 
http://current.jp.FreeBSD.org/build/i386/ 
I belive this is poblem is due to cvsup between comitts. 

Please try a new check out of the src (get the latest cmts). 

Also try to use the buildkernel target in /usr/src which is  
the prefered way to build kernels. 

Since current is changing so fast, in the future please report  
build problem of 5-current to 
freebsd-current@freebsd.org 

Thanks 


http://www.freebsd.org/cgi/query-pr.cgi?pr=22072 
>Unformatted:
