Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2000 07:17:43 -0800 (PST)
From:      David Daugherty <doc@wcug.wwu.edu>
To:        freebsd-questions@freebsd.org
Subject:   make of 4.0-stable
Message-ID:  <Pine.LNX.3.96.1000324071325.13299A-100000@sloth>

next in thread | raw e-mail | index | archive | help
I've read through LINT and can't seem to figure out where in my config I'm
getting this error message from.

 -include opt_global.h -elf   ../../dev/ppbus/if_plip.c
../../dev/ppbus/if_plip.c: In function `lp_identify':
../../dev/ppbus/if_plip.c:189: warning: implicit declaration of function
`BUS_ADD_CHILD'
../../dev/ppbus/if_plip.c: In function `lpioctl':
../../dev/ppbus/if_plip.c:356: warning: passing arg 4 of `BUS_SETUP_INTR'
makes pointer from integer without a cast
../../dev/ppbus/if_plip.c:356: warning: passing arg 6 of `BUS_SETUP_INTR'
from incompatible pointer type
../../dev/ppbus/if_plip.c:356: too many arguments to function
`BUS_SETUP_INTR'
../../dev/ppbus/if_plip.c: At top level:
../../dev/ppbus/if_plip.c:777: `device_identify_desc' undeclared here (not
in a function)
../../dev/ppbus/if_plip.c:777: initializer element for
`lp_methods[0].desc' is not constant
*** Error code 1

I've tried many different configurations around the parallel port bus in
config and I can't get the kernel to make.

The relevant parts of my config file are:
# Parallel port
device          ppc0    at isa? irq 7
device          ppbus           # Parallel port bus (required)
device          lpt             # Printer
device          plip            # TCP/IP over parallel
device          ppi             # Parallel port interface device

and

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
#pseudo-device  sl      1       # Kernel SLIP
#pseudo-device  ppp     1       # Kernel PPP
#pseudo-device  tun             # Packet tunnel.
pseudo-device   pty             # Pseudo-ttys (telnet etc)
#pseudo-device  md              # Memory "disks"
#pseudo-device  gif     4       # IPv6 and IPv4 tunneling
#pseudo-device  faith   1       # IPv6-to-IPv4 relaying (translation)

Thanks in advance for any help on this.

David
doc@wcug.wwu.edu
Washington State Resident
ICQ 21106703



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.1000324071325.13299A-100000>