From owner-freebsd-questions@FreeBSD.ORG Wed May 30 15:17:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 74040106564A for ; Wed, 30 May 2012 15:17:04 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3686B8FC1B for ; Wed, 30 May 2012 15:17:04 +0000 (UTC) Received: by obcni5 with SMTP id ni5so11312040obc.13 for ; Wed, 30 May 2012 08:17:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=OvZkLTDzPLWxNwN4deNWjJzDgpHflC1aa6hbud8hE/8=; b=Wvl56/TyUyRJElibKF/h+ajpItwgacBOLorP1ChbIw0cKJQR+T45ONbwYZ6QSgxn8H cG9VuIQUZAcb8TKtNAQ1UBpnlLEP2v5onhlGc9rJoh78kPJa6M8L+/qn7sKtNbzXN/E3 sgd9M9uz/GhDTD6Ht0djh/G68iRIFOPsCnauw8clFmrnzwNUVn75e+BMyTuPHXtP6wte o28Qs4MgmYSDCHM1MnJc92x/SxhZWfKectYRRMX+uWGy66XvEswnMYRVaIPVkpV9qEG2 4Vv2T/VDM5ytVnbJBhV+sYI+Lkhc4fAZJpaYyPjNxdsZi47iABWrLbojisN6TQrOAwmH +4yA== MIME-Version: 1.0 Received: by 10.182.47.66 with SMTP id b2mr15565421obn.2.1338391023500; Wed, 30 May 2012 08:17:03 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.182.128.38 with HTTP; Wed, 30 May 2012 08:17:03 -0700 (PDT) In-Reply-To: References: Date: Wed, 30 May 2012 11:17:03 -0400 X-Google-Sender-Auth: jM9A-yrHAeGnao5Nn3kf1eoNOt0 Message-ID: From: Rick Miller To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Need some help building bootcrunch X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2012 15:17:04 -0000 I changed some things around in the bootcrunch.conf and got it to work. It was building 'fetch'. I moved -lfetch before -lmd and it compiled fine. On Wed, May 30, 2012 at 10:36 AM, Rick Miller wr= ote: > Hi All, > > I am attempting to build a bootcrunch file that I will inject into an > mfsroot. =A0I'm unable to get it built completely and hoping someone > might be able to help me identify the issue. > > crunchgen runs and exits without issue. =A0Running make fails with the > following error indicating it's not able to find, presumably, libmd > which exists. > > /usr/lib/libfetch.a(http.o)(.text+0x8c0): In function > `http_authorize':: undefined reference to `MD5Init' > /usr/lib/libfetch.a(http.o)(.text+0x8d5): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0x8e7): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0x8fc): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0x90e): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0x923): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0x933): In function > `http_authorize':: undefined reference to `MD5Final' > /usr/lib/libfetch.a(http.o)(.text+0x991): In function > `http_authorize':: undefined reference to `MD5Init' > /usr/lib/libfetch.a(http.o)(.text+0x9a3): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0x9b5): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0x9ca): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0x9f9): In function > `http_authorize':: undefined reference to `MD5Final' > /usr/lib/libfetch.a(http.o)(.text+0xa11): In function > `http_authorize':: undefined reference to `MD5Init' > /usr/lib/libfetch.a(http.o)(.text+0xa21): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0xa33): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0xa48): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0xa5a): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0xa88): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0xa93): In function > `http_authorize':: undefined reference to `MD5Final' > /usr/lib/libfetch.a(http.o)(.text+0xcc0): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0xcd2): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0xd1c): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0xd2e): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0xd47): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0xd59): more undefined references to > `MD5Update' follow > /usr/lib/libfetch.a(http.o)(.text+0xdaa): In function > `http_authorize':: undefined reference to `MD5Init' > /usr/lib/libfetch.a(http.o)(.text+0xdbf): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0xdd1): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0xdea): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0xdfc): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0xe46): In function > `http_authorize':: undefined reference to `MD5Update' > /usr/lib/libfetch.a(http.o)(.text+0xe56): In function > `http_authorize':: undefined reference to `MD5Final' > *** Error code 1 > > Stop in bootcrunch. > > This is the bootcrunch.conf (as you can see, -lmd exists on the libs line= s): > > buildopts -DRELEASE_CRUNCH -Dlint > > srcdirs /usr/src/bin > progs hostname > progs pwd > progs rm > progs sh > progs ls > progs test > progs cat > progs df > progs sleep > ln sh -sh > ln test [ > > srcdirs /usr/src/sbin > #progs camcontrol > progs dhclient > progs fsck_ffs > progs ifconfig > progs mount_nfs > progs newfs > progs route > progs rtsol > progs tunefs > progs kenv > progs sysctl > progs mdmfs > progs dmesg > ln fsck_ffs fsck_4.2bsd > ln fsck_ffs fsck_ufs > > srcdirs /usr/src/usr.bin > progs uname > progs cpio > progs find > progs minigzip > progs sed > progs awk > progs fetch > progs ifconfig > ln minigzip gzip > ln minigzip gunzip > ln minigzip zcat > > srcdirs /usr/src/usr.sbin > progs arp > progs sysinstall > progs usbconfig > > srcdirs /usr/src/gnu/usr.bin > progs grep > > libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lz -lnetgraph > libs -ldialog -lncurses -ldisk -lcam -lsbuf -lutil -lufs -ldevinfo -lkvm > libs -lbsdxml -larchive -lbz2 -lusb -lgnuregex -lz -llzma > libs -lfetch -lmd -lssl -lcrypto -ljail -lm > > -- > Take care > Rick Miller --=20 Take care Rick Miller