Date: Mon, 20 Sep 1999 15:31:30 +0200 From: Johan Kruger <jkruger@oskar.nanoteq.co.za> To: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Crunching pkg_add ? Message-ID: <37E63732.37A30DE8@oskar.nanoteq.co.za>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37E63732.37A30DE8>