---
** [tickets:#2026] base: Build failure when java is enabled**
**Status:** accepted
**Milestone:** 5.1.RC1
**Created:** Mon Sep 12, 2016 11:01 AM UTC by Anders Widell
**Last Updated:** Mon Sep 12, 2016 11:01 AM UTC
**Owner:** Anders Widell
Build failes when java is enabled:
~~~
Making all in ais_api_impl_native
make[3]: Entering directory '/home/opensaf-staging/java/ais_api_impl_native'
CC libjava_ais_api_native_la-j_ais_clm_libHandle.lo
In file included from j_ais_clm_libHandle.c:37:0:
../../osaf/libs/core/common/include/osaf_poll.h:46:65: error: unknown type name
'int64_t'
extern unsigned osaf_poll(struct pollfd* io_fds, nfds_t i_nfds, int64_t
i_timeout);
^~~~~~~
../../osaf/libs/core/common/include/osaf_poll.h:91:39: error: unknown type name
'int64_t'
extern int osaf_poll_one_fd(int i_fd, int64_t i_timeout);
^~~~~~~
j_ais_clm_libHandle.c: In function
'Java_org_opensaf_ais_clm_ClmHandleImpl_invokeSaClmDispatchWhenReady':
j_ais_clm_libHandle.c:726:16: error: implicit declaration of function
'osaf_poll' [-Werror=implicit-function-declaration]
_pollStatus = osaf_poll(&_readFDs, 1, -1);
^~~~~~~~~
cc1: all warnings being treated as errors
Makefile:720: recipe for target
'libjava_ais_api_native_la-j_ais_clm_libHandle.lo' failed
~~~
---
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets