From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4041 Path: news.gmane.org!not-for-mail From: Paul Schutte Newsgroups: gmane.linux.lib.musl.general Subject: Re: termios.h problem (IUTF8) Date: Sun, 15 Sep 2013 23:01:36 +0200 Message-ID: References: <20130915202110.GF20515@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f646ff9a80f3004e672640b X-Trace: ger.gmane.org 1379278905 12324 80.91.229.3 (15 Sep 2013 21:01:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Sep 2013 21:01:45 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4045-gllmg-musl=m.gmane.org@lists.openwall.com Sun Sep 15 23:01:48 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1VLJS0-0006D7-6U for gllmg-musl@plane.gmane.org; Sun, 15 Sep 2013 23:01:48 +0200 Original-Received: (qmail 28548 invoked by uid 550); 15 Sep 2013 21:01:47 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 28540 invoked from network); 15 Sep 2013 21:01:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=a4JuQYUelXanfQZQPcsmguOWYQFsc+FefquvULLAD0A=; b=XD+WqUeU7h0nhI49DUbsljESwNcdscc0t2ykYgYgVcgjBJ7jWgcneG4+WdZCvJC203 N0ar7U2FKmho7q7uvlEw1waCzsJYM4Zy3UQztKCw4G/gZtnmCf26olAYHenVq7Ln9nJp 2nYzhGHFx9Vete6wd6N4DKXlyQiwymh8a2RV9Y4zP7g3VT3FQxP6QTjfbNrP4E/YlYUh psrt6Q+zobEf0g3IHt881nntQrS/V0tet7B4VfSkUyMWCKRV/O518HIomF9T4RkLvKr4 DOZ/Q2/e91y3p/9Z1BfXEyVCEmHWKQkyfLuytbnRC3x2zXkwwVx6M/sLiXqd1XVQ3PIQ ugFA== X-Received: by 10.180.37.227 with SMTP id b3mr10681171wik.24.1379278896236; Sun, 15 Sep 2013 14:01:36 -0700 (PDT) In-Reply-To: <20130915202110.GF20515@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:4041 Archived-At: --e89a8f646ff9a80f3004e672640b Content-Type: text/plain; charset=ISO-8859-1 Thanks On Sun, Sep 15, 2013 at 10:21 PM, Rich Felker wrote: > On Sun, Sep 15, 2013 at 10:15:38PM +0200, Paul Schutte wrote: > > Hi Rich, > > > > I am wrestling with systemd on Sabotage. I am using musl 0.9.13. > > (The git version is the same regarding this problem) > > > > I get the following error: > > > > src/shared/util.c: In function 'reset_terminal_fd': > > src/shared/util.c:1786:46: error: 'IUTF8' undeclared (first use in this > > function) > > src/shared/util.c:1786:46: note: each undeclared identifier is reported > > only once for each function it appears in > > > > I can make it work by doing the following. (Stolen from you mips > > bits/termios.h file) > > Yes, I think it's correct. I* is reserved for termios.h so no > namespace protection is needed. However the correct value may vary > per-arch. Go ahead and use this for your own use for now, and I'll > either find the correct values for the other archs or get someone else > to look into it so we can upstream the fix. > > Rich > --e89a8f646ff9a80f3004e672640b Content-Type: text/html; charset=ISO-8859-1
Thanks


On Sun, Sep 15, 2013 at 10:21 PM, Rich Felker <dalias@aerifal.cx> wrote:
On Sun, Sep 15, 2013 at 10:15:38PM +0200, Paul Schutte wrote:
> Hi Rich,
>
> I am wrestling with systemd on Sabotage. I am using musl 0.9.13.
> (The git version is the same regarding this problem)
>
> I get the following error:
>
> src/shared/util.c: In function 'reset_terminal_fd':
> src/shared/util.c:1786:46: error: 'IUTF8' undeclared (first use in this
> function)
> src/shared/util.c:1786:46: note: each undeclared identifier is reported
> only once for each function it appears in
>
> I can make it work by doing the following. (Stolen from you mips
> bits/termios.h file)

Yes, I think it's correct. I* is reserved for termios.h so no
namespace protection is needed. However the correct value may vary
per-arch. Go ahead and use this for your own use for now, and I'll
either find the correct values for the other archs or get someone else
to look into it so we can upstream the fix.

Rich

--e89a8f646ff9a80f3004e672640b--