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

Pal Tamas folti at balabit.hu
Wed May 30 12:02:50 CEST 2012


Greetings,

HPUX B.11.11 lacks proper pthread support out of the box, you need to
install either the PHCO_33282 or PHCO_37940 patchset and all their
dependent patchsets to fix this problem. Sadly they are no longer
available from HP without a support contract.
 
To list all installed patches issue the following command:
# swlist -a patch_state *,c=patch

The smaller problem that ivykis' autoconfuse doesn't check for these
pthread_* functions, but expects them to exist.

On Tue, May 29, 2012 at 12:18:10PM +0530, Rakesh Rajasekharan 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

> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
> 


-- 
Pal Tamas/Folti
folti at balabit.hu



More information about the syslog-ng mailing list