Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2002 08:30:54 -0700 (PDT)
From:      Shawn Webb <swebb417@softhome.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/44056: Recompile problem in FreeBSD 4.7
Message-ID:  <200210141530.g9EFUs3m061532@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         44056
>Category:       i386
>Synopsis:       Recompile problem in FreeBSD 4.7
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 14 08:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Shawn Webb
>Release:        4.7
>Organization:
Webbsyte Computers
>Environment:
FreeBSD war1.lan 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct  9 15:08:34 GMT 2002     root@builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
      Can't recompile the kernel. There is some problems within the code:

linking kernel
umass.o: In function `umass_cam_attach_sim':
umass.o(.text+0x137f): undefined reference to `cam_simq_alloc'
umass.o(.text+0x13a5): undefined reference to `cam_sim_alloc'
umass.o(.text+0x13be): undefined reference to `xpt_bus_register'
umass.o(.text+0x13ce): undefined reference to `cam_simq_free'
umass.o: In function `umass_cam_rescan_callback':
umass.o(.text+0x13e7): undefined reference to `xpt_free_path'
umass.o: In function `umass_cam_rescan':
umass.o(.text+0x1431): undefined reference to `xpt_periph'
umass.o(.text+0x143a): undefined reference to `xpt_create_path'
umass.o(.text+0x144d): undefined reference to `xpt_setup_ccb'
umass.o(.text+0x1468): undefined reference to `xpt_action'
umass.o: In function `umass_cam_detach_sim':
umass.o(.text+0x151f): undefined reference to `xpt_bus_deregister'
umass.o(.text+0x153d): undefined reference to `cam_sim_free'
umass.o: In function `umass_cam_detach':
umass.o(.text+0x157e): undefined reference to `xpt_create_path'
umass.o(.text+0x159f): undefined reference to `xpt_async'
umass.o(.text+0x15a7): undefined reference to `xpt_free_path'
umass.o: In function `umass_cam_action':
umass.o(.text+0x18c5): undefined reference to `xpt_done'
umass.o(.text+0x18d5): undefined reference to `xpt_done'
umass.o: In function `umass_cam_cb':
umass.o(.text+0x19d1): undefined reference to `xpt_done'
umass.o: In function `umass_cam_sense_cb':
umass.o(.text+0x1ad8): undefined reference to `xpt_done'
umass.o(.text+0x1ae9): undefined reference to `xpt_done'
umass.o(.text+0x1b03): more undefined references to `xpt_done' follow
*** Error code 1

>How-To-Repeat:
      Add these lines to GENERIC:
# Firewall support
options IPFILTER
options IPFIREWALL
options IPDIVERT
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=200
options IPFIREWALL_DEFAULT_TO_ACCEPT

# Snoop, Snoop
pseudo-device snp       3

options QUOTA
options USER_LDT
# End

Next, compile GENERIC:

cd /usr/src && make buildkernel KERNCONF=GENERIC && make installkernel KERNCONF=GENERIC
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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