Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 1999 11:58:15 -0700
From:      Zheng Bokui <bokui@sin.photronics.com>
To:        Mark Ovens <marko@uk.radan.com>, Greg Lehey <grog@lemis.com>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: error recompile kernel
Message-ID:  <372616D7.8A407F34@sin.photronics.com>
References:  <3724F75C.EFF92504@sin.photronics.com> <37243007.DD7565B4@uk.radan.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for all your replies. After reading LINT, I commented out some
unnecessary items in the configuration file. This time everything is OK. I got
smaller and faster kernel.

Regards,
Bokui

Mark Ovens wrote:

> Zheng Bokui wrote:
> >
> > Hi,
> > I just tried to customize my kernel (3.1-stable). After editing the
> > configuration file, I did:
> >
> > # /usr/sbin/config MYKERNEL    # MYKERNEL is the new configuration file
> > # cd ../../compile/MYKERNEL
> > # make depend
> > # make
> >
> > After aroud 20Mins, I got an error. Following is the last few lines:
> >
> > dpt_scsi.o(.text+0x8c0): undefined reference to `xpt_done'
> > dpt_scsi.o: In function `dpt_action':
> > dpt_scsi.o(.text+0x8f7): undefined reference to `xpt_print_path'
> > dpt_scsi.o(.text+0xa10): undefined reference to `xpt_freeze_simq'
> > dpt_scsi.o(.text+0xc5c): undefined reference to `xpt_freeze_simq'
> > dpt_scsi.o(.text+0xe65): undefined reference to `xpt_done'
> > dpt_scsi.o: In function `dpt_attach':
> > dpt_scsi.o(.text+0x1672): undefined reference to `cam_simq_alloc'
> > dpt_scsi.o(.text+0x1692): undefined reference to `xpt_bus_deregister'
> > dpt_scsi.o(.text+0x16a9): undefined reference to `cam_sim_free'
> > dpt_scsi.o(.text+0x16de): undefined reference to `cam_sim_alloc'
> > dpt_scsi.o(.text+0x16ec): undefined reference to `xpt_bus_register'
> > dpt_scsi.o(.text+0x170a): undefined reference to `xpt_create_path'
> > dpt_scsi.o: In function `dpt_intr':
> > dpt_scsi.o(.text+0x1a22): undefined reference to `xpt_done'
> > dpt_scsi.o: In function `dptprocesserror':
> > dpt_scsi.o(.text+0x1bf0): undefined reference to `xpt_done'
> > dpt_scsi.o: In function `dpttimeout':
> > dpt_scsi.o(.text+0x1c12): undefined reference to `xpt_print_path'
> > dpt_scsi.o(.text+0x1c3c): undefined reference to `xpt_print_path'
> > *** Error code 1
> >
> > Stop.
> >
> > What's going wrong? Actually I don't need any SCSI support in my kernel.
> >
>
> You appear to have *some* SCSI stuff in your kernel config file. I
> *think* the messages you are seeing are caused by ``device dpt0''.
>
> Post your kernel config file if you still have problems.
>
> > Thanks in advance,
> > Bokui
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
>
> --
>       FreeBSD - The Power To Serve http://www.freebsd.org
>       My Webpage http://www.users.globalnet.co.uk/~markov
> _______________________________________________________________
> Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK
> CAD/CAM solutions for Sheetmetal Working Industry
> mailto:marko@uk.radan.com                  http://www.radan.com
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message





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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?372616D7.8A407F34>