[haiku-development] Re: missing -lm?

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 01 May 2008 15:03:01 +0200

On 2008-05-01 at 13:48:20 [+0200], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
wrote:
> Andreas Färber <andreas.faerber@xxxxxx> wrote:
> > Am 29.04.2008 um 11:35 schrieb Axel Dörfler:
> > > Grzegorz Dąbrowski <grzegorz.dabrowski@xxxxxxxxx> wrote:
> > >> Maybe we should add symlinks like this, what do you think?
> > > I'm on François' side here: rather fix the buggy software. We're
> > > already making so many compromises for those...
> > In that case we should be consequent and eliminate the Be compability
> > symlinks from the develop libs as well. They would still exist in the
> > system libs folder for runtime compatibility.
> >
> > This would help cleaning up the -lnet / -lbind -lsocket confusion;
> > looking at the symlinks, it seems new Haiku ports should be fixed to
> > link against -lnetwork instead.
> 
> Absolutely! Having those links (and using them) in develop/lib is just 
> wrong, and
> could even cause the network functions to fail. I didn't notice they are 
> there,
> yet.

How about keeping the libsocket.so symlink at least? This one is not 
uncommon on other platforms (some/all (?) *BSDs and Solaris seem to have 
it) and configure scripts already check for it, which should save some 
porting work.

CU, Ingo

Other related posts: