'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 ?
/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

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:[EMAIL PROTECTED]
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

Reply via email to