Re: Building custom kernel - 'make' fails in FreeBSD 5.3
Fred Patmore wrote: Guess this is why some say 99% of users are users :-) Oops, meant to say 99% of users are lusers.. darn, guess I am one of them ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Building custom kernel - 'make' fails in FreeBSD 5.3
Hi, I've just installed FreeBSD (after removing it due to portupgrade gone awry), did CVSup and now trying to build a custom kernel. make depend was successful but I get the following error messages when doing 'make' [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] make linking kernel umass.o(.text+0x1ab3): In function `umass_cam_attach_sim': : undefined reference to `cam_simq_alloc' umass.o(.text+0x1b04): In function `umass_cam_attach_sim': : undefined reference to `cam_sim_alloc' umass.o(.text+0x1b13): In function `umass_cam_attach_sim': : undefined reference to `cam_simq_free' umass.o(.text+0x1b35): In function `umass_cam_attach_sim': : undefined reference to `xpt_bus_register' umass.o(.text+0x1b61): In function `umass_cam_rescan_callback': : undefined reference to `xpt_free_path' umass.o(.text+0x1bd4): In function `umass_cam_rescan': : undefined reference to `xpt_periph' umass.o(.text+0x1be3): In function `umass_cam_rescan': : undefined reference to `xpt_create_path' umass.o(.text+0x1bff): In function `umass_cam_rescan': : undefined reference to `xpt_setup_ccb' umass.o(.text+0x1c1c): In function `umass_cam_rescan': : undefined reference to `xpt_action' umass.o(.text+0x1cfa): In function `umass_cam_detach_sim': : undefined reference to `xpt_bus_deregister' umass.o(.text+0x1d16): In function `umass_cam_detach_sim': : undefined reference to `cam_sim_free' umass.o(.text+0x1d5d): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1dd6): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1df5): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1e9d): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1f71): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1fbf): more undefined references to `xpt_done' follow umass.o(.text+0x2185): In function `umass_cam_action': : undefined reference to `cam_calc_geometry' umass.o(.text+0x218d): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x219e): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x21af): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x2221): In function `umass_cam_cb': : undefined reference to `xpt_done' umass.o(.text+0x231b): In function `umass_cam_cb': : undefined reference to `xpt_done' umass.o(.text+0x233f): more undefined references to `xpt_done' follow *** Error code 1 'make' Stop in /usr/src/sys/i386/compile/C-KERNEL. [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] -- This is my kernel conf # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.6.2.2 2004/10/24 18:02:52 scottl Exp $ machine i386 #cpu I486_CPU #cpu I586_CPU cpu I686_CPU ident C-KERNEL # To statically compile in device wiring instead of /boot/device.hints #hints GENERIC.hints # Default places to look for devices. options SCHED_4BSD # 4BSD scheduler options INET # InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device #options NFSCLIENT # Network Filesystem Client #options NFSSERVER # Network Filesystem Server #options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem #options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options
Re: Building custom kernel - 'make' fails in FreeBSD 5.3
Miguel Mendez wrote: Miguel Mendez wrote: On Wed, 15 Dec 2004 17:14:48 +0100 Fred Patmore [EMAIL PROTECTED] wrote: Hi, but I get the following error messages when doing 'make' [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] make linking kernel [...] : undefined reference to `xpt_done' umass.o(.text+0x233f): more undefined references to `xpt_done' follow *** Error code 1 Yes, it's explained in the GENERIC config file: device umass # Disks/Mass storage - Requires scbus and da ^^^ Cheers, On Wed, 15 Dec 2004 17:14:48 +0100 Fred Patmore [EMAIL PROTECTED] wrote: Hi, but I get the following error messages when doing 'make' [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] make linking kernel [...] : undefined reference to `xpt_done' umass.o(.text+0x233f): more undefined references to `xpt_done' follow *** Error code 1 Yes, it's explained in the GENERIC config file: device umass # Disks/Mass storage - Requires scbus and da ^^^ Cheers, Ack ! I eyeballed areas where Ive made some changes several times and completely ignore the others due to I didnt touch it so they should be trouble-free mentality. Should have just searched for 'umass' :-( Guess this is why some say 99% of users are users :-) Thanks for your help, its compiling neatly this time ! Fred P. [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]