Subject: Re: MKPIC problem
To: None <current-users@netbsd.org>
From: Christoph Egger <Christoph_Egger@gmx.de>
List: current-users
Date: 02/20/2004 12:47:23
> > > > On Thursday 19 February 2004 19:11, Christoph Egger wrote:
> > > > > Hi!
> > > > >
> > > > > I'm trying to track down a linking problem for several days now:
> > > > [...]
> > > > 
> > > > > The fact, that libgcc_pic isn't found makes me guess that it isn't
> > > > > built / installed
> > > > 
> > > > I believe this is your problem. You should try a 
> > > > 
> > > > 	/usr/src-current/tooldir.NetBSD-1.6ZK-sparc64/bin/nbmake-sparc64
> all
> > install
> > > > 
> > > > in 
> > > > 
> > > > 	/usr/src-current/gnu/lib/libgcc3
> > > > 
> > > > to see what went wrong. I did almost a complete build of sparc64
> > > > yesterday to help fix your PR (24474).
> > > 
> > > Heh! It looks to me that this command wasn't executed during the
> > > build.sh distribution command -  like a human forgets things to do
> > > from time to time. :)
> > > This command created and installed the missing libgcc_pic.so!
> 
> [...]
>  
> > ahh  - it works now!
> > 
> > Build process is running now until it finishs or fails elsewhere (which
> I
> > hope not) :/
> 
> Sorry, it
> failed:
> 
>
/usr/obj/tooldir.NetBSD-1.6ZK-sparc64/bin/../lib/gcc-lib/sparc64--netbsd/3.3.3/../../../../sparc64--netbsd/bin/ld:
> cannot find -ldes
> collect2: ld returned 1 exit status
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /usr/src-current/lib/libkrb
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /usr/src-current/lib
> *** Error code 1
> 
> But I saw that libdes got build from the output. So I guess, build.sh
> forgot to INSTALL it!!

I run

/usr/src-current/obj/tooldir.NetBSD-1.6ZK-sparc64/bin/nbmake-sparc64 all
install

in

/usr/src-current/lib/libdes

and this solved this problem.

-- 
CU,

Christoph Egger
E-Mail: Christoph_Egger@gmx.de

GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++