From owner-freebsd-hackers Mon Sep 20 6:30:52 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ockle.nanoteq.co.za (ockle.nanoteq.co.za [196.37.91.54]) by hub.freebsd.org (Postfix) with ESMTP id BC99514C3F; Mon, 20 Sep 1999 06:30:25 -0700 (PDT) (envelope-from jkruger@oskar.nanoteq.co.za) Received: from oskar.nanoteq.co.za (localhost.nanoteq.co.za [127.0.0.1]) by ockle.nanoteq.co.za (8.9.3/8.9.3) with ESMTP id PAA70031; Mon, 20 Sep 1999 15:27:46 +0200 (SAST) (envelope-from jkruger@oskar.nanoteq.co.za) Message-ID: <37E63651.CE1F2E41@oskar.nanoteq.co.za> Date: Mon, 20 Sep 1999 15:27:45 +0200 From: Johan Kruger Reply-To: jkruger@oskar.nanoteq.co.za Organization: Nanoteq X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-STABLE-990722 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Crunching pkg_add ? Content-Type: multipart/mixed; boundary="------------9988C1F91264127D3E0093E5" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------9988C1F91264127D3E0093E5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I've been playing with picobsd ( the router option ) and have been adding stuff to crunch - no problem, untile i wanted to add pkg_add to crunch. The problem is is that libinstall.a uses cleanup that is defined elsewhere. How do i add pkg_add to the crunch binary ? I use the following in crunch.conf: ------------------------------------------------------- progs add special add srcdir /usr/src/usr.sbin/pkg_install/add libs -L/usr/src/usr.sbin/pkg_install/lib -linstall -lmd ------------------------------------------------------- I get the following : look at attachment if you like ? --------------9988C1F91264127D3E0093E5 Content-Type: application/x-troff; name="t.t" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="t.t" /usr/src/usr.sbin/pkg_install/lib/libinstall.a(plist.o): In function `read_plist': plist.o(.text+0x58c): undefined reference to `cleanup' /usr/src/usr.sbin/pkg_install/lib/libinstall.a(plist.o): In function `write_plist': plist.o(.text+0x767): undefined reference to `cleanup' /usr/src/usr.sbin/pkg_install/lib/libinstall.a(file.o): In function `fileGetContents': file.o(.text+0x71d): undefined reference to `cleanup' file.o(.text+0x754): undefined reference to `cleanup' file.o(.text+0x797): undefined reference to `cleanup' /usr/src/usr.sbin/pkg_install/lib/libinstall.a(file.o)(.text+0x908): more undefined references to `cleanup' follow *** Error code 1 Stop. *** Error code 1 --------------9988C1F91264127D3E0093E5 Content-Type: text/x-vcard; charset=us-ascii; name="jkruger.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Johan Kruger Content-Disposition: attachment; filename="jkruger.vcf" begin:vcard n:Kruger;Johan tel;cell:+27 83 3015923 tel;fax:+27 12 6651343 tel;home:+27 83 3015923 tel;work:+27 12 6651338 x-mozilla-html:FALSE org:Nanoteq;Development version:2.1 email;internet:jkruger@oskar.nanoteq.co.za title:Mr adr;quoted-printable:;;P.O BOX 12872=0D=0AOnderstepoort=0D=0A0110=0D=0ASouth Africa;Pretoria;Gauteng;0110;South Africa x-mozilla-cpt:;0 fn:Johan Kruger end:vcard --------------9988C1F91264127D3E0093E5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message