<div class="gmail_extra">Can someone please help me out with the below issue. I am seeing this error even on a solaris 8 machine I am trying to compile. I am using gcc 3.4.6 verion. Can this be an issue with the version of gcc. On both solaris architectures(Sparc/opteron)</div>
<div class="gmail_extra">I get the below errir<br><br></div>
<div class="gmail_quote">On Thu, Apr 26, 2012 at 6:44 PM, Rakesh Rajasekharan <span dir="ltr"><<a href="mailto:rakesh.rajasekharan@gmail.com" target="_blank">rakesh.rajasekharan@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>Hello Guys,</div>
<div> </div>
<div>I am trying to compile syslog_ng on solaris 10 opteron with mixed linking option. I was able to successfully compile glib-2.16.5 statically.</div>
<div>in my configure stage of syslog_ng 3.3.4 , I get he below error.</div></blockquote>
<div>configure:5326: checking lex library<br>configure:5340: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5<br>Undefined first referenced<br> symbol in file<br>
yywrap /var/tmp//cc2KbW8B.o<br>ld: fatal: Symbol referencing errors. No output written to conftest<br>collect2: ld returned 1 exit status<br></div>
<div>I have compiled flex 2.5.4.</div>
<div> </div>
<div>Please help me fix this.</div>
<div> </div>
<div>Regards,</div>
<div>Rakesh</div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div> </div>
<div>configure: error: static GLib libraries not found (a file named libglib-2.0.a), either link GLib dynamically using the --enable-dynamic-linking or install a static GLib<br>libglib-2.0.a is present under /usr/local/lib .</div>
<div>When I checked the config.log, I have the following errors.</div>
<div> </div>
<div>configure:5326: checking lex library<br>configure:5340: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5<br>Undefined first referenced<br> symbol in file<br>
yywrap /var/tmp//cc2KbW8B.o<br>ld: fatal: Symbol referencing errors. No output written to conftest<br>collect2: ld returned 1 exit status<br>configure:5340: $? = 1<br>configure: failed program was:<br>
| /* confdefs.h */<br>| #define PACKAGE_NAME ""<br>| #define PACKAGE_TARNAME ""<br>| #define PACKAGE_VERSION ""<br>| #define PACKAGE_STRING ""<br>| #define PACKAGE_BUGREPORT ""<br>
| #define PACKAGE_URL ""<br>| /* end confdefs.h. */<br>|<br>| #line 3 "lex.yy.c"<br>|<br>| #define YY_INT_ALIGNED short int<br>|<br>| /* A lexical scanner generat</div>
<div> </div>
<div> </div>
<div>Any inputs on how can i fix this please?</div>
<div> </div>
<div>Best Regards,</div>
<div>Rakesh</div></blockquote></div>
<div class="gmail_extra"><br></div>