<div dir="ltr">Hi, <div>When I want to compile BIRD with --enable-debug option, it fails with the following error. while without the debug option it compiles fine. </div><div><br></div><div>[Archlinux gcc 4.8.2 20140206 (prerelease), kernel 3.13.8]</div>
<div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">gcc -I../ -I../..  -g -O2 -pthread -Wall -Wstrict-prototypes -Wno-parentheses -Wno-pointer-sign -fno-strict-aliasing -fno-strict-overflow -o proto.o -c ../../nest/proto.c<br>
In file included from ../../nest/bird.h:13:0,<br>                 from ../../nest/proto.c:11:<br>../../nest/proto.c: In function ‘proto_want_export_up’:<br>../../nest/proto.c:1238:27: error: ‘CS_HAPPY’ undeclared (first use in this function)<br>
   ASSERT(p->core_state == CS_HAPPY);<br>                           ^<br>../lib/birdlib.h:125:30: note: in definition of macro ‘ASSERT’<br> #define ASSERT(x) do { if (!(x)) bug("Assertion `%s' failed at %s:%d", #x, __FILE__, __LINE__); } while(0)<br>
                              ^<br>../../nest/proto.c:1238:27: note: each undeclared identifier is reported only once for each function it appears in<br>   ASSERT(p->core_state == CS_HAPPY);<br>                           ^<br>
../lib/birdlib.h:125:30: note: in definition of macro ‘ASSERT’<br> #define ASSERT(x) do { if (!(x)) bug("Assertion `%s' failed at %s:%d", #x, __FILE__, __LINE__); } while(0)<br>                              ^<br>
../../nest/proto.c: In function ‘proto_want_core_down’:<br>../../nest/proto.c:1261:27: error: ‘CS_HAPPY’ undeclared (first use in this function)<br>   ASSERT(p->core_state == CS_HAPPY);<br>                           ^<br>
../lib/birdlib.h:125:30: note: in definition of macro ‘ASSERT’<br> #define ASSERT(x) do { if (!(x)) bug("Assertion `%s' failed at %s:%d", #x, __FILE__, __LINE__); } while(0)<br>                              ^<br>
../Rules:76: recipe for target 'proto.o' failed</blockquote><div><br></div><div><br></div>-- <br><div dir="ltr"><font size="1">Best wishes,</font><div><font size="1">Bahram BahramBeigy</font></div><div><a href="http://www.bahrambeigy.ir" target="_blank"><font size="1">http://www.bahrambeigy.ir</font></a><br>
<div><br></div></div></div>
</div></div>