Subject: Re: Darwin/OS X bmake Installation was Re: Darwin/OS X Bootstrap
To: None <maccult@mac.com>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-pkg
Date: 01/23/2002 17:17:12
> The one in the darwin bootstrap pkgsrc which I would assume to be the same.
> 
> All output from running make -f makefile.boot bootstrap:
> (cd lst.lib; make -f makefile.boot CC="cc" CFLAGS="-I.. -I./.. -I. 
> -I. -DHAVE_CONFIG_H  "-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\"" 
> -DMAKE_BOOTSTRAP " )
> make[1]: Nothing to be done for `all'.
> cc *.o lst.lib/*.o -o bmake.boot
> /usr/bin/ld: multiple definitions of symbol _Lst_Append
> lstAppend.o definition of _Lst_Append in section (__TEXT,__text)

Looks like the directory has been used to bootstrap before and not
cleaned.  You probably have a combination of .o's produced by "make"
and "bmake.boot" from an earlier run.  Do

rm -f *.[ado] */*.[ado]
make -f makefile.boot bootstrap

I'll fix the clean target for the next version.
--sjg