-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
syslog-ng v3.4.8 issue on solaris sparc 8 #174
Comments
Can you try adding this line to the top of #ifndef CLOCK_MONOTONIC
#define CLOCK_MONOTONIC CLOCK_REALTIME
#endif |
Thanks a lot for your quick response !! That fixed the issue related to 'CLOCK_MONOTONIC'. but again it failed with below errors: CCLD examples/amqp_bind To get a workaround related to 'ntohll' added file 'modules/afamqp/rabbitmq-c/librabbitmq/amqp_private.h' as suggested in http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2012-October/023165.html #if defined(__sparc) that fixed complaining about 'ntohll' and 'htonll' but again failed with: CCLD examples/amqp_bind |
That can also be fixed with forcing an If you need the amqp destination... well, the fix is a little bit more involved in that case. |
what could be the fix......is it just commenting the line of code which has referenced symbol names?? for eg...if I comment line number 121 in amqp_socket.c....it is not complaining about this sysmbol. amqp_send_header': /export/syslog/syslog-ng-3.4.8/modules/afamqp/rabbitmq-c/librabbitmq/amqp_socket.c:121: undefined reference tosend' Also is it safe if we do modify the code like this way? will it impact any of syslog functionality ? |
If you want to be able to send to an AMQP broker, then yes, modifying the code this way would break that functionality. If not, it is easier to use Disabling AMQP will not impact the normal syslog functionality, though, so that's the easiest way. Another way is to edit |
Thank you for prompt replies and solution |
Attempting to compile syslog-ng v3.4.8 from source on solaris sparc 8 fails with
logsource.c: In function ‘log_source_msg_ack’:
logsource.c:85: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function)
logsource.c:85: error: (Each undeclared identifier is reported only once
logsource.c:85: error: for each function it appears in.)
The text was updated successfully, but these errors were encountered: