[haiku-development] Re: missing -lm?

  • From: "François Revol" <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 02 May 2008 14:36:13 +0200 CEST

>
> 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 Dbrowski <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.

Yes, and some makefiles I wrote check for it to detect BONE...
(but some others check for headers/be/bone, will need to change that)

François.

Other related posts: