gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] [PATCH] Fix build against musl libc


From: Gary E. Miller
Subject: Re: [gpsd-dev] [PATCH] Fix build against musl libc
Date: Tue, 23 Jun 2015 13:47:28 -0700

Yo Dave!

On Tue, 23 Jun 2015 12:41:16 -0700
Dave Taht <address@hidden> wrote:

> On Tue, Jun 23, 2015 at 10:48 AM, Gary E. Miller <address@hidden>
> wrote:

> > What is 'musl'?
> http://www.etalabs.net/compare_libcs.html

Ah, thanks for that.  Good to see soeone giving glibc a run for it.

> > Why do you need <sys/ttydefaults.h> ?  No other port needs it.
> >
> > How common is <sys/ttydefaults.h> ?  It is not POSIX-1:2001 (gpsd
> > baseline).
> >
> > Can we really always expect it to be present?
> >
> > We'll need a test to see when we need this file and if it exists in
> > the current system.
> 
> #if defined(MUSL) or some such?

I looked a bit more at glibc.  They say never to include
<sys/ttydefaults.h> directly.  Only to be included when BSD and SYSV
compatibilty is selected.  Since gpsd is baselined on C99 and POSIX-1:2001
that is not something to be added easily.

Check the bottom of termios.h to see if that is true, and maybe someone
has the wrong CFLAGS set.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1(541)382-8588

Attachment: pgpfe1zlQMnDP.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]