From owner-freebsd-questions@FreeBSD.ORG Mon Jun 16 21:02:37 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 587E437B401 for ; Mon, 16 Jun 2003 21:02:37 -0700 (PDT) Received: from f1ee40-19.idc1.level3.com (machine77.Level3.com [209.244.4.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2684D43F93 for ; Mon, 16 Jun 2003 21:02:36 -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 EAA12637 for ; Tue, 17 Jun 2003 04:02:35 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 22:02:35 -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 22:02:34 -0600 Message-ID: <1AD041D9121C43498ACFBCBF1B3FE2480B27FA@idc1exc0004.corp.global.level3.com> Thread-Topic: /usr/src/sys/dev/en/midway.c:1607: dereferencing pointer to incomplete type Thread-Index: AcMz5SXRTlFQV59uEdedZQCw0KUQxQAnbdGw From: "Duke, Brian" To: "Duke, Brian" , X-OriginalArrivalTime: 17 Jun 2003 04:02:35.0132 (UTC) FILETIME=[48B063C0:01C33485] Subject: Buildworld ERROR CODE 2 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: Tue, 17 Jun 2003 04:02:37 -0000 ok I didn't get an answer on my first email so I tried to do a complete = buildworld here is a transcript of the output: ranlib libc_pic.a ranlib libc_p.a ranlib libc.a install -C -C -o root -g wheel -m 444 libc.a = /usr/obj/usr/src/i386/usr/lib install -C -C -o root -g wheel -m 444 libc_p.a = /usr/obj/usr/src/i386/usr/lib install -C -s -o root -g wheel -m 444 libc.so.5 = /usr/obj/usr/src/i386/usr/lib ln -fs libc.so.5 /usr/obj/usr/src/i386/usr/lib/libc.so install -C -o root -g wheel -m 444 libc_pic.a = /usr/obj/usr/src/i386/usr/lib 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 I made only moderate changes to the make.conf...like my CPUBuild=3Di586. I am in single user mode. Someone please help. I am NOT good enough to = troubleshoot this. > -----Original Message----- > From: Duke, Brian =20 > Sent: Monday, June 16, 2003 2:57 AM > To: 'freebsd-questions@freebsd.org' > Subject: /usr/src/sys/dev/en/midway.c:1607: dereferencing pointer to = incomplete type >=20 > 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 >=20 > error: >=20 > =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>=20 > /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 >=20 > Stop in /usr/src/sys/modules/en. > *** Error code 1 >=20 > Stop in /usr/src/sys/modules. > *** Error code 1 >=20 > Stop in /usr/obj/usr/src/sys/RAINBUILD. > *** Error code 1 >=20 > Stop in /usr/src. > *** Error code 1 >=20 > Stop in /usr/src. > rain# >=20 > My FreeBSD version number > 5.1 cvsup with new STANDARD-SUPFILE and PORTS-SUPFILE=20 >=20 >=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: