From owner-freebsd-questions@FreeBSD.ORG Mon Jun 16 22:15:52 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 D78D237B401 for ; Mon, 16 Jun 2003 22:15:52 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACC5F43F75 for ; Mon, 16 Jun 2003 22:15:51 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h5H5FcD22491; Mon, 16 Jun 2003 22:15:38 -0700 From: Kent Stewart To: "Duke, Brian" , Date: Mon, 16 Jun 2003 22:15:36 -0700 User-Agent: KMail/1.5.2 References: <1AD041D9121C43498ACFBCBF1B3FE2480B27FA@idc1exc0004.corp.global.level3.com> In-Reply-To: <1AD041D9121C43498ACFBCBF1B3FE2480B27FA@idc1exc0004.corp.global.level3.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200306162215.36606.kstewart@owt.com> Subject: Re: 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 05:15:53 -0000 On Monday 16 June 2003 09:02 pm, Duke, Brian wrote: > 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 =20 > 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 =20 > /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 > > 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 > > > > I cannot seem to rebuild my kernel. I wanted to get my sound card worki= ng > > 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 > > 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=20 > > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast- qual=20 > > -fformat-extensions -std=3Dc99 -DKLD_MODULE -nostdinc -I- -I. -I@ -I@= /dev This looks like one of those problems they have been dealing with on -curre= nt.=20 They changed the -std option and I think you need to re-cvsup and start ove= r. The old rule on make.conf is that if you add something and it doesn't work.= =20 Comment it out and start over. I think you have dug a deep hole and fell in= =2E=20 I don't have any idea on the solution. Kent > > -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=20 > > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast- qual=20 > > -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 u= se > > 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 > > > > > > The contents of /var/run/dmesg/boot > > 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 reserve= d. > > 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 > > =20 > > Features=3D0x383f9ff >OV,PAT,PSE36,MMX,FXSR,SSE> 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: > bridge> 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: