[syslog-ng] syslog_ng 3.3.4 make error on HPUX HPPA 11.11

Rakesh Rajasekharan rakesh.rajasekharan at gmail.com
Tue May 29 14:03:17 CEST 2012


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.
libpthread.a resides under /usr/lib.

Thanks,
Rakesh

On Tue, May 29, 2012 at 12:18 PM, Rakesh Rajasekharan <
rakesh.rajasekharan at gmail.com> wrote:

> Hi,
>
> I am trying to compile syslog-ng 3.3.4 version on an HPUX HPPA 11.11
> machine. The configure options I used were.
>
> ./configure --enable-dynamic-linking
> --prefix=/opt/soe/local/syslog-ng-3.3.4
>
>  Compiler options:
>   compiler                    : gcc -std=gnu99
>   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
>   linker flags                :  -lcl
>   prefix                      : /opt/soe/local/syslog-ng-3.3.4
>   linking mode                : dynamic
>   __thread keyword            : no
>  Submodules:
>   ivykis                      : internal
>   libmongo-client             : internal
>  Features:
>   Debug symbols               : no
>   GCC profiling               : no
>   Memtrace                    : no
>   IPV6 support                : yes
>   spoof-source support        : no
>   tcp-wrapper support         : no
>   Linux capability support    : no
>   PCRE support                : yes
>   Env wrapper support         : no
>   systemd support             : no (unit dir: none)
>  Modules:
>   Module search path          :
> /opt/soe/local/syslog-ng-3.3.4/lib/syslog-ng
>   Default module list         :
> affile,afprog,afsocket,afuser,basicfuncs,csvparser,dbparser,syslogformat
>   Sun STREAMS support (module): no
>   SSL support (module)        : no
>   SQL support (module)        : no
>   PACCT module (EXPERIMENTAL) : no
>   MongoDB destination (module): yes
>   JSON support (module)       : no (using no)
>  The make though fails with the below error.
>
> /bin/sh ../../libtool --tag=CC   --mode=link gcc -Wall -g -O2   -o client
> client.o ../libivykis.la -lpthread
> libtool: link: gcc -Wall -g -O2 -o client client.o  ../.libs/libivykis.a
> -lpthread
> /usr/ccs/bin/ld: Unsatisfied symbols:
>    pthread_sigmask (first referenced in ../.libs/libivykis.a(iv_main.o))
> (data)
>    pthread_mutex_init (first referenced in
> ../.libs/libivykis.a(iv_main.o)) (data)
>    pthread_mutex_destroy (first referenced in
> ../.libs/libivykis.a(iv_main.o)) (data)
>    pthread_mutex_unlock (first referenced in
> ../.libs/libivykis.a(iv_main.o)) (data)
>    pthread_mutex_lock (first referenced in
> ../.libs/libivykis.a(iv_main.o)) (data)
> /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.
> collect2: ld returned 1 exit status
> make[7]: *** [client] Error 1
> make[7]: Leaving directory
> `/compile/syslog/syslog-ng-3.3.4/lib/ivykis/lib/test'
> make[6]: *** [all-recursive] Error 1
> make[6]: Leaving directory `/compile/syslog/syslog-ng-3.3.4/lib/ivykis/lib'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory `/compile/syslog/syslog-ng-3.3.4/lib/ivykis'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory `/compile/syslog/syslog-ng-3.3.4/lib/ivykis'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/compile/syslog/syslog-ng-3.3.4/lib'
> make[2]: *** [all] Error 2.
>
>
> I have compiled glib-2.16.5 statically and eventlog_0.2.12.
> make[2]: Leaving directory `/compile/syslog/syslog-ng-3.3.4/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/compile/syslog/syslog-ng-3.3.4'
> make: *** [all] Error 2.
>
> Please help me fix this. I have tried tweaking with the comfigure options
> but could no tget anywhere.
>
> Regards,
> Rakesh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20120529/58a81f2d/attachment.htm 


More information about the syslog-ng mailing list