From owner-freebsd-hackers Mon Sep 20 6:34:40 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 0F46514CC5; Mon, 20 Sep 1999 06:34:10 -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 PAA70578; Mon, 20 Sep 1999 15:31:30 +0200 (SAST) (envelope-from jkruger@oskar.nanoteq.co.za) Message-ID: <37E63732.37A30DE8@oskar.nanoteq.co.za> Date: Mon, 20 Sep 1999 15:31:30 +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="------------E9C4C4BC471CC863561B2C69" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------E9C4C4BC471CC863561B2C69 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit '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 ? --------------E9C4C4BC471CC863561B2C69 Content-Type: text/plain; charset=us-ascii; name="err.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="err.txt" /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 --------------E9C4C4BC471CC863561B2C69 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 --------------E9C4C4BC471CC863561B2C69-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message