Thread: [libposix-development] make errors (printf)
Status: Pre-Alpha
Brought to you by:
hdante
From: <jh...@gm...> - 2009-06-29 23:00:52
|
-std=c99 -Imandatory/include -Icompiler/gcc -Iruntime -Wall -Wextra -g -nostdlib -fPIC -Isystem/linux -Isystem/linux/x86_32 -c mandatory/printf_conversions.c -o output-linux-x86_32/printf_conversions.o In file included from mandatory/printf_conversions.c:25: /usr/include/printf.h:74: error: expected declaration specifiers or â...â before âsize_tâ /usr/include/printf.h:96: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âparse_printf_formatâ /usr/include/printf.h:140: error: expected declaration specifiers or â...â before âsize_tâ mandatory/printf_conversions.c:32: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âsigned_size_tâ mandatory/printf_conversions.c:38: error: expected â)â before â*â token mandatory/printf_conversions.c:39: error: expected â)â before â*â token mandatory/printf_conversions.c:40: error: expected â)â before â*â token mandatory/printf_conversions.c:41: error: expected â)â before â*â token mandatory/printf_conversions.c:42: error: expected â)â before â*â token mandatory/printf_conversions.c:43: error: expected â)â before â*â token mandatory/printf_conversions.c:44: error: expected â)â before â*â token mandatory/printf_conversions.c:45: error: expected â)â before â*â token mandatory/printf_conversions.c:46: error: expected â)â before â*â token mandatory/printf_conversions.c:48: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c:49: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c:49: error: expected declaration specifiers or â...â before âtoken_typeâ mandatory/printf_conversions.c:50: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c:51: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c:52: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c:52: error: expected declaration specifiers or â...â before âtoken_typeâ mandatory/printf_conversions.c:53: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c:54: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c:54: error: expected declaration specifiers or â...â before âtoken_typeâ mandatory/printf_conversions.c:55: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c:56: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c:58: error: expected â)â before â*â token mandatory/printf_conversions.c:69: error: expected â)â before â*â token mandatory/printf_conversions.c:108: error: expected â)â before â*â token mandatory/printf_conversions.c:146: error: expected â)â before â*â token mandatory/printf_conversions.c:184: error: expected â)â before â*â token mandatory/printf_conversions.c:222: error: expected â)â before â*â token mandatory/printf_conversions.c:260: error: expected â)â before â*â token mandatory/printf_conversions.c:298: error: expected â)â before â*â token mandatory/printf_conversions.c:336: error: expected â)â before â*â token mandatory/printf_conversions.c:397: error: expected â)â before â*â token mandatory/printf_conversions.c:414: error: expected â)â before â*â token mandatory/printf_conversions.c:476: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c: In function âoutput_signedâ: mandatory/printf_conversions.c:476: warning: unused parameter âxâ mandatory/printf_conversions.c: At top level: mandatory/printf_conversions.c:479: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c:479: error: expected declaration specifiers or â...â before âtoken_typeâ mandatory/printf_conversions.c: In function âoutput_unsignedâ: mandatory/printf_conversions.c:479: warning: unused parameter âtxâ mandatory/printf_conversions.c: At top level: mandatory/printf_conversions.c:482: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c: In function âoutput_wint_tâ: mandatory/printf_conversions.c:482: warning: unused parameter âwiâ mandatory/printf_conversions.c: At top level: mandatory/printf_conversions.c:486: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c: In function âoutput_wchar_t_pointerâ: mandatory/printf_conversions.c:486: warning: unused parameter âwcâ mandatory/printf_conversions.c: At top level: mandatory/printf_conversions.c:489: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c:489: error: expected declaration specifiers or â...â before âtoken_typeâ mandatory/printf_conversions.c: In function âoutput_doubleâ: mandatory/printf_conversions.c:489: warning: unused parameter âxâ mandatory/printf_conversions.c: At top level: mandatory/printf_conversions.c:492: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c: In function âoutput_charâ: mandatory/printf_conversions.c:492: warning: unused parameter âcâ mandatory/printf_conversions.c: At top level: mandatory/printf_conversions.c:495: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c:495: error: expected declaration specifiers or â...â before âtoken_typeâ mandatory/printf_conversions.c: In function âoutput_long_doubleâ: mandatory/printf_conversions.c:495: warning: unused parameter âxâ mandatory/printf_conversions.c: At top level: mandatory/printf_conversions.c:498: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c: In function âoutput_char_pointerâ: mandatory/printf_conversions.c:498: warning: unused parameter âsâ mandatory/printf_conversions.c: At top level: mandatory/printf_conversions.c:501: error: expected declaration specifiers or â...â before âparser_stateâ mandatory/printf_conversions.c: In function âoutput_void_pointerâ: mandatory/printf_conversions.c:501: warning: unused parameter âpâ make: *** [output-linux-x86_32/printf_conversions.o] Error 1 |
From: Henrique A. <hd...@gm...> - 2009-06-29 23:31:49
|
Same bug here, I've just noticed that I forgot to update the Makefile, sorry about that. Please try to build with cmake to check that the error disappears. The instructions follow: $ cd .. && mkdir libposix.build && cd libposix.build $ cmake ../libposix $ make I'll deal with the issue in a couple of hours. 2009/6/29 <jh...@gm...>: > Hey guys, > > Is anyone having trouble building libposix in its current state? I am > getting a lot of errors from the printf() implementation. I have tested with > GCC 4.3 and 4.4 (Ubuntu Jaunty and Karmic) I am attaching the output so > y'all can see what I am seeing. > > Any suggestions as to what the problem may be would be very helpful. > > Cheers, > John > > -- > John Haitas > jh...@gm... > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Libposix-development mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libposix-development > > -- Henrique Dante de Almeida hd...@gm... |
From: John H. <jh...@gm...> - 2009-06-29 23:34:07
|
no worries, i've created a problem with div_t, ldiv_t and lldiv_t ... working on that right now On Mon, Jun 29, 2009 at 6:30 PM, Henrique Almeida<hd...@gm...> wrote: > Same bug here, I've just noticed that I forgot to update the > Makefile, sorry about that. Please try to build with cmake to check > that the error disappears. The instructions follow: > > $ cd .. && mkdir libposix.build && cd libposix.build > $ cmake ../libposix > $ make > > I'll deal with the issue in a couple of hours. > > 2009/6/29 <jh...@gm...>: >> Hey guys, >> >> Is anyone having trouble building libposix in its current state? I am >> getting a lot of errors from the printf() implementation. I have tested with >> GCC 4.3 and 4.4 (Ubuntu Jaunty and Karmic) I am attaching the output so >> y'all can see what I am seeing. >> >> Any suggestions as to what the problem may be would be very helpful. >> >> Cheers, >> John >> >> -- >> John Haitas >> jh...@gm... >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Libposix-development mailing list >> Lib...@li... >> https://lists.sourceforge.net/lists/listinfo/libposix-development >> >> > > > > -- > Henrique Dante de Almeida > hd...@gm... > > ------------------------------------------------------------------------------ > _______________________________________________ > Libposix-development mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libposix-development > -- John Haitas jh...@gm... |
From: John H. <jh...@gm...> - 2009-06-29 23:58:09
Attachments:
cmake-output.txt
|
I fixed the div_t, ldiv_t and lldiv_t definitions. I am trying the cmake method and I am getting problems with '__divdi3' and '__moddi3'. Output attached. On Mon, Jun 29, 2009 at 6:33 PM, John Haitas<jh...@gm...> wrote: > no worries, i've created a problem with div_t, ldiv_t and lldiv_t ... > working on that right now > > On Mon, Jun 29, 2009 at 6:30 PM, Henrique Almeida<hd...@gm...> wrote: >> Same bug here, I've just noticed that I forgot to update the >> Makefile, sorry about that. Please try to build with cmake to check >> that the error disappears. The instructions follow: >> >> $ cd .. && mkdir libposix.build && cd libposix.build >> $ cmake ../libposix >> $ make >> >> I'll deal with the issue in a couple of hours. >> >> 2009/6/29 <jh...@gm...>: >>> Hey guys, >>> >>> Is anyone having trouble building libposix in its current state? I am >>> getting a lot of errors from the printf() implementation. I have tested with >>> GCC 4.3 and 4.4 (Ubuntu Jaunty and Karmic) I am attaching the output so >>> y'all can see what I am seeing. >>> >>> Any suggestions as to what the problem may be would be very helpful. >>> >>> Cheers, >>> John >>> >>> -- >>> John Haitas >>> jh...@gm... >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Libposix-development mailing list >>> Lib...@li... >>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>> >>> >> >> >> >> -- >> Henrique Dante de Almeida >> hd...@gm... >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Libposix-development mailing list >> Lib...@li... >> https://lists.sourceforge.net/lists/listinfo/libposix-development >> > > > > -- > John Haitas > jh...@gm... > -- John Haitas jh...@gm... |
From: Henrique A. <hd...@gm...> - 2009-06-30 02:40:24
|
Fixed (included libgcc support library). 2009/6/29 John Haitas <jh...@gm...>: > I fixed the div_t, ldiv_t and lldiv_t definitions. > > I am trying the cmake method and I am getting problems with '__divdi3' > and '__moddi3'. > > Output attached. > > > On Mon, Jun 29, 2009 at 6:33 PM, John Haitas<jh...@gm...> wrote: >> no worries, i've created a problem with div_t, ldiv_t and lldiv_t ... >> working on that right now >> >> On Mon, Jun 29, 2009 at 6:30 PM, Henrique Almeida<hd...@gm...> wrote: >>> Same bug here, I've just noticed that I forgot to update the >>> Makefile, sorry about that. Please try to build with cmake to check >>> that the error disappears. The instructions follow: >>> >>> $ cd .. && mkdir libposix.build && cd libposix.build >>> $ cmake ../libposix >>> $ make >>> >>> I'll deal with the issue in a couple of hours. >>> >>> 2009/6/29 <jh...@gm...>: >>>> Hey guys, >>>> >>>> Is anyone having trouble building libposix in its current state? I am >>>> getting a lot of errors from the printf() implementation. I have tested with >>>> GCC 4.3 and 4.4 (Ubuntu Jaunty and Karmic) I am attaching the output so >>>> y'all can see what I am seeing. >>>> >>>> Any suggestions as to what the problem may be would be very helpful. >>>> >>>> Cheers, >>>> John >>>> >>>> -- >>>> John Haitas >>>> jh...@gm... >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Libposix-development mailing list >>>> Lib...@li... >>>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>>> >>>> >>> >>> >>> >>> -- >>> Henrique Dante de Almeida >>> hd...@gm... >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Libposix-development mailing list >>> Lib...@li... >>> https://lists.sourceforge.net/lists/listinfo/libposix-development >>> >> >> >> >> -- >> John Haitas >> jh...@gm... >> > > > > -- > John Haitas > jh...@gm... > > ------------------------------------------------------------------------------ > > _______________________________________________ > Libposix-development mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libposix-development > > -- Henrique Dante de Almeida hd...@gm... |