From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: GLOB_BRACE
Date: Sun, 29 Sep 2013 17:57:54 -0400 [thread overview]
Message-ID: <20130929215754.GN20515@brightrain.aerifal.cx> (raw)
In-Reply-To: <5248A0D4.1080704@opensource.dyc.edu>
On Sun, Sep 29, 2013 at 05:51:16PM -0400, Anthony G. Basile wrote:
> On 09/27/2013 09:06 AM, Daniel Cegiełka wrote:
> >2013/9/27 Anthony G. Basile <basile@opensource.dyc.edu>:
> >
> >>Also openrc
> >>doesn't build on musl and its still required for some fundamental gentoo
> >>pieces, even though it competes with systemd.
> >
> >Could you describe compilation errors (temp/build.log)? Try patches...
> >
> >Daniel
> >
>
> sysvinit was easy to fix, there was just a missing #include
> <sys/ttydefaults.h>.
>
> openrc-0.11.8 is dying on the following:
>
> x86_64-gentoo-linux-musl-gcc -I../includes -D_BSD_SOURCE
> -D_XOPEN_SOURCE=700 -DHAVE_TERMCAP -MM libeinfo.c > .depend
> make[2]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.11.8/work/openrc-0.11.8/src/libeinfo'
> make[2]: Entering directory `/var/tmp/portage/sys-apps/openrc-0.11.8/work/openrc-0.11.8/src/libeinfo'
> x86_64-gentoo-linux-musl-gcc -fPIC -DPIC -I../includes -D_BSD_SOURCE
> -D_XOPEN_SOURCE=700 -DHAVE_TERMCAP -Os -pipe -fomit-frame-pointer
> -std=c99 -Wall -Wextra -Wimplicit -Wshadow -Wformat=2
> -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn
> -Wmissing-format-attribute -Wnested-externs -Winline -Wwrite-strings
> -Wcast-align -Wcast-qual -Wpointer-arith
> -Wdeclaration-after-statement -Wsequence-point -c libeinfo.c -o
> libeinfo.So
> In file included from libeinfo.c:53:0:
> einfo.h:54:1: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'typedef'
> einfo.h:65:1: warning: parameter names (without types) in function
> declaration [enabled by default]
> einfo.h:124:20: error: unknown type name 'ECOLOR'
> einfo.h:143:1: warning: data definition has no type or storage class
> [enabled by default]
> einfo.h:143:1: warning: type defaults to 'int' in declaration of
> '__END_DECLS' [enabled by default]
> In file included from libeinfo.c:54:0:
>
>
> which can be fixed by commentin out __BEGIN_DECLS and __END_DECLS.
Or, if the header is intended to be usable from C++, by adding the
correct #ifdef __cplusplus / extern "C" { / #endif, etc. blocks.
> It then dies on
>
> make[2]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.11.8/work/openrc-0.11.8/src/librc'
> make[2]: Entering directory `/var/tmp/portage/sys-apps/openrc-0.11.8/work/openrc-0.11.8/src/librc'
> cc -O2 -g -std=c99 -Wall -Wextra -Wimplicit -Wshadow -Wformat=2
> -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn
> -Wmissing-format-attribute -Wnested-externs -Winline -Wwrite-strings
> -Wcast-align -Wcast-qual -Wpointer-arith
> -Wdeclaration-after-statement -Wsequence-point -I../includes
> -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -c librc.c -o librc.o
> In file included from librc.h:67:0,
> from librc.c:33:
> rc.h:30:23: fatal error: sys/queue.h: No such file or directory
> compilation terminated.
sys/queue.h is a library in a header file. You can obtain a copy of it
from a glibc system (it's BSD licensed) or a number of other systems.
It's fully self-contained in the header file and there's no reason for
it to be part of libc.
Rich
next prev parent reply other threads:[~2013-09-29 21:57 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-15 20:57 GLOB_BRACE Paul Schutte
2013-09-16 12:50 ` GLOB_BRACE Rich Felker
2013-09-16 13:40 ` GLOB_BRACE Paul Schutte
2013-09-16 13:47 ` GLOB_BRACE Justin Cormack
2013-09-16 13:51 ` GLOB_BRACE Luca Barbato
2013-09-16 14:18 ` GLOB_BRACE Paul Schutte
2013-09-23 14:08 ` GLOB_BRACE Rob Landley
2013-09-23 14:35 ` GLOB_BRACE Luca Barbato
2013-09-23 15:03 ` GLOB_BRACE Rich Felker
2013-09-23 15:21 ` GLOB_BRACE Kurt H Maier
2013-09-23 15:27 ` GLOB_BRACE Luca Barbato
2013-09-25 22:46 ` GLOB_BRACE Paul Schutte
2013-09-26 0:02 ` GLOB_BRACE Rich Felker
2013-09-26 3:35 ` GLOB_BRACE Luca Barbato
2013-09-26 4:48 ` GLOB_BRACE Daniel Cegiełka
2013-09-26 18:23 ` GLOB_BRACE Rich Felker
2013-09-26 18:30 ` GLOB_BRACE Daniel Cegiełka
2013-09-26 18:38 ` GLOB_BRACE Rich Felker
2013-09-26 18:50 ` GLOB_BRACE Daniel Cegiełka
2013-09-26 18:59 ` GLOB_BRACE Rich Felker
2013-09-26 19:10 ` GLOB_BRACE Daniel Cegiełka
2013-09-26 19:13 ` GLOB_BRACE Rich Felker
2013-09-26 19:24 ` GLOB_BRACE Daniel Cegiełka
2013-09-26 19:06 ` GLOB_BRACE John Spencer
2013-09-26 20:21 ` GLOB_BRACE Daniel Cegiełka
2013-09-26 20:41 ` GLOB_BRACE Daniel Cegiełka
2013-09-27 12:23 ` GLOB_BRACE Anthony G. Basile
2013-09-27 12:53 ` GLOB_BRACE Daniel Cegiełka
2013-09-27 13:06 ` GLOB_BRACE Daniel Cegiełka
2013-09-29 21:51 ` GLOB_BRACE Anthony G. Basile
2013-09-29 21:57 ` Rich Felker [this message]
2013-09-26 19:16 ` GLOB_BRACE Christian Neukirchen
2013-09-23 15:18 ` GLOB_BRACE Rob Landley
2013-09-23 15:31 ` GLOB_BRACE Kurt H Maier
2013-09-23 15:54 ` GLOB_BRACE Rich Felker
2013-09-23 17:22 ` GLOB_BRACE Rob Landley
2013-09-23 19:55 ` GLOB_BRACE Rich Felker
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=20130929215754.GN20515@brightrain.aerifal.cx \
--to=dalias@aerifal.cx \
--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).