From owner-freebsd-questions@FreeBSD.ORG Mon Jun 16 01:56:43 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CDF237B401 for ; Mon, 16 Jun 2003 01:56:43 -0700 (PDT) Received: from f1ee40-19.idc1.level3.com (machine77.Level3.com [209.244.4.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4377C43F3F for ; Mon, 16 Jun 2003 01:56:42 -0700 (PDT) (envelope-from Brian.Duke@Level3.com) Received: from idc1exc0001.corp.global.level3.com (localhost [127.0.0.1]) by f1ee40-19.idc1.level3.com (8.8.8p2+Sun/8.8.8) with SMTP id IAA10699 for ; Mon, 16 Jun 2003 08:56:41 GMT Received: from idc1exc0004.corp.global.level3.com ([10.1.8.20]) by idc1exc0001.corp.global.level3.com with Microsoft SMTPSVC(5.0.2195.4905); Mon, 16 Jun 2003 02:56:41 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 16 Jun 2003 02:56:40 -0600 Message-ID: <1AD041D9121C43498ACFBCBF1B3FE2480B27F9@idc1exc0004.corp.global.level3.com> Thread-Topic: /usr/src/sys/dev/en/midway.c:1607: dereferencing pointer to incomplete type Thread-Index: AcMz5SXRTlFQV59uEdedZQCw0KUQxQ== From: "Duke, Brian" To: X-OriginalArrivalTime: 16 Jun 2003 08:56:41.0551 (UTC) FILETIME=[345C7DF0:01C333E5] Subject: /usr/src/sys/dev/en/midway.c:1607: dereferencing pointer to incomplete type X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2003 08:56:43 -0000 I cannot seem to rebuild my kernel. I wanted to get my sound card = working so I included the "device pcm" directive in my kernel config = and I got an error as below.. I could use a hand here if somone has seen this kind of error. Here is the end of the output of the failed compile=20 rain# cd /usr/src rain# make buildkernel KERNCONF=3DRAINBUILD error: =3D=3D=3D> en cc -O -pipe -mcpu=3Dpentiumpro -DENABLE_BPF -D_KERNEL -Wall = -Wredundant-decls -Wnested-externs -Wstrict-prototypes = -Wmissing-prototypes -Wpointer-arith -Winline -Wcast- qual -fformat-extensions -std=3Dc99 -DKLD_MODULE -nostdinc -I- -I. = -I@ -I@/dev -I@/../include -fno-common -g -mno-align-long-strings = -mpreferred-stack-boundary=3D2 -ffre estanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes = -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual = -fformat-extensions -std=3Dc99 -c /usr/ src/sys/pci/if_en_pci.c cc -O -pipe -mcpu=3Dpentiumpro -DENABLE_BPF -D_KERNEL -Wall = -Wredundant-decls -Wnested-externs -Wstrict-prototypes = -Wmissing-prototypes -Wpointer-arith -Winline -Wcast- qual -fformat-extensions -std=3Dc99 -DKLD_MODULE -nostdinc -I- -I. = -I@ -I@/dev -I@/../include -fno-common -g -mno-align-long-strings = -mpreferred-stack-boundary=3D2 -ffre estanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes = -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual = -fformat-extensions -std=3Dc99 -c /usr/ src/sys/dev/en/midway.c /usr/src/sys/dev/en/midway.c: In function `en_get_vccs': /usr/src/sys/dev/en/midway.c:1474: dereferencing pointer to incomplete = type /usr/src/sys/dev/en/midway.c:1474: dereferencing pointer to incomplete = type /usr/src/sys/dev/en/midway.c:1479: dereferencing pointer to incomplete = type /usr/src/sys/dev/en/midway.c:1480: dereferencing pointer to incomplete = type /usr/src/sys/dev/en/midway.c:1488: dereferencing pointer to incomplete = type /usr/src/sys/dev/en/midway.c:1492: dereferencing pointer to incomplete = type /usr/src/sys/dev/en/midway.c:1493: dereferencing pointer to incomplete = type /usr/src/sys/dev/en/midway.c:1493: `ATMIO_FLAG_PVC' undeclared (first = use in this function) /usr/src/sys/dev/en/midway.c:1493: (Each undeclared identifier is = reported only once /usr/src/sys/dev/en/midway.c:1493: for each function it appears in.) /usr/src/sys/dev/en/midway.c:1494: dereferencing pointer to incomplete = type /usr/src/sys/dev/en/midway.c:1495: dereferencing pointer to incomplete = type /usr/src/sys/dev/en/midway.c:1497: dereferencing pointer to incomplete = type /usr/src/sys/dev/en/midway.c:1497: `ATMIO_AAL_5' undeclared (first use = in this function) /usr/src/sys/dev/en/midway.c:1499: dereferencing pointer to incomplete = type /usr/src/sys/dev/en/midway.c:1499: `ATMIO_AAL_0' undeclared (first use = in this function) /usr/src/sys/dev/en/midway.c:1500: dereferencing pointer to incomplete = type /usr/src/sys/dev/en/midway.c:1500: `ATMIO_TRAFFIC_UBR' undeclared (first = use in this function) /usr/src/sys/dev/en/midway.c:1501: dereferencing pointer to incomplete = type /usr/src/sys/dev/en/midway.c:1502: increment of pointer to unknown = structure /usr/src/sys/dev/en/midway.c:1502: arithmetic on pointer to an = incomplete type /usr/src/sys/dev/en/midway.c: In function `en_ioctl': /usr/src/sys/dev/en/midway.c:1591: `SIOCATMGETVCCS' undeclared (first = use in this function) /usr/src/sys/dev/en/midway.c:1600: `SIOCATMGVCCS' undeclared (first use = in this function) /usr/src/sys/dev/en/midway.c:1606: dereferencing pointer to incomplete = type /usr/src/sys/dev/en/midway.c:1607: dereferencing pointer to incomplete = type /usr/src/sys/dev/en/midway.c:1607: dereferencing pointer to incomplete = type *** Error code 1 Stop in /usr/src/sys/modules/en. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/RAINBUILD. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. rain# My FreeBSD version number 5.1 cvsup with new STANDARD-SUPFILE and PORTS-SUPFILE=20 The contents of /var/run/dmesg/boot=20 syncing disks, buffers remaining... 1 1 done Uptime: 5h20m12s Rebooting... Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights = reserved. FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0689000. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 597405320 Hz CPU: Intel Pentium III (597.41-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x683 Stepping =3D 3 = Features=3D0x383f9ff real memory =3D 268435456 (256 MB) avail memory =3D 253681664 (241 MB) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00ede10 pcib0: at pcibus 0 on = motherboard pci0: on pcib0 agp0: mem = 0x44000000-0x47ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) fxp0: port = 0x2000-0x203f mem 0x41100000-0x411fffff,0x41200000-0x41200fff irq 11 at = device 18.0 on pci0 fxp0: Ethernet address 00:d0:b7:52:e2:ef miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 20.0 on pci0 isa0: on isab0 atapci0: port 0x2060-0x206f at device = 20.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x2040-0x205f irq = 11 at device 20.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 20.3 (no driver attached) orm0: