From owner-freebsd-current Mon Oct 16 12:44:58 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail49.fg.online.no (mail49-s.fg.online.no [148.122.161.49]) by hub.freebsd.org (Postfix) with ESMTP id DFC5437B66F for ; Mon, 16 Oct 2000 12:44:53 -0700 (PDT) Received: from online.no (ti21a67-0069.dialup.online.no [130.67.203.197]) by mail49.fg.online.no (8.9.3/8.9.3) with ESMTP id VAA04946 for ; Mon, 16 Oct 2000 21:44:50 +0200 (MET DST) Message-ID: <39EB76A8.35F2CDD1@online.no> Date: Mon, 16 Oct 2000 21:44:08 +0000 From: Are Folkestad X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.1.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: current@freebsd.org Subject: error in pci_cfgreg.c Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Build kernel breaks in pci_cfreg.c : cc -c -O -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 -march=i686 -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 Rgds, Are Folkestad To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message