Subject: Re: Build problem on i386
To: None <current-users@netbsd.org>
From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: current-users
Date: 07/07/1999 14:26:57
> On Tue, 6 Jul 1999, C Kane wrote:
> 
> > Paul Newhouse wrote:
> > >all ===> lib/libarch
> > >building shared i386 library (version 0.2)
> > >ld -x -shared  -o /usr/src/lib/libarch/i386/libi386.so.0.2    --whole-archive l
> > ibi386_pic.a --no-whole-archive
> > >ld: libi386_pic.a: No such file or directory
> > >*** Error code 1
> > >
> > >Stop.
> > 
> > I'm getting this, too.
> > 
> > There is a file libi386_pic.a in /usr/src/lib/libarch/i386.
> > If I run the command myself using a FQ path for libi386_pic.a,
> > then I get many errors about bfd assertions failing.
> > 
> > What am I doing wrong?
I ran into the same problem.
The solution (for me) was to delete everything generated in
lib/libarch/i386 (make clean[dir] will not do that):
cd [...]lib/libarch/i386;rm *.o *.po *.so* *.ln *.cat* *.a

Then make will rebuild them in lib/libarch and everything will be fine!

I think the Makefile has slightly changed, so that everything is
built now in libarch and not those subdirs anymore.
-- 
Dies ist Thilos Unix Signature! Viel Spass damit.