From owner-freebsd-questions@FreeBSD.ORG Wed May 30 14:36:22 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 355EB106564A for ; Wed, 30 May 2012 14:36:22 +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 F00398FC08 for ; Wed, 30 May 2012 14:36:21 +0000 (UTC) Received: by obcni5 with SMTP id ni5so11253475obc.13 for ; Wed, 30 May 2012 07:36:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=8uNf2siK3b4IMtMFf4x7oXdwwvTjJ8422xVtHTkXvL0=; b=NrNfaAnbgi6F3DrXMcDtiQR71nT+pWxL5b2n7wSFGxVQ6VTze0cge4Kym/BrggFaBk pvGHitWl62m6V1Q/17GkKpkvn85NHgNDcXcJSEaFW5ixUZHjNld8navZs7XyXUZxkCjW kSv0TlBThId2lOPgTir1uhw32K7EVnQze1XC/5SALdgDaAnxun47UhXDLrrLiF1PoFrG I9xmPMBzUtcoQj45/R3soQyicDNATLnxtA37mtnT+Cc3epN9a4oQ0oWmVi7B2zae1fZa 66+W1D2g258oq3EX9Xrz01lZ2QTuzZdriyPMgajC0rYbmit10BWvkxiKBS6V1kIj2g1J +tbw== MIME-Version: 1.0 Received: by 10.182.112.102 with SMTP id ip6mr15481567obb.39.1338388581248; Wed, 30 May 2012 07:36:21 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.182.128.38 with HTTP; Wed, 30 May 2012 07:36:21 -0700 (PDT) Date: Wed, 30 May 2012 10:36:21 -0400 X-Google-Sender-Auth: xItH2zmV-G20tzEx3AhYlsHR_m0 Message-ID: From: Rick Miller To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 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 14:36:22 -0000 Hi All, I am attempting to build a bootcrunch file that I will inject into an mfsroot. I'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. Running 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 lines): 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