We are in process of integrating new library to integrate with kafka.So downloaded librdkafka C++ library from GIT and trying to compile in our environment to generate the static library.
Our Environment Configuration
OS - Solaris 11 Sparc
Compiler - oracle developer studio 12.5.
Language : C++
Issue getting below error while compiling the source code.
Kindly help us to resolve the same
OracleDeveloperStudio12.5-solaris-sparc-bin/developerstudio12.5/bin/CC -m64 -mt -MD -MP -g -O2 -fPIC -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D__EXTENSIONS__ -DSIXTY_FOUR_BIT_LONGS -D_RWCONFIG_12s -DRW_MULTI_THREAD -DRWDB_ORACLE10X -D_RWSTD_MULTI_THREAD -D_REENTRANT -DIT_USE_STD_IOSTREAM -DWANT_ORBIX_FDS -DSYNCHRONIZATION_REQUIRED -I/usr/include -c rdkafka.c -o rdkafka.o -lpthread
"queue.h", line 688: Warning: parameter in inline asm statement unused: %0.
"tinycthread.h", line 36: Error: Could not open include file<threads.h>.
"tinycthread_extra.h", line 54: Error: thrd_t is not defined.
"tinycthread_extra.h", line 54: Error: thr is not defined.
"tinycthread_extra.h", line 54: Error: Badly formed expression.
"tinycthread_extra.h", line 62: Error: cnd_t is not defined.
"tinycthread_extra.h", line 62: Error: cnd is not defined.
"tinycthread_extra.h", line 62: Error: mtx_t is not defined.
"tinycthread_extra.h", line 62: Error: mtx is not defined.
"tinycthread_extra.h", line 62: Error: Badly formed expression.
"tinycthread_extra.h", line 67: Error: cnd_t is not defined.
"tinycthread_extra.h", line 67: Error: cnd is not defined.
"tinycthread_extra.h", line 67: Error: mtx_t is not defined.
"tinycthread_extra.h", line 67: Error: mtx is not defined.
"tinycthread_extra.h", line 67: Error: Badly formed expression.
"tinycthread_extra.h", line 76: Error: cnd_t is not defined.
"tinycthread_extra.h", line 76: Error: cnd is not defined.
"tinycthread_extra.h", line 76: Error: mtx_t is not defined.
"tinycthread_extra.h", line 76: Error: mtx is not defined.
"tinycthread_extra.h", line 76: Error: Expected an expression.
"rdposix.h", line 109: Warning: attribute unused is unsupported and will be skipped..
"rdatomic.h", line 52: Warning: attribute unused is unsupported and will be skipped..
"rdatomic.h", line 60: Warning: attribute unused is unsupported and will be skipped..
"rdatomic.h", line 77: Warning: attribute unused is unsupported and will be skipped..
"rdatomic.h", line 102: Warning: attribute unused is unsupported and will be skipped..
"rdatomic.h", line 116: Warning: attribute unused is unsupported and will be skipped..
"rdatomic.h", line 138: Warning: attribute unused is unsupported and will be skipped..
"rdatomic.h", line 145: Warning: attribute unused is unsupported and will be skipped..
"rdatomic.h", line 162: Warning: attribute unused is unsupported and will be skipped..
"rdatomic.h", line 188: Warning: attribute unused is unsupported and will be skipped..
"rdatomic.h", line 203: Warning: attribute unused is unsupported and will be skipped..
"rdposix.h", line 144: Warning: attribute unused is unsupported and will be skipped..
"rdposix.h", line 171: Warning: attribute unused is unsupported and will be skipped..
"rdposix.h", line 213: Warning: attribute unused is unsupported and will be skipped..
"rdposix.h", line 225: Warning: attribute unused is unsupported and will be skipped..
"rd.h", line 120: Warning: attribute unused is unsupported and will be skipped..
"rd.h", line 126: Warning: attribute unused is unsupported and will be skipped..
"rd.h", line 132: Warning: attribute unused is unsupported and will be skipped..
"rd.h", line 138: Warning: attribute unused is unsupported and will be skipped..
"rd.h", line 142: Warning: attribute unused is unsupported and will be skipped..
"rd.h", line 152: Warning: attribute unused is unsupported and will be skipped..
"rd.h", line 245: Warning: attribute unused is unsupported and will be skipped..
"rd.h", line 325: Warning: attribute unused is unsupported and will be skipped..
"rdtime.h", line 80: Warning: attribute unused is unsupported and will be skipped..
"rdtime.h", line 112: Warning: attribute unused is unsupported and will be skipped..
"rdtime.h", line 123: Warning: attribute unused is unsupported and will be skipped..
"rdtime.h", line 203: Error: TIME_UTC is not defined.
"rdtime.h", line 234: Error: TIME_UTC is not defined.
"rdaddr.h", line 107: Error: In this declaration "rsal_addr" is of an incomplete type "rd_sockaddr_inx_t[]".
"rdaddr.h", line 128: Warning: attribute unused is unsupported and will be skipped..
"rdaddr.h", line 175: Warning: attribute unused is unsupported and will be skipped..
"rdinterval.h", line 41: Warning: attribute unused is unsupported and will be skipped..
"rdinterval.h", line 66: Warning: attribute unused is unsupported and will be skipped..
"rdinterval.h", line 94: Warning: attribute unused is unsupported and will be skipped..
"rdinterval.h", line 103: Warning: attribute unused is unsupported and will be skipped..
"rdinterval.h", line 115: Warning: attribute unused is unsupported and will be skipped..
"rdinterval.h", line 125: Warning: attribute unused is unsupported and will be skipped..
"rdinterval.h", line 137: Warning: attribute unused is unsupported and will be skipped..
"rdinterval.h", line 147: Warning: attribute unused is unsupported and will be skipped..
"rdinterval.h", line 155: Warning: attribute unused is unsupported and will be skipped..
"rdavg.h", line 46: Error: mtx_t is not defined.
"rdavg.h", line 77: Warning: attribute unused is unsupported and will be skipped..
"rdavg.h", line 78: Error: ra_lock is not a member of rd_avg_s.
"rdavg.h", line 80: Error: ra_lock is not a member of rd_avg_s.
Compilation aborted, too many Error messages.