[prev in list] [next in list] [prev in thread] [next in thread]
List: unbound-users
Subject: Re: Fw: 'make' command error on git
From: Wouter Wijngaards via Unbound-users <unbound-users () unbound ! net>
Date: 2018-08-03 9:53:39
Message-ID: 6f0f799b-d664-a899-8e33-96ea14f7bde7 () nlnetlabs ! nl
[Download RAW message or body]
Hi Peter,
That must be because of a recent fix, that is also giving trouble to the
reporter of the issue it was supposed to fix. I reverted that change,
because it seems to introduce more trouble than it solves.
That should solve the problem you emailed about. Thanks for reporting
it, turns out lex is more complicated than I thought.
Best regards, Wouter
On 03/08/18 11:11, peter.newey--- via Unbound-users wrote:
>
>
>
>
> Using NLnetLabs/unbound <https://github.com/NLnetLabs/unbound>
>
>
>
>
>
>
>
> NLnetLabs/unbound
>
> Unbound is a validating, recursive, and caching DNS resolver. This is
> an export of the subversion repository at ...
>
> <https://github.com/NLnetLabs/unbound>
>
>
>
> After a recently updated git pull command or git clone command to get
> a completely new unbound file I get the same error after a
> 'configure' and 'make' command :
>
> if test ":" != ":"; then \
> echo "#include \"config.h\"" > util/configlexer.c ;\
> echo "#include \"util/configyyrename.h\"" >> util/configlexer.c ;\
> : -t ./util/configlexer.lex >> util/configlexer.c ;\
> fi
> ./libtool --tag=CC --mode=compile gcc -I. -DSRCDIR=. -g -O2 -flto
> -pthread -o configlexer.lo -c util/configlexer.c
> libtool: compile: gcc -I. -DSRCDIR=. -g -O2 -flto -pthread -c
> util/configlexer.c -fPIC -DPIC -o .libs/configlexer.o
> In file included from util/configlexer.c:2:
> ./util/configyyrename.h:79:23: error: redefinition of ‘ub_c_lex_destroy’
> #define yylex_destroy ub_c_lex_destroy
> ^~~~~~~~~~~~~~~~
> <stdout>:5332:5: note: in expansion of macro ‘yylex_destroy’
> ./util/configyyrename.h:79:23: note: previous definition of
> ‘ub_c_lex_destroy’ was here
> #define yylex_destroy ub_c_lex_destroy
> ^~~~~~~~~~~~~~~~
> ./util/configlexer.lex:34:5: note: in expansion of macro ‘yylex_destroy’
> #int ub_c_lex_destroy (void) { return 0; }
> ^~~~~~~~~~~~~
> make: *** [Makefile:282: configlexer.lo] Error 1
>
> Is it an error on my part or a recent update error please ?
>
> thanks
>
> Peter
>
>
>
>
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Peter,</p>
<p>That must be because of a recent fix, that is also giving trouble
to the reporter of the issue it was supposed to fix. I reverted
that change, because it seems to introduce more trouble than it
solves.</p>
<p>That should solve the problem you emailed about. Thanks for
reporting it, turns out lex is more complicated than I thought.<br>
</p>
<p>Best regards, Wouter<br>
</p>
<br>
<div class="moz-cite-prefix">On 03/08/18 11:11, peter.newey--- via
Unbound-users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1174054620.2226571.1533287506331@mail.yahoo.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!--[if gte mso \
9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]-->
<div style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;">
<div style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;">
<div style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;">
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<div id="ydp77a97a2byahoo_quoted_3517697367"
class="ydp77a97a2byahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial,
sans-serif;font-size:13px;color:#26282a;">
<div><br>
</div>
<div>
<div dir="ltr"><br>
</div>
<div id="ydp77a97a2bymsg57477"
class="ydp77a97a2bymsg4862528730">
<div id="ydp77a97a2byiv8464158322"><!--[if gte mso \
9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]-->
<div>
<div style="font-family:Helvetica Neue, Helvetica,
Arial, sans-serif;font-size:16px;">
<div>Using <a
href="https://github.com/NLnetLabs/unbound"
class="ydp77a97a2byiv8464158322enhancr_card_4114678414"
rel="nofollow" target="_blank"
moz-do-not-send="true">NLnetLabs/unbound</a></div>
<div><br>
</div>
<div
\
id="ydp77a97a2byiv8464158322ydpa931dfd3enhancr_card_4114678414" \
class="ydp77a97a2byiv8464158322ydpa931dfd3yahoo-link-enhancr-card
ydp77a97a2byiv8464158322ydpa931dfd3ymail-preserve-class
ydp77a97a2byiv8464158322ydpa931dfd3ymail-preserve-style"
style="max-width:400px;font-family:Helvetica,
Arial, sans-serif;"
data-url="https://github.com/NLnetLabs/unbound"
data-type="YENHANCER" data-size="MEDIUM"
contenteditable="false"><a
href="https://github.com/NLnetLabs/unbound"
style="text-decoration:none;color:#000;"
\
class="ydp77a97a2byiv8464158322ydpa931dfd3yahoo-enhancr-cardlink" rel="nofollow" \
target="_blank" moz-do-not-send="true">
<table
class="ydp77a97a2byiv8464158322ydpa931dfd3card-wrapper
ydp77a97a2byiv8464158322ydpa931dfd3yahoo-ignore-table"
style="max-width:400px;" border="0"
cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="400">
<table
class="ydp77a97a2byiv8464158322ydpa931dfd3card
ydp77a97a2byiv8464158322ydpa931dfd3yahoo-ignore-table"
style="max-width:400px;border-width:1px;border-style:solid;border-color:rgb(224,
228, 233);border-radius:2px;"
border="0" cellspacing="0"
cellpadding="0" width="100%">
<tbody>
<tr>
<td
\
class="ydp77a97a2byiv8464158322ydpa931dfd3card-primary-image-cell" \
style="background-color:rgb(0, 0,
\
0);background-size:cover;position:relative;border-radius:2px 2px 0px \
0px;min-height:175px;" \
background="https://s.yimg.com/lo/api/res/1.2/gp3Zupk.sAa3bMCCyMJBpA--~A/Zmk9ZmlsbDt3P \
TQwMDtoPTIwMDthcHBpZD1pZXh0cmFjdA--/https://avatars1.githubusercontent.com/u/1895545?s=400&v=4.cf.jpg"
valign="top" bgcolor="#000000"
height="175"><!--[if gte mso 9]><v:rect \
fill="true" stroke="false" \
style="width:396px;height:175px;position:absolute;top:0;left:0;"><v:fill type="frame" \
color="#000000" src="https://s.yimg.com/lo/api/res/1.2/gp3Zupk.sAa3bMCCyMJBpA--~A/Zmk9 \
ZmlsbDt3PTQwMDtoPTIwMDthcHBpZD1pZXh0cmFjdA--/https://avatars1.githubusercontent.com/u/1895545?s=400&v=4.cf.jpg"/></v:rect><![endif]-->
<table
\
class="ydp77a97a2byiv8464158322ydpa931dfd3card-overlay-container-table \
ydp77a97a2byiv8464158322ydpa931dfd3yahoo-ignore-table" style="width:100%;"
border="0" cellspacing="0"
cellpadding="0">
<tbody>
<tr>
<td
\
class="ydp77a97a2byiv8464158322ydpa931dfd3card-overlay-cell" \
style="background-color:transparent;border-radius:2px 2px 0px 0px;min-height:175px;"
background="https://s.yimg.com/cv/ae/nq/storm/assets/enhancrV21/1/enhancr_gradient-400x175.png"
valign="top"
bgcolor="transparent"><!--[if gte \
mso 9]><v:rect fill="true" stroke="false" \
style="width:396px;height:175px;position:absolute;top:-18px;left:0;"><v:fill \
type="pattern" color="#000000" \
src="https://s.yimg.com/cv/ae/nq/storm/assets/enhancrV21/1/enhancr_gradient-400x175.png"/><v:textbox \
inset="0,0,20px,0"><![endif]--> <table
\
class="ydp77a97a2byiv8464158322ydpa931dfd3yahoo-ignore-table" \
style="width:100%;min-height:175px;" border="0" height="175"> <tbody>
<tr>
<td
\
class="ydp77a97a2byiv8464158322ydpa931dfd3card-richInfo2" \
style="text-align:left;padding:15px 0 0 15px;vertical-align:top;"><br> </td>
<td
\
class="ydp77a97a2byiv8464158322ydpa931dfd3card-actions" \
style="text-align:right;padding:15px 15px 0 0;vertical-align:top;"><br> </td>
</tr>
</tbody>
</table>
<!--[if gte mso \
9]></v:textbox></v:rect><![endif]--></td> </tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table
\
class="ydp77a97a2byiv8464158322ydpa931dfd3card-info \
ydp77a97a2byiv8464158322ydpa931dfd3yahoo-ignore-table" \
style="background:#fff;position:relative;z-index:2;width:100%;max-width:400px;border-radius:0
0 2px 2px;border-top:1px
solid rgb(224, 228, 233);"
border="0" cellspacing="0"
cellpadding="0"
align="center">
<tbody>
<tr>
<td
\
style="background-color:#ffffff;padding:16px 0 16px
\
12px;vertical-align:top;border-radius:0 0 0 2px;"><img
\
class="ydp77a97a2byiv8464158322ydpa931dfd3card-object-1 \
ydp77a97a2byiv8464158322ydpa931dfd3yahoo-ignore-inline-image
\
ydp77a97a2byiv8464158322ydpa931dfd3ymail-preserve-class" \
src="https://s.yimg.com/nq/storm/assets/enhancrV2/23/logos/github.png"
\
style="min-width:36px;margin-top:3px;" moz-do-not-send="true" height="36"></td>
<td
\
style="vertical-align:middle;padding:12px 24px 16px
\
12px;width:99%;font-family:Helvetica, Arial,
sans-serif;border-radius:0
0 2px 0;">
<h2
\
class="ydp77a97a2byiv8464158322ydpa931dfd3card-title" \
style="font-size:14px;line-height:19px;margin:0px 0px
6px;font-family:Helvetica,
Arial,
sans-serif;color:rgb(38,
40, 42);">NLnetLabs/unbound</h2>
<p
\
class="ydp77a97a2byiv8464158322ydpa931dfd3card-description" \
style="font-size:12px;line-height:16px;margin:0px;color:rgb(151, 155, 167);">Unbound \
is a validating,
recursive, and
caching DNS
resolver. This is an
export of the
subversion
repository at ...</p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</a></div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>After a recently updated git pull command or
git clone command to get a completely new
unbound file I get the same error after a
'configure' and 'make' command :</div>
<div><br>
</div>
<div><span>
<div>if test ":" != ":"; then \</div>
<div><span style="white-space:pre-wrap;"> </span>echo
"#include \"config.h\"" >
util/configlexer.c ;\</div>
<div><span style="white-space:pre-wrap;"> </span>echo
"#include \"util/configyyrename.h\""
>> util/configlexer.c ;\</div>
<div><span style="white-space:pre-wrap;"> </span>:
-t ./util/configlexer.lex >>
util/configlexer.c ;\</div>
<div>fi</div>
<div>./libtool --tag=CC --mode=compile gcc
-I. -DSRCDIR=. -g -O2 -flto -pthread -o
configlexer.lo -c util/configlexer.c</div>
<div>libtool: compile: gcc -I. -DSRCDIR=. -g
-O2 -flto -pthread -c util/configlexer.c
-fPIC -DPIC -o .libs/configlexer.o</div>
<div>In file included from
util/configlexer.c:2:</div>
<div>./util/configyyrename.h:79:23: error:
redefinition of ‘ub_c_lex_destroy’</div>
<div> #define yylex_destroy ub_c_lex_destroy</div>
<div> ^~~~~~~~~~~~~~~~</div>
<div><stdout>:5332:5: note: in expansion
of macro ‘yylex_destroy’</div>
<div>./util/configyyrename.h:79:23: note:
previous definition of ‘ub_c_lex_destroy’
was here</div>
<div> #define yylex_destroy ub_c_lex_destroy</div>
<div> ^~~~~~~~~~~~~~~~</div>
<div>./util/configlexer.lex:34:5: note: in
expansion of macro ‘yylex_destroy’</div>
<div> #int ub_c_lex_destroy (void) { return 0;
}</div>
<div> ^~~~~~~~~~~~~</div>
<div>make: *** [Makefile:282: configlexer.lo]
Error 1</div>
<div><br>
</div>
<div>Is it an error on my part or a recent
update error please ?</div>
<div><br>
</div>
<div>thanks</div>
<div><br>
</div>
<div>Peter</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</span><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic