[FreeBSD 8-CURRENT] compile error
Yuri Pankov
yuri.pankov at gmail.com
Thu Mar 5 16:28:40 PST 2009
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
More information about the freebsd-current
mailing list