Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2002 18:27:26 -0400 (EDT)
From:      Lukas Karlsson <karlsson@panix.com>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        Giorgos Keramidas <keramida@ceid.upatras.gr>, FreeBSD User Questions List <freebsd-questions@freebsd.org>
Subject:   Re: conflicting types for `strcasestr'
Message-ID:  <20020525182612.S19633-100000@starship.alienwebshop.com>
In-Reply-To: <1022364354.21495.17.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25 May 2002, Joe Marcus Clarke wrote:

> Are you sure this is 4.2-RELEASE.  4.2 didn't have a strcasestr() in
> string.h.  I saw this recently on a 4.5-RELEASE system.  Seems like libc
> and libc_r weren't built correctly, and strcasestr() was missing from
> libc, and strerror_r was missing from libc_r.
>
> The fix for that situation was to get the 4.5-RELEASE sources, then
> rebuild libc and libc_r:
>
> # cd /usr/src/lib/libc
> # make clean
> # make install
> # cd /usr/src/lib/libc_r
> # make clean
> # make install
>
> Afterwards, all ports built like a champ.
>
> If this is a 4.2 system, did you add a 4.5 string.h?  If so, replace it
> with the one from 4.2-RELEASE, and the conflict should go away.

You are right on both counts.  Parts of the system had been upgraded to
4.5 via /usr/src, apparently.  libc.a was not rebuilt properly during that
process.  That fixed it.  Thanks for the responses!

/l

-----------------------------------------------------------------------------
Lukas Karlsson                                             karlsson@panix.com
Cambridge, MA	                                           http://lukwam.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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