Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Mar 2009 03:07:23 +0300
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        Oliver Pinter <oliver.pntr@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: [FreeBSD 8-CURRENT] compile error
Message-ID:  <20090306000723.GB1081@darklight.homeunix.org>
In-Reply-To: <6101e8c40903051506m3fbb16a2yba99b932e3432f70@mail.gmail.com>
References:  <6101e8c40903051506m3fbb16a2yba99b932e3432f70@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090306000723.GB1081>