Re: [FreeBSD 8-CURRENT] compile error

From: Yuri Pankov <yuri.pankov_at_gmail.com>
Date: Fri, 6 Mar 2009 03:07:23 +0300
On Fri, Mar 06, 2009 at 12:06:09AM +0100, Oliver Pinter wrote:
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=nocona
> -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc
> -I.  -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
> -finline-limit=8000 --param inline-unit-growth=100 --param
> large-function-growth=1000  -fno-omit-frame-pointer -mcmodel=kernel
> -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx
> -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables
> -ffreestanding -fstack-protector -Werror  vers.c
> linking kernel.debug
> if_plip.o(.text+0x331): In function `lpstop':
> /usr/src/sys/dev/ppbus/if_plip.c:352: undefined reference to
> `_ppb_assert_locked'
> if_plip.o(.text+0x346): In function `lpstop':
> ./ppbus_if.h:27: undefined reference to `ppbus_io_desc'
<snip>
> # Parallel port
> #device               ppc
> #device               ppbus           # Parallel port bus (required)
> #device               lpt             # Printer
> device                plip            # TCP/IP over parallel
<snip>
   
Both `device ppbus' and `device ppc' are required for `device plip'
(man 4 plip).
   
   
HTH,
Yuri
Received on Thu Mar 05 2009 - 23:28:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:43 UTC