Compiling new kernel fails on 7.0RC3
E. J. Cerejo
ecerejo at optonline.net
Sun Feb 24 23:21:57 UTC 2008
On Mon, 25 Feb 2008 00:00:40 +0100
Erik Trulsson <ertr1013 at student.uu.se> wrote:
> On Sun, Feb 24, 2008 at 05:34:20PM -0500, E. J. Cerejo wrote:
> > After having a few problems with Fbsd 6.3 stable I decided to try 7.0 which
> > impressed me right away because I noticed right away that it performed
> > better on my computer. Now I decided to build my own custom kernel and
> > after running the first command:
> > %buildkernel KERNCONF=mykernel
> > I get this error after it runs for about 15 minutes:
> > linking kernel.debug
> > vpo.o(.text+0x6b): In function `vpo_attach':
> > /usr/src/sys/dev/ppbus/vpo.c:159: undefined reference to `cam_simq_alloc'
> > vpo.o(.text+0xc2):/usr/src/sys/dev/ppbus/vpo.c:164: undefined reference to
> > `cam_sim_alloc'
> > umass.o(.text+0x24ba): In function `umass_cam_rescan':
> > /usr/src/sys/dev/usb/umass.c:2644: undefined reference to `xpt_periph'
> > umass.o(.text+0x24c9):/usr/src/sys/dev/usb/umass.c:2644: undefined
> > reference to `xpt_create_path'
> > umass.o(.text+0x24f7):/usr/src/sys/dev/usb/umass.c:2651: undefined
> > reference to `xpt_setup_ccb'
> > umass.o(.text+0x2514):/usr/src/sys/dev/usb/umass.c:2655: undefined
> > reference to `xpt_action'
> > Can anyone make anything out of this? My USB section on my kernel file
> > looks like this:
> > # USB support
> > device uhci # UHCI PCI->USB interface
> > device ohci # OHCI PCI->USB interface
> > device usb # USB Bus (required)
> > device udbp # USB Double Bulk Pipe devices
> > device ugen # Generic
> > device uhid # "Human Interface Devices"
> > device ukbd # Keyboard
> > device ulpt # Printer
> > device umass # Disks/Mass storage - Requires scbus and da
> Well, do you have 'device scbus' and 'device da' in your kernel config?
> If not, I suggest you add them back.
You were right! I deleted them by mistake!
I just edited the kernel file and added them in, now do I have to clean any directory or just run the buildkernel KERNCONF=mykernel again?
More information about the freebsd-questions