error in pci_cfgreg.c

2000-10-16 Thread Valentin Chopov

I got this error while compiling the last kernel: 
 

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




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



error in pci_cfgreg.c

2000-10-16 Thread Are Folkestad

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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: error in pci_cfgreg.c

2000-10-16 Thread Warner Losh

In message [EMAIL PROTECTED] Valentin Chopov 
writes:
: I got this error while compiling the last kernel: 

Sorry about that.  I committed some of mike's changes at his request
and didn't manage to commit them all.  I've fixed this now.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: error in pci_cfgreg.c

2000-10-16 Thread Warner Losh

In message [EMAIL PROTECTED] Are Folkestad writes:
: Build kernel breaks in pci_cfreg.c :

I screwed up and didn't commit some bits.  Please re cvsup and try
again.  Sorry about that.  It is all in the service of cardbus.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message