mailing list of musl libc
 help / color / mirror / code / Atom feed
From: John Spencer <maillist-musl@barfooze.de>
To: musl@lists.openwall.com
Subject: Re: libedit build, missing sys/ttydefaults.h & sys/errno.h
Date: Thu, 13 Dec 2012 18:25:11 +0100	[thread overview]
Message-ID: <50CA0F77.3020807@barfooze.de> (raw)
In-Reply-To: <50C9AE08.5040204@intelcom.su>

On 12/13/2012 11:29 AM, ojab wrote:
> Hi list,
>
> libedit-3.0 build fails with
>
>> editline/readline.h:79:29: fatal error: sys/ttydefaults.h: No such 
>> file or directory
>> fileman.c:14:23: fatal error: sys/errno.h: No such file or directory
>
> After adding sys/ttydefaults.h from NetBSD [1] (cleaned up version in 
> the attached file) and replacing <sys/errno.h> with <errno.h> it 
> builds/works fine.
> As far as I can see the same issues was reported about sysvinit [2].
>
> Can sys/ttydefaults.h be added to musl? Will <sys/errno.h> alias be 
> added to musl? Or I should report issue to libedit developer instead?
>
> [1] 
> http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/sys/ttydefaults.h?rev=1.16&content-type=text/plain&only_with_tag=MAIN
> [2] http://www.openwall.com/lists/musl/2012/04/24/9
>
> //wbr ojab

at least the #ifdef KERNEL part is bogus.


btw, it seems the line that includes sys/ttydefaults.h is not needed to 
build libedit 3.0.
in sabotage, the include line is simply removed and that works:
https://github.com/rofl0r/sabotage/blob/master/KEEP/libedit_readlineh.patch




  reply	other threads:[~2012-12-13 17:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-13 10:29 ojab
2012-12-13 17:25 ` John Spencer [this message]
2012-12-13 18:58 ` Rich Felker
2012-12-13 20:15   ` ojab
2012-12-13 20:40 ` John Spencer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50CA0F77.3020807@barfooze.de \
    --to=maillist-musl@barfooze.de \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).