Date: Sun, 22 Sep 1996 17:53:33 -0700 From: Leonard Chung <Leonard@pacbell.net> To: questions@freebsd.org Subject: Kernel Build Error - dereferencing pointer to incomplete type Message-ID: <1.5.4.32.19960923005333.006646bc@pacbell.net>
next in thread | raw e-mail | index | archive | help
I'm trying to build a stripped down Kernel for my 486 so that com3 is enabled and my NE2000 card is on the right IRQ. When I try to compile the kernel, following the directions in the handbook, I get this error: #make [sic] cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -nostdinc -I. -I../.. -I../../sys -I/usr/include -DLEONARDS_KERNEL -DI486_CPU -DXSERVER -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUCONSOLE -DBOUNCE_BUFFERS -DSCSI_DELAY=15 -DCOMPAT_43 -DPROCFS -DFFS -DINET -DMATH_EMULATE -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000 ../../pci/if_de.c *** Error code 1 Stop. If I capture stderr, I get: [sic] ../../pci/if_de.c:2501: `TULIP_BUSMODE_SWRESET' undeclared (first use this function) ../../pci/if_de.c:2524: dereferencing pointer to incomplete type ../../pci/if_de.c:2527: dereferencing pointer to incomplete type ../../pci/if_de.c:2527: dereferencing pointer to incomplete type I've checked through the handbook, but to no avail. What really puzzles me is that make seems to be compiling in some PCI support, even though I deleted the PCI option from the kernel config file. If anybody wants the entire logged output from make, just e-mail me and I'll send it to you privately, as it's pretty long. I'm running this on a 486DX2-80 (AMD) with 12 megs of RAM, a 1.6 gig EIDE HD, and an ISA bus. Also, how can I make more console devices? I tried "./MAKEDEV ttyv4" and "sh MAKEDEV ttyv4" while in the /dev directory to try and make more console devices, but to no avail. MAKEDEV would say "ttyv4 - no such device name". Is there something I'm missing here? Thanks, Leonard # # LEONARDS_KERNEL - Kernel for 486 computer # # machine "i386" cpu "I486_CPU" ident LEONARDS_KERNEL maxusers 10 options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem #options NFS #Network Filesystem #options MSDOSFS #MSDOS Filesystem #options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 options "SCSI_DELAY=15" #Be pessimistic about Joe SCSI device options BOUNCE_BUFFERS #include support for DMA bounce buffers options UCONSOLE #Allow users to grab the console options SYSVSHM options SYSVSEM options SYSVMSG config kernel root on wd0 controller isa0 controller eisa0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller ncr0 controller ahb0 controller ahc0 controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr controller aic0 at isa? port 0x340 bio irq 11 vector aicintr controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr controller scbus0 device sd0 device st0 device cd0 #Only need one of these, the code dynamically grows device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr # syscons is the default console driver, resembling an SCO console device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint #options "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.1 options XSERVER # include code for XFree86 # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std # Mandatory, don't remove device npx0 at isa? port "IO_NPX" irq 13 vector npxintr # # Laptop support (see LINT for more options) # #device apm0 at isa? # Advanced Power Management #options APM_BROKEN_STATCLOCK # Workaround some buggy APM BIOS device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr device sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr device lpt1 at isa? port? tty # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. device de0 device fxp0 device vx0 device ed0 at isa? port 0x280 net irq 11 iomem 0xd8000 vector edintr device ed1 at isa? port 0x300 net irq 11 iomem 0xd8000 vector edintr pseudo-device loop pseudo-device ether pseudo-device log #pseudo-device sl 1 # ijppp uses tun instead of ppp device #pseudo-device ppp 1 pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's -- Leonard Chung <Leonard@eff.org> Support the Blue Ribbon Campaign for free speech online () http://www.eff.org/blueribbon.html /\ "Those who will not reason perish in the act. Those who will not act, perish for that reason." - W. H. Auden
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1.5.4.32.19960923005333.006646bc>