syslog-ng 3.3.7 make error hpux 11.31 hppa
Hi, I am trying to compile syslog-ng version 3.3.7. But, the make stage of this gives an error. below is the error I encounter. gcc -Wall -g -O2 -o iv_popen_test iv_popen_test.o ../../.libs/libivykis.a -lcl -lpthread /usr/ccs/bin/ld: Unsatisfied symbols: __sync_lock_test_and_set_4 (first referenced in ../../.libs/libivykis.a(iv_signal.o)) (code) collect2: ld returned 1 exit status the configure option that I have specified are, ./configure --enable-dynamic-linking --prefix=/opt/soe/local/syslog-ng-3.3.7 --with-pidfile-dir=/var/run please help me fix this error. Thanks, Rakesh
Rakesh Rajasekharan <rakesh.rajasekharan@gmail.com> writes:
I am trying to compile syslog-ng version 3.3.7. But, the make stage of this gives an error. below is the error I encounter.
gcc -Wall -g -O2 -o iv_popen_test iv_popen_test.o ../../.libs/libivykis.a -lcl -lpthread /usr/ccs/bin/ld: Unsatisfied symbols: __sync_lock_test_and_set_4 (first referenced in ../../.libs/libivykis.a(iv_signal.o)) (code) collect2: ld returned 1 exit status
the configure option that I have specified are,
./configure --enable-dynamic-linking --prefix=/opt/soe/local/syslog-ng-3.3.7 --with-pidfile-dir=/var/run
please help me fix this error.
This is because the ivykis shipped with 3.3 does not support hpux. There are a couple of ways to work around this: - You can use syslog-ng 3.4.0rc2, which includes an updated ivykis - You can download ivykis separately (I suggest using 0.36.1[1]), installing it, and using --with-ivykis=system when configuring syslog-ng. [1]: https://github.com/buytenh/ivykis/archive/v0.36.1.tar.gz - You can also patch ivykis, but that's probably the least straightforward option. Do let me know if you're interested in doing that, though, and I'll give a link to the few patches you'll likely need. -- |8]
thanks... I compiled the ivykis version 0.36 and after that did not face the error again.... Regards, Rakesh. On Tue, Jan 22, 2013 at 2:33 PM, Gergely Nagy <algernon@balabit.hu> wrote:
Rakesh Rajasekharan <rakesh.rajasekharan@gmail.com> writes:
I am trying to compile syslog-ng version 3.3.7. But, the make stage of this gives an error. below is the error I encounter.
gcc -Wall -g -O2 -o iv_popen_test iv_popen_test.o ../../.libs/libivykis.a -lcl -lpthread /usr/ccs/bin/ld: Unsatisfied symbols: __sync_lock_test_and_set_4 (first referenced in ../../.libs/libivykis.a(iv_signal.o)) (code) collect2: ld returned 1 exit status
the configure option that I have specified are,
./configure --enable-dynamic-linking --prefix=/opt/soe/local/syslog-ng-3.3.7 --with-pidfile-dir=/var/run
please help me fix this error.
This is because the ivykis shipped with 3.3 does not support hpux. There are a couple of ways to work around this:
- You can use syslog-ng 3.4.0rc2, which includes an updated ivykis
- You can download ivykis separately (I suggest using 0.36.1[1]), installing it, and using --with-ivykis=system when configuring syslog-ng.
[1]: https://github.com/buytenh/ivykis/archive/v0.36.1.tar.gz
- You can also patch ivykis, but that's probably the least straightforward option. Do let me know if you're interested in doing that, though, and I'll give a link to the few patches you'll likely need.
-- |8]
______________________________________________________________________________ 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
participants (2)
-
Gergely Nagy
-
Rakesh Rajasekharan