<div>Can anyone please advice me on the below issue. I think , the problem is that libpthread.a is no tgetting located which has all o fhte below symbols defined. If that is the case, is there a way , I can do that.</div>
<div>libpthread.a resides under /usr/lib.</div>
<div> </div>
<div>Thanks,</div>
<div>Rakesh<br><br></div>
<div class="gmail_quote">On Tue, May 29, 2012 at 12:18 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>Hi,</div>
<div> </div>
<div>I am trying to compile syslog-ng 3.3.4 version on an HPUX HPPA 11.11 machine. The configure options I used were.</div>
<div>
<p>./configure --enable-dynamic-linking --prefix=/opt/soe/local/syslog-ng-3.3.4</p>
<p> Compiler options:<br> compiler : gcc -std=gnu99<br> compiler options : -g -O2 -Wall -pthread -U_XOPEN_SOURCE -U_XOPEN_SOURCE_EXTENDED -D_HPUX_SOURCE -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/opt/soe/local/syslog-ng-3.3.4/eventlog/include/eventlog -I/usr/local/include -I$(top_srcdir)/lib/ivykis/lib/include -I$(top_builddir)/lib/ivykis/lib/include -I$(top_srcdir)/lib/ivykis/modules/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64<br>
linker flags : -lcl<br> prefix : /opt/soe/local/syslog-ng-3.3.4<br> linking mode : dynamic<br> __thread keyword : no<br> Submodules:<br> ivykis : internal<br>
libmongo-client : internal<br> Features:<br> Debug symbols : no<br> GCC profiling : no<br> Memtrace : no<br> IPV6 support : yes<br> spoof-source support : no<br>
tcp-wrapper support : no<br> Linux capability support : no<br> PCRE support : yes<br> Env wrapper support : no<br> systemd support : no (unit dir: none)<br> Modules:<br>
Module search path : /opt/soe/local/syslog-ng-3.3.4/lib/syslog-ng<br> Default module list : affile,afprog,afsocket,afuser,basicfuncs,csvparser,dbparser,syslogformat<br> Sun STREAMS support (module): no<br>
SSL support (module) : no<br> SQL support (module) : no<br> PACCT module (EXPERIMENTAL) : no<br> MongoDB destination (module): yes<br> JSON support (module) : no (using no)<br></p></div>
<div> The make though fails with the below error.</div>
<div> </div>
<div>/bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -g -O2 -o client client.o ../<a href="http://libivykis.la/" target="_blank">libivykis.la</a> -lpthread<br>libtool: link: gcc -Wall -g -O2 -o client client.o ../.libs/libivykis.a -lpthread<br>
/usr/ccs/bin/ld: Unsatisfied symbols:<br> pthread_sigmask (first referenced in ../.libs/libivykis.a(iv_main.o)) (data)<br> pthread_mutex_init (first referenced in ../.libs/libivykis.a(iv_main.o)) (data)<br> pthread_mutex_destroy (first referenced in ../.libs/libivykis.a(iv_main.o)) (data)<br>
pthread_mutex_unlock (first referenced in ../.libs/libivykis.a(iv_main.o)) (data)<br> pthread_mutex_lock (first referenced in ../.libs/libivykis.a(iv_main.o)) (data)<br>/usr/ccs/bin/ld: (Warning) Linker features were used that may not be supported in future releases. The +vallcompatwarnings option can be used to display more details, and the ld(1) man page contains additional information. This warning can be suppressed with the +vnocompatwarnings option.<br>
collect2: ld returned 1 exit status<br>make[7]: *** [client] Error 1<br>make[7]: Leaving directory `/compile/syslog/syslog-ng-3.3.4/lib/ivykis/lib/test'<br>make[6]: *** [all-recursive] Error 1<br>make[6]: Leaving directory `/compile/syslog/syslog-ng-3.3.4/lib/ivykis/lib'<br>
make[5]: *** [all-recursive] Error 1<br>make[5]: Leaving directory `/compile/syslog/syslog-ng-3.3.4/lib/ivykis'<br>make[4]: *** [all] Error 2<br>make[4]: Leaving directory `/compile/syslog/syslog-ng-3.3.4/lib/ivykis'<br>
make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory `/compile/syslog/syslog-ng-3.3.4/lib'<br>make[2]: *** [all] Error 2.</div>
<div> </div>
<div> </div>
<div>I have compiled glib-2.16.5 statically and eventlog_0.2.12.<br>make[2]: Leaving directory `/compile/syslog/syslog-ng-3.3.4/lib'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/compile/syslog/syslog-ng-3.3.4'<br>
make: *** [all] Error 2.</div>
<div> </div>
<div>Please help me fix this. I have tried tweaking with the comfigure options but could no tget anywhere.</div>
<div> </div>
<div>Regards,</div>
<div>Rakesh<br></div></blockquote></div><br>