Subject: Re: CVS commit: othersrc/bootstrap-pkgsrc/pax
To: None <tech-pkg@netbsd.org>
From: Jonathan Perkin <sketch@rd.bbc.co.uk>
List: tech-pkg
Date: 10/31/2002 16:23:19
On Thu, Oct 31, 2002 at 05:06:18PM +0100, Alistair Crooks wrote:

> On Fri, Nov 01, 2002 at 01:37:37AM +1100, Charlie Allom wrote:
>
> > Does this work for you?
> > 
> > gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c ../lukemftp/libukem/strlcpy.c -o ../lukemftp/libukem/strlcpy.o
> > ../lukemftp/libukem/strlcpy.c:32: lukemftp.h: No such file or directory
> > *** Error code 1
> > 
> > SunOS tao 5.8 sparc
> > 
> > gcc-2.95.3 & make-3.80 from sunfreeware :)
> 
> Yeah.
>
> gcc -g -O2  -o pax ar_io.o ar_subs.o buf_subs.o cpio.o err.o file_subs.o ftree.o  gen_subs.o getoldopt.o getopt_long.o options.o pat_rep.o pax.o  pwcache.o sel_subs.o setprogname.o strmode.o tables.o tar.o  tty_subs.o __fts13.o vis.o  ../lukemftp/libukem/strlcpy.o  ../mtree/fgetln.o ../mtree/getid.o ../mtree/misc.o  ../mtree/pack_dev.o ../mtree/setmode.o ../mtree/spec.o  ../mtree/stat_flags.o ../mtree/unvis.o
> 
> Using Solaris/x86 version 2.7 /usr/ccs/bin/make

Looks like you built lukemftp first and had the .o lying around.  It
breaks here too with clean checkout.

No biggie I guess - the newer version I have locally links against
libukem.a (too much for now, needs stripping down) which would result
in the same error.

Something akin to christos' libbsdcompat for original Zoularis sounds
like the best solution, there are lots of duplicate non-BSD dependant
functions between lukemftp, mtree, and now pax.

-- 
Jonathan Perkin - Internet Operations Engineer - BBC Internet Services
24x7 Hotline: +44 (0)1628 407 777 (x37777) - http://support.bbc.co.uk/