Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Mar 1995 22:01:59 -0800 (PST)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        jhay@mikom.csir.co.za (John Hay)
Cc:        current@FreeBSD.org
Subject:   Re: gdb linker failure
Message-ID:  <199503090602.WAA29781@gndrsh.aac.dev.com>
In-Reply-To: <199503090521.HAA01389@zibbi.mikom.csir.co.za> from "John Hay" at Mar 9, 95 07:21:23 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Hi,
> 
> After the ld changes gdb won't link anymore. It uses libgnuregex and libcompat
> and then the linker finds two regex's. I have tried to link it without
> libcompat and it only needs insque and remque from it. What is the best way
> to fix this?

I can confirm this, I see it here too.  I am not sure on what is the
best way to fix it :-(.

> Another thing that bit me was that I thought I would start with a fresh
> /usr/include directory so I did a "make includes -DCLOBBER" in /usr/src. It
> gave no errors but suddenly a lot of programs could not find certain include
> files. It seems that it wipes the subdirectories also but it does not 
> recreate all of them. Directories like readline and I think ss does not get
> created.

There is a problem here, a quick work around until I get it fixed is to
do this:
cd /usr/src
rm -r /usr/include/*
make hierarchy includes

That will produce a clean /usr/include tree.

-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                   Custom computers for FreeBSD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503090602.WAA29781>