I'm not sure why, but I noticed that the following modification in
"msg_parser.awk" makes it work for me:


@@ -315,6 +315,7 @@ function templates ()
       }
       getline header < TEMPLATE;
       getline template < TEMPLATE;
+      getline dummy < TEMPLATE;
       getline footer < TEMPLATE;

       if (TEMPLATE1) {


Hope it helps to find the solution!

Disclaimer: I had never seen an awk script before today, and still have no
idea what the implications of this fix can be.

Yamato.


On Sat, Nov 12, 2011 at 12:59 PM, Yamato Tanaka <yamato...@gmail.com> wrote:

> The same issue happens to me (amd64 debian testing) without trying
> parallel build.
>
> I think there is something wrong with the awk script, or maybe even with
> mawk in debian testing?
>
> Generated sip_extra.h starts like that:
>
> ---------------------------------------------------
>  /**< SIP, SIPS or TEL URL */
> };
>
> typedef struct sip_p_preferred_identity_s sip_p_preferred_identity_t;
>
> /**@ingrourl_t              paid_url[1];   /**< SIP, SIPS or TEL URL */
> };
>
> typedef struct sip_p_preferred_identity_s sip_p_preferred_identity_t;
>
> /**@ingrourl_t              paid_url[1];   /**< SIP, SIPS or TEL URL */
> };
>
> ...
> ---------------------------------------------------
>
> Thanks,
> Yamato.
>

Reply via email to