Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | raw e-mail

[-- Attachment #1 --]
'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 ?
[-- Attachment #2 --]
/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


[-- Attachment #3 --]
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
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37E63732.37A30DE8>