Date: Mon, 25 Feb 2008 00:00:27 +0100 (CET) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: "E. J. Cerejo" <ecerejo@optonline.net> Cc: FreeBSD-questions@freebsd.org Subject: Re: Compiling new kernel fails on 7.0RC3 Message-ID: <20080225000005.G5464@wojtek.tensor.gdynia.pl> In-Reply-To: <47C1F0EC.5040604@optonline.net> References: <47C1F0EC.5040604@optonline.net>
next in thread | previous in thread | raw e-mail | index | archive | help
add device scbus or remove vpo On Sun, 24 Feb 2008, 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' > vpo.o(.text+0xd1):/usr/src/sys/dev/ppbus/vpo.c:168: undefined reference to > `cam_simq_free' > vpo.o(.text+0xef):/usr/src/sys/dev/ppbus/vpo.c:172: undefined reference to > `xpt_bus_register' > vpo.o(.text+0x106):/usr/src/sys/dev/ppbus/vpo.c:173: undefined reference to > `cam_sim_free' > vpo.o(.text+0x14d):/usr/src/sys/dev/ppbus/vpo.c:196: undefined reference to > `xpt_periph' > vpo.o(.text+0x15c):/usr/src/sys/dev/ppbus/vpo.c:196: undefined reference to > `xpt_create_path' > vpo.o(.text+0x18f):/usr/src/sys/dev/ppbus/vpo.c:203: undefined reference to > `xpt_setup_ccb' > vpo.o(.text+0x1ac):/usr/src/sys/dev/ppbus/vpo.c:207: undefined reference to > `xpt_action' > vpo.o(.text+0x422): In function `vpo_action': > /usr/src/sys/dev/ppbus/vpo.c:357: undefined reference to `xpt_done' > vpo.o(.text+0x463):/usr/src/sys/dev/ppbus/vpo.c:383: undefined reference to > `xpt_done' > vpo.o(.text+0x48c):/usr/src/sys/dev/ppbus/vpo.c:396: undefined reference to > `xpt_done' > vpo.o(.text+0x4af):/usr/src/sys/dev/ppbus/vpo.c:402: undefined reference to > `xpt_done' > vpo.o(.text+0x4c3):/usr/src/sys/dev/ppbus/vpo.c:408: undefined reference to > `xpt_done' > vpo.o(.text+0x57a):/usr/src/sys/dev/ppbus/vpo.c:434: more undefined > references to `xpt_done' follow > udbp.o(.text+0x47): In function `ng_udbp_disconnect': > /usr/src/sys/dev/usb/udbp.c:857: undefined reference to `ng_rmnode_self' > udbp.o(.text+0xab): In function `udbp_detach': > /usr/src/sys/dev/usb/udbp.c:450: undefined reference to `ng_rmnode_self' > udbp.o(.text+0xc0):/usr/src/sys/dev/usb/udbp.c:452: undefined reference to > `ng_unref_node' > udbp.o(.text+0x742): In function `udbp_attach': > /usr/src/sys/dev/usb/udbp.c:375: undefined reference to `ng_newtype' > udbp.o(.text+0x770):/usr/src/sys/dev/usb/udbp.c:381: undefined reference to > `ng_make_node_common' > udbp.o(.text+0x7b7):/usr/src/sys/dev/usb/udbp.c:384: undefined reference to > `ng_name_node' > udbp.o(.text+0x7cc):/usr/src/sys/dev/usb/udbp.c:385: undefined reference to > `ng_unref_node' > udbp.o(.text+0x91f): In function `ng_udbp_rcvmsg': > /usr/src/sys/dev/usb/udbp.c:705: undefined reference to `M_NETGRAPH_MSG' > udbp.o(.text+0x9d9):/usr/src/sys/dev/usb/udbp.c:733: undefined reference to > `ng_address_ID' > udbp.o(.text+0x9f2):/usr/src/sys/dev/usb/udbp.c:733: undefined reference to > `ng_snd_item' > udbp.o(.text+0xa01):/usr/src/sys/dev/usb/udbp.c:733: undefined reference to > `ng_free_item' > udbp.o(.text+0xa0d):/usr/src/sys/dev/usb/udbp.c:734: undefined reference to > `M_NETGRAPH_MSG' > udbp.o(.text+0xa85): In function `udbp_in_transfer_cb': > /usr/src/sys/dev/usb/udbp.c:531: undefined reference to `ng_package_data' > udbp.o(.text+0xaaa):/usr/src/sys/dev/usb/udbp.c:531: undefined reference to > `ng_address_hook' > udbp.o(.text+0xabe):/usr/src/sys/dev/usb/udbp.c:531: undefined reference to > `ng_snd_item' > udbp.o(.text+0xc81): In function `ng_udbp_rmnode': > /usr/src/sys/dev/usb/udbp.c:815: undefined reference to `ng_unref_node' > udbp.o(.text+0xc94):/usr/src/sys/dev/usb/udbp.c:817: undefined reference to > `ng_make_node_common' > udbp.o(.text+0xccd):/usr/src/sys/dev/usb/udbp.c:820: undefined reference to > `ng_name_node' > udbp.o(.text+0xcde):/usr/src/sys/dev/usb/udbp.c:821: undefined reference to > `ng_unref_node' > udbp.o(.text+0xd25): In function `ng_udbp_rcvdata': > /usr/src/sys/dev/usb/udbp.c:752: undefined reference to `ng_free_item' > udbp.o(.rodata+0x20): In function `ng_udbp_disconnect': > /usr/src/sys/dev/usb/udbp.c:851: undefined reference to `ng_parse_int32_type' > udbp.o(.rodata+0x3c):/usr/src/sys/dev/usb/udbp.c:855: undefined reference to > `ng_parse_struct_type' > udbp.o(.rodata+0x64): In function `udbp_detach': > /usr/src/sys/dev/usb/udbp.c:434: undefined reference to `ng_parse_int32_type' > udbp.o(.rodata+0x70):/usr/src/sys/dev/usb/udbp.c:440: undefined reference to > `ng_parse_int32_type' > umass.o(.text+0x1c): In function `umass_cam_detach_sim': > /usr/src/sys/dev/usb/umass.c:2694: undefined reference to > `xpt_bus_deregister' > umass.o(.text+0x38):/usr/src/sys/dev/usb/umass.c:2695: undefined reference to > `cam_sim_free' > umass.o(.text+0x40c): In function `umass_cam_quirk_cb': > /usr/src/sys/dev/usb/umass.c:3236: undefined reference to `xpt_done' > umass.o(.text+0x424):/usr/src/sys/dev/usb/umass.c:3245: undefined reference > to `xpt_done' > umass.o(.text+0x449): In function `umass_cam_sense_cb': > /usr/src/sys/dev/usb/umass.c:3136: undefined reference to `xpt_done' > umass.o(.text+0x56b):/usr/src/sys/dev/usb/umass.c:3210: undefined reference > to `xpt_done' > umass.o(.text+0x57c):/usr/src/sys/dev/usb/umass.c:3217: undefined reference > to `xpt_done' > umass.o(.text+0x5aa):/usr/src/sys/dev/usb/umass.c:3043: more undefined > references to `xpt_done' follow > umass.o(.text+0xcd2): In function `umass_cam_action': > /usr/src/sys/dev/usb/umass.c:2987: undefined reference to `cam_calc_geometry' > umass.o(.text+0xcda):/usr/src/sys/dev/usb/umass.c:2988: undefined reference > to `xpt_done' > umass.o(.text+0xceb):/usr/src/sys/dev/usb/umass.c:2999: undefined reference > to `xpt_done' > umass.o(.text+0xcfd):/usr/src/sys/dev/usb/umass.c:3011: undefined reference > to `xpt_done' > umass.o(.text+0x1127): In function `umass_attach': > /usr/src/sys/dev/usb/umass.c:2587: undefined reference to `cam_simq_alloc' > umass.o(.text+0x117b):/usr/src/sys/dev/usb/umass.c:2591: undefined reference > to `cam_sim_alloc' > umass.o(.text+0x118a):/usr/src/sys/dev/usb/umass.c:2600: undefined reference > to `cam_simq_free' > umass.o(.text+0x11af):/usr/src/sys/dev/usb/umass.c:2604: undefined reference > to `xpt_bus_register' > umass.o(.text+0x12c7): In function `umass_cam_rescan_callback': > /usr/src/sys/dev/usb/umass.c:2625: undefined reference to `xpt_free_path' > 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' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/mykernel. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > ---------------------------------------------------------x------------------------------------------------------------ > > > 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 > device ums # Mouse > #device urio # Diamond Rio 500 MP3 player > device uscanner # Scanners > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080225000005.G5464>