Advertisement
Guest User

Untitled

a guest
Feb 29th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.49 KB | None | 0 0
  1. # LD_EXTRA_OPTS=-m64 NICER=0 make all
  2. Usage: grep -hblcnsviw pattern file . . .
  3. /bin/sh: proto_: not found
  4. Linking opensips
  5. gcc -m64 data_lump.o re.o statistics.o pvar.o modparam.o script_var.o sr_module.o main.o errinfo.o usr_avp.o ip_addr.o regexp.o resolve.o transformations.o timer.o md5.o route.o xlog.o ut.o data_lump_rpl.o qvalue.o route_struct.o dset.o mod_fix.o serialize.o sliblist.o daemonize.o forward.o reactor.o async.o time_rec.o strcommon.o sha1.o md5utils.o socket_info.o core_stats.o proxy.o receive.o pt.o tsend.o action.o io_wait.o dprint.o script_cb.o error.o crc.o map.o name_alias.o msg_callbacks.o msg_translator.o bin_interface.o context.o sr_module_deps.o blacklists.o prime_hash.o flags.o mem/hp_malloc.o mem/vq_malloc.o mem/shm_mem.o mem/memtest.o mem/f_malloc.o mem/hp_malloc_stats.o mem/q_malloc.o mem/mem.o aaa/aaa.o parser/parse_supported.o parser/parse_methods.o parser/parse_diversion.o parser/parse_allow.o parser/parse_to.o parser/parse_privacy.o parser/parse_multipart.o parser/parse_expires.o parser/parse_min_expires.o parser/parse_rpid.o parser/parse_via.o parser/parse_content.o parser/parse_authenticate.o parser/parse_event.o parser/parse_ppi.o parser/msg_parser.o parser/hf.o parser/parse_param.o parser/parse_hname2.o parser/parse_nameaddr.o parser/parse_sipifmatch.o parser/parse_cseq.o parser/parse_call_info.o parser/parse_pai.o parser/parse_refer_to.o parser/parse_rr.o parser/parser_f.o parser/parse_from.o parser/parse_fline.o parser/parse_replaces.o parser/parse_disposition.o parser/parse_uri.o parser/parse_sst.o parser/digest/digest.o parser/digest/digest_parser.o parser/digest/param_parser.o parser/sdp/sdp_helpr_funcs.o parser/sdp/sdp.o parser/contact/parse_contact.o parser/contact/contact.o db/db_ut.o db/db_async.o db/db_pool.o db/db_res.o db/db_insertq.o db/db_row.o db/db.o db/db_id.o db/db_query.o mi/tree.o mi/fmt.o mi/mi_core.o mi/mi.o mi/attr.o evi/evi_core.o evi/evi_params.o evi/event_interface.o evi/evi_transport.o cachedb/cachedb.o cachedb/cachedb_id.o cachedb/cachedb_pool.o net/proto.o net/tcp_passfd.o net/net_tcp.o net/net_tcp_proc.o net/trans.o net/net_udp.o net/proto_tcp/proto_tcp.o net/proto_udp/proto_udp.o lex.yy.o cfg.tab.o -ldl -lresolv -L/usr/lib -lxnet -lnsl -lrt -o opensips
  6.  
  7.  
  8. make[1]: Entering directory '/usr/local/src/opensips/opensips_2_1/modules/aaa_radius'
  9. Compiling aaa_radius.c
  10. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"aaa_radius"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/usr/include -c aaa_radius.c -o aaa_radius.o
  11. Compiling rad.c
  12. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"aaa_radius"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/usr/include -c rad.c -o rad.o
  13. In file included from ../../parser/msg_parser.h:48:0,
  14. from ../../sr_module.h:48,
  15. from aaa_radius.c:40:
  16. ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  17. ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  18. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  19. ^
  20. ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  21. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  22. ^
  23. In file included from ../../locking.h:66:0,
  24. from ../../statistics.h:143,
  25. from ../../sr_module.h:49,
  26. from aaa_radius.c:40:
  27. ../../lock_alloc.h: In function 'lock_set_alloc':
  28. ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  29. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  30. ^
  31. In file included from ../../aaa/../parser/msg_parser.h:48:0,
  32. from ../../aaa/../sr_module.h:48,
  33. from ../../aaa/aaa.h:44,
  34. from rad.c:41:
  35. ../../aaa/../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  36. ../../aaa/../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  37. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  38. ^
  39. ../../aaa/../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  40. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  41. ^
  42. In file included from ../../aaa/../locking.h:66:0,
  43. from ../../aaa/../statistics.h:143,
  44. from ../../aaa/../sr_module.h:49,
  45. from ../../aaa/aaa.h:44,
  46. from rad.c:41:
  47. ../../aaa/../lock_alloc.h: In function 'lock_set_alloc':
  48. ../../aaa/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  49. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  50. ^
  51. Linking aaa_radius.so
  52. gcc -G -m64 aaa_radius.o rad.o -L/usr/lib -lradiusclient-ng -o aaa_radius.so
  53. make[1]: Leaving directory '/usr/local/src/opensips/opensips_2_1/modules/aaa_radius'
  54.  
  55.  
  56. make[1]: Entering directory '/usr/local/src/opensips/opensips_2_1/modules/compression'
  57. Compiling compression.c
  58. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"compression"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -c compression.c -o compression.o
  59. Compiling compression_helpers.c
  60. In file included from ../../parser/msg_parser.h:48:0,
  61. from ../../sr_module.h:48,
  62. from compression.c:30:
  63. ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  64. ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  65. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  66. ^
  67. ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  68. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  69. ^
  70. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"compression"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -c compression_helpers.c -o compression_helpers.o
  71. In file included from ../../locking.h:66:0,
  72. from ../../statistics.h:143,
  73. from ../../sr_module.h:49,
  74. from compression.c:30:
  75. ../../lock_alloc.h: In function 'lock_set_alloc':
  76. ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  77. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  78. ^
  79. Compiling gz_helpers.c
  80. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"compression"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -c gz_helpers.c -o gz_helpers.o
  81. In file included from ../../parser/msg_parser.h:48:0,
  82. from compression.h:26,
  83. from compression_helpers.h:26,
  84. from compression_helpers.c:28:
  85. ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  86. ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  87. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  88. ^
  89. ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  90. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  91. ^
  92. compression.c: In function 'mc_compact':
  93. compression.c:581:24: warning: cast increases required alignment of target type [-Wcast-align]
  94. mc_param_p wh_param = (mc_param_p)whitelist;
  95. ^
  96. In file included from ../../locking.h:66:0,
  97. from ../../statistics.h:143,
  98. from ../../sr_module.h:49,
  99. from ../../ut.h:37,
  100. from compression_helpers.c:31:
  101. ../../lock_alloc.h: In function 'lock_set_alloc':
  102. ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  103. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  104. ^
  105. compression.c: In function 'mc_compress':
  106. compression.c:1020:22: warning: cast increases required alignment of target type [-Wcast-align]
  107. gparam_p gp_algo = (gparam_p)param1;
  108. ^
  109. compression.c:1021:22: warning: cast increases required alignment of target type [-Wcast-align]
  110. gparam_p gp_flags = (gparam_p)param2;
  111. ^
  112. compression.c:1023:24: warning: cast increases required alignment of target type [-Wcast-align]
  113. mc_param_p wh_param = (mc_param_p)param3;
  114. ^
  115. compression.c:1078:13: warning: cast increases required alignment of target type [-Wcast-align]
  116. flags = ((gparam_p)value.rs.s)->v.ival;
  117. ^
  118. In file included from ../../parser/msg_parser.h:48:0,
  119. from compression.h:26,
  120. from compression_helpers.h:26,
  121. from gz_helpers.c:28:
  122. ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  123. ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  124. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  125. ^
  126. ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  127. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  128. ^
  129. In file included from ../../locking.h:66:0,
  130. from ../../statistics.h:143,
  131. from ../../sr_module.h:49,
  132. from ../../ut.h:37,
  133. from gz_helpers.c:29:
  134. ../../lock_alloc.h: In function 'lock_set_alloc':
  135. ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  136. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  137. ^
  138. Linking compression.so
  139. gcc -G -m64 compression.o compression_helpers.o gz_helpers.o -lz -o compression.so
  140. make[1]: Leaving directory '/usr/local/src/opensips/opensips_2_1/modules/compression'
  141.  
  142.  
  143. make[1]: Entering directory '/usr/local/src/opensips/opensips_2_1/modules/db_postgres'
  144. Compiling val.c
  145. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"db_postgres"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/opt/csw/postgresql/include -c val.c -o val.o
  146. Compiling dbase.c
  147. In file included from ../../db/../parser/msg_parser.h:48:0,
  148. from ../../db/../sr_module.h:48,
  149. from ../../db/../ut.h:37,
  150. from ../../db/db_key.h:30,
  151. from ../../db/db_ut.h:75,
  152. from val.c:37:
  153. ../../db/../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  154. ../../db/../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  155. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  156. ^
  157. ../../db/../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  158. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  159. ^
  160. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"db_postgres"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/opt/csw/postgresql/include -c dbase.c -o dbase.o
  161. In file included from ../../db/../locking.h:66:0,
  162. from ../../db/../statistics.h:143,
  163. from ../../db/../sr_module.h:49,
  164. from ../../db/../ut.h:37,
  165. from ../../db/db_key.h:30,
  166. from ../../db/db_ut.h:75,
  167. from val.c:37:
  168. ../../db/../lock_alloc.h: In function 'lock_set_alloc':
  169. ../../db/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  170. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  171. ^
  172. In file included from ../../db/../parser/msg_parser.h:48:0,
  173. from ../../db/../sr_module.h:48,
  174. from ../../db/../ut.h:37,
  175. from ../../db/db_key.h:30,
  176. from ../../db/db.h:41,
  177. from dbase.c:70:
  178. ../../db/../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  179. ../../db/../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  180. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  181. ^
  182. ../../db/../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  183. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  184. ^
  185. In file included from ../../db/../locking.h:66:0,
  186. from ../../db/../statistics.h:143,
  187. from ../../db/../sr_module.h:49,
  188. from ../../db/../ut.h:37,
  189. from ../../db/db_key.h:30,
  190. from ../../db/db.h:41,
  191. from dbase.c:70:
  192. ../../db/../lock_alloc.h: In function 'lock_set_alloc':
  193. ../../db/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  194. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  195. ^
  196. Compiling res.c
  197. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"db_postgres"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/opt/csw/postgresql/include -c res.c -o res.o
  198. In file included from ../../db/../parser/msg_parser.h:48:0,
  199. from ../../db/../sr_module.h:48,
  200. from ../../db/../ut.h:37,
  201. from ../../db/db_key.h:30,
  202. from ../../db/db_res.h:35,
  203. from res.c:44:
  204. ../../db/../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  205. ../../db/../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  206. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  207. ^
  208. ../../db/../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  209. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  210. ^
  211. In file included from ../../db/../locking.h:66:0,
  212. from ../../db/../statistics.h:143,
  213. from ../../db/../sr_module.h:49,
  214. from ../../db/../ut.h:37,
  215. from ../../db/db_key.h:30,
  216. from ../../db/db_res.h:35,
  217. from res.c:44:
  218. ../../db/../lock_alloc.h: In function 'lock_set_alloc':
  219. ../../db/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  220. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  221. ^
  222. Compiling pg_con.c
  223. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"db_postgres"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/opt/csw/postgresql/include -c pg_con.c -o pg_con.o
  224. In file included from ../../db/../globals.h:30:0,
  225. from ../../db/db_pool.h:30,
  226. from pg_con.h:35,
  227. from pg_con.c:22:
  228. ../../db/../ip_addr.h: In function 'sockaddr2ip_addr':
  229. ../../db/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  230. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  231. ^
  232. ../../db/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  233. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  234. ^
  235. Compiling db_postgres.c
  236. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"db_postgres"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/opt/csw/postgresql/include -c db_postgres.c -o db_postgres.o
  237. In file included from ../../locking.h:66:0,
  238. from ../../statistics.h:143,
  239. from ../../sr_module.h:49,
  240. from ../../ut.h:37,
  241. from pg_con.c:25:
  242. ../../lock_alloc.h: In function 'lock_set_alloc':
  243. ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  244. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  245. ^
  246. In file included from ../../parser/msg_parser.h:48:0,
  247. from ../../sr_module.h:48,
  248. from db_postgres.c:30:
  249. ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  250. ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  251. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  252. ^
  253. ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  254. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  255. ^
  256. In file included from ../../locking.h:66:0,
  257. from ../../statistics.h:143,
  258. from ../../sr_module.h:49,
  259. from db_postgres.c:30:
  260. ../../lock_alloc.h: In function 'lock_set_alloc':
  261. ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  262. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  263. ^
  264. Linking db_postgres.so
  265. gcc -G -m64 val.o dbase.o res.o pg_con.o db_postgres.o -L/opt/csw/postgresql/lib/sparcv9 -lpq -o db_postgres.so
  266. make[1]: Leaving directory '/usr/local/src/opensips/opensips_2_1/modules/db_postgres'
  267.  
  268.  
  269. make[1]: Entering directory '/usr/local/src/opensips/opensips_2_1/modules/db_unixodbc'
  270. Compiling val.c
  271. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"db_unixodbc"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/usr/include -I/usr/include/odbc -c val.c -o val.o
  272. Compiling dbase.c
  273. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"db_unixodbc"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/usr/include -I/usr/include/odbc -c dbase.c -o dbase.o
  274. Compiling res.c
  275. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"db_unixodbc"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/usr/include -I/usr/include/odbc -c res.c -o res.o
  276. In file included from ../../db/../parser/msg_parser.h:48:0,
  277. from ../../db/../sr_module.h:48,
  278. from ../../db/../ut.h:37,
  279. from ../../db/db_key.h:30,
  280. from ../../db/db_ut.h:75,
  281. from val.c:32:
  282. ../../db/../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  283. ../../db/../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  284. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  285. ^
  286. ../../db/../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  287. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  288. ^
  289. In file included from ../../db/../parser/msg_parser.h:48:0,
  290. from ../../db/../sr_module.h:48,
  291. from ../../db/../ut.h:37,
  292. from ../../db/db_key.h:30,
  293. from ../../db/db_query.h:35,
  294. from dbase.c:37:
  295. ../../db/../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  296. ../../db/../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  297. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  298. ^
  299. ../../db/../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  300. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  301. ^
  302. In file included from ../../db/../locking.h:66:0,
  303. from ../../db/../statistics.h:143,
  304. from ../../db/../sr_module.h:49,
  305. from ../../db/../ut.h:37,
  306. from ../../db/db_key.h:30,
  307. from ../../db/db_query.h:35,
  308. from dbase.c:37:
  309. ../../db/../lock_alloc.h: In function 'lock_set_alloc':
  310. ../../db/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  311. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  312. ^
  313. Compiling con.c
  314. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"db_unixodbc"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/usr/include -I/usr/include/odbc -c con.c -o con.o
  315. Compiling row.c
  316. In file included from ../../db/../parser/msg_parser.h:48:0,
  317. from ../../db/../sr_module.h:48,
  318. from ../../db/../ut.h:37,
  319. from ../../db/db_key.h:30,
  320. from ../../db/db_res.h:35,
  321. from row.h:33,
  322. from res.c:33:
  323. ../../db/../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  324. ../../db/../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  325. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  326. ^
  327. ../../db/../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  328. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  329. ^
  330. In file included from ../../db/../locking.h:66:0,
  331. from ../../db/../statistics.h:143,
  332. from ../../db/../sr_module.h:49,
  333. from ../../db/../ut.h:37,
  334. from ../../db/db_key.h:30,
  335. from ../../db/db_ut.h:75,
  336. from val.c:32:
  337. ../../db/../lock_alloc.h: In function 'lock_set_alloc':
  338. ../../db/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  339. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  340. ^
  341. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"db_unixodbc"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/usr/include -I/usr/include/odbc -c row.c -o row.o
  342. In file included from ../../db/../locking.h:66:0,
  343. from ../../db/../statistics.h:143,
  344. from ../../db/../sr_module.h:49,
  345. from ../../db/../ut.h:37,
  346. from ../../db/db_key.h:30,
  347. from ../../db/db_res.h:35,
  348. from row.h:33,
  349. from res.c:33:
  350. ../../db/../lock_alloc.h: In function 'lock_set_alloc':
  351. ../../db/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  352. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  353. ^
  354. Compiling db_unixodbc.c
  355. In file included from ../../db/../globals.h:30:0,
  356. from ../../db/db_pool.h:30,
  357. from con.h:33,
  358. from con.c:32:
  359. ../../db/../ip_addr.h: In function 'sockaddr2ip_addr':
  360. ../../db/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  361. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  362. ^
  363. ../../db/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  364. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  365. ^
  366. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"db_unixodbc"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/usr/include -I/usr/include/odbc -c db_unixodbc.c -o db_unixodbc.o
  367. In file included from ../../db/../parser/msg_parser.h:48:0,
  368. from ../../db/../sr_module.h:48,
  369. from ../../db/../ut.h:37,
  370. from ../../db/db_key.h:30,
  371. from ../../db/db_ut.h:75,
  372. from row.c:33:
  373. ../../db/../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  374. ../../db/../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  375. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  376. ^
  377. ../../db/../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  378. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  379. ^
  380. In file included from ../../db/../locking.h:66:0,
  381. from ../../db/../statistics.h:143,
  382. from ../../db/../sr_module.h:49,
  383. from ../../db/../ut.h:37,
  384. from ../../db/db_key.h:30,
  385. from ../../db/db_ut.h:75,
  386. from row.c:33:
  387. ../../db/../lock_alloc.h: In function 'lock_set_alloc':
  388. ../../db/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  389. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  390. ^
  391. In file included from ../../parser/msg_parser.h:48:0,
  392. from ../../sr_module.h:48,
  393. from db_unixodbc.c:29:
  394. ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  395. ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  396. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  397. ^
  398. ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  399. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  400. ^
  401. In file included from ../../locking.h:66:0,
  402. from ../../statistics.h:143,
  403. from ../../sr_module.h:49,
  404. from ../../ut.h:37,
  405. from con.c:35:
  406. ../../lock_alloc.h: In function 'lock_set_alloc':
  407. ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  408. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  409. ^
  410. In file included from ../../locking.h:66:0,
  411. from ../../statistics.h:143,
  412. from ../../sr_module.h:49,
  413. from db_unixodbc.c:29:
  414. ../../lock_alloc.h: In function 'lock_set_alloc':
  415. ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  416. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  417. ^
  418. Linking db_unixodbc.so
  419. gcc -G -m64 val.o dbase.o res.o con.o row.o db_unixodbc.o -L/usr/lib -lodbc -o db_unixodbc.so
  420. make[1]: Leaving directory '/usr/local/src/opensips/opensips_2_1/modules/db_unixodbc'
  421.  
  422. make[1]: Entering directory '/usr/local/src/opensips/opensips_2_1/modules/dialplan'
  423. Compiling dp_db.c
  424. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"dialplan"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/opt/csw/include -c dp_db.c -o dp_db.o
  425. In file included from ../../parser/msg_parser.h:48:0,
  426. from ../../sr_module.h:48,
  427. from ../../ut.h:37,
  428. from dp_db.c:29:
  429. ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  430. ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  431. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  432. ^
  433. ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  434. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  435. ^
  436. In file included from ../../locking.h:66:0,
  437. from ../../statistics.h:143,
  438. from ../../sr_module.h:49,
  439. from ../../ut.h:37,
  440. from dp_db.c:29:
  441. ../../lock_alloc.h: In function 'lock_set_alloc':
  442. ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  443. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  444. ^
  445. Compiling dp_repl.c
  446. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"dialplan"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/opt/csw/include -c dp_repl.c -o dp_repl.o
  447. In file included from ../../parser/msg_parser.h:48:0,
  448. from ../../pvar.h:32,
  449. from ../../re.h:35,
  450. from dp_repl.c:25:
  451. ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  452. ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  453. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  454. ^
  455. ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  456. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  457. ^
  458. In file included from ../../locking.h:66:0,
  459. from ../../rw_locking.h:5,
  460. from dialplan.h:29,
  461. from dp_repl.c:27:
  462. ../../lock_alloc.h: In function 'lock_set_alloc':
  463. ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  464. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  465. ^
  466. Compiling dialplan.c
  467. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"dialplan"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/opt/csw/include -c dialplan.c -o dialplan.o
  468. In file included from ../../parser/msg_parser.h:48:0,
  469. from ../../sr_module.h:48,
  470. from dialplan.c:30:
  471. ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  472. ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  473. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  474. ^
  475. ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  476. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  477. ^
  478. In file included from ../../locking.h:66:0,
  479. from ../../statistics.h:143,
  480. from ../../sr_module.h:49,
  481. from dialplan.c:30:
  482. ../../lock_alloc.h: In function 'lock_set_alloc':
  483. ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  484. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  485. ^
  486. dialplan.c: In function 'dp_translate_f':
  487. dialplan.c:691:11: warning: cast increases required alignment of target type [-Wcast-align]
  488. id_par = (dp_param_p) str1;
  489. ^
  490. dialplan.c:726:29: warning: cast increases required alignment of target type [-Wcast-align]
  491. repl_par = (str2!=NULL) ? ((dp_param_p)str2) : default_par2;
  492. ^
  493. dialplan.c:768:25: warning: cast increases required alignment of target type [-Wcast-align]
  494. if (pv_set_value(msg, (pv_spec_p)attr_spec, 0, &pval) != 0) {
  495. ^
  496. Linking dialplan.so
  497. gcc -G -m64 dp_db.o dp_repl.o dialplan.o -ldl -lresolv -L/usr/lib -lxnet -lnsl -lrt -L/opt/csw/lib -R/opt/csw/lib -lpcre -o dialplan.so
  498. make[1]: Leaving directory '/usr/local/src/opensips/opensips_2_1/modules/dialplan'
  499.  
  500.  
  501. make[1]: Entering directory '/usr/local/src/opensips/opensips_2_1/modules/emergency'
  502. Compiling xml_parser.c
  503. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"emergency"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -c xml_parser.c -o xml_parser.o
  504. Compiling sip_emergency.c
  505. In file included from ../../mem/../locking.h:66:0,
  506. from ../../mem/../statistics.h:143,
  507. from ../../mem/shm_mem.h:30,
  508. from xml_parser.c:33:
  509. ../../mem/../lock_alloc.h: In function 'lock_set_alloc':
  510. ../../mem/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  511. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  512. ^
  513. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"emergency"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -c sip_emergency.c -o sip_emergency.o
  514. Compiling post_curl.c
  515. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"emergency"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -c post_curl.c -o post_curl.o
  516. In file included from ../../parser/msg_parser.h:48:0,
  517. from ../../sr_module.h:48,
  518. from sip_emergency.h:28,
  519. from sip_emergency.c:29:
  520. ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  521. ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  522. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  523. ^
  524. ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  525. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  526. ^
  527. In file included from ../../locking.h:66:0,
  528. from ../../statistics.h:143,
  529. from ../../sr_module.h:49,
  530. from sip_emergency.h:28,
  531. from sip_emergency.c:29:
  532. ../../lock_alloc.h: In function 'lock_set_alloc':
  533. ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  534. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  535. ^
  536. Compiling report_emergency.c
  537. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"emergency"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -c report_emergency.c -o report_emergency.o
  538. Compiling emergency_methods.c
  539. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"emergency"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -c emergency_methods.c -o emergency_methods.o
  540. In file included from ../../mem/../locking.h:66:0,
  541. from ../../mem/../statistics.h:143,
  542. from ../../mem/shm_mem.h:30,
  543. from post_curl.c:35:
  544. ../../mem/../lock_alloc.h: In function 'lock_set_alloc':
  545. ../../mem/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  546. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  547. ^
  548. Compiling http_emergency.c
  549. In file included from ../../parser/msg_parser.h:48:0,
  550. from ../../sr_module.h:48,
  551. from report_emergency.h:28,
  552. from report_emergency.c:29:
  553. ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  554. ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  555. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  556. ^
  557. ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  558. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  559. ^
  560. In file included from /usr/include/sys/socket.h:45:0,
  561. from ../../parser/../ip_addr.h:39,
  562. from ../../parser/msg_parser.h:48,
  563. from ../../sr_module.h:48,
  564. from sip_emergency.h:28,
  565. from sip_emergency.c:29:
  566. sip_emergency.h: At top level:
  567. sip_emergency.h:65:47: error: expected ';', ',' or ')' before '.' token
  568. int get_ip_socket(struct sip_msg *msg, char** s_addr);
  569. ^
  570. gcc -fPIC -DPIC -m64 -Wcast-align -mcpu=ultrasparc -DMOD_NAME='"emergency"' -I/usr/include/json -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES -DF_MALLOC -DEXTRA_DEBUG -DNAME='"opensips"' -DVERSION='"2.1.2"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes -DCFG_DIR='"/opt/opensips_2_1//etc/opensips/"' -DVERSIONTYPE='"git"' -DTHISREVISION='"7dadebb"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -c http_emergency.c -o http_emergency.o
  571. sip_emergency.c:306:47: error: expected ';', ',' or ')' before '.' token
  572. int get_ip_socket(struct sip_msg *msg, char** s_addr){
  573. ^
  574. sip_emergency.c: In function 'add_headers':
  575. sip_emergency.c:512:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
  576. char *s_addr = "@vsp.com";
  577. ^
  578. sip_emergency.c:512:8: error: expected expression before '.' token
  579. sip_emergency.c:517:26: error: 'S_un' undeclared (first use in this function)
  580. if (get_ip_socket(msg, &s_addr) == -1){
  581. ^
  582. sip_emergency.c:517:26: note: each undeclared identifier is reported only once for each function it appears in
  583. In file included from ../../locking.h:66:0,
  584. from ../../statistics.h:143,
  585. from ../../sr_module.h:49,
  586. from report_emergency.h:28,
  587. from report_emergency.c:29:
  588. ../../lock_alloc.h: In function 'lock_set_alloc':
  589. ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  590. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  591. ^
  592. sip_emergency.c: In function 'add_hdr_PAI':
  593. sip_emergency.c:602:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
  594. char *s_addr = "@vsp.com";
  595. ^
  596. sip_emergency.c:602:8: error: expected expression before '.' token
  597. sip_emergency.c:607:26: error: 'S_un' undeclared (first use in this function)
  598. if (get_ip_socket(msg, &s_addr) == -1){
  599. ^
  600. In file included from ../../parser/msg_parser.h:48:0,
  601. from ../../sr_module.h:48,
  602. from emergency_methods.h:32,
  603. from emergency_methods.c:31:
  604. ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  605. ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  606. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  607. ^
  608. ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  609. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  610. ^
  611. In file included from ../../parser/msg_parser.h:48:0,
  612. from ../../sr_module.h:48,
  613. from http_emergency.h:28,
  614. from http_emergency.c:29:
  615. ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
  616. ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
  617. memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
  618. ^
  619. ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
  620. memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
  621. ^
  622. In file included from /usr/include/sys/socket.h:45:0,
  623. from ../../parser/../ip_addr.h:39,
  624. from ../../parser/msg_parser.h:48,
  625. from ../../sr_module.h:48,
  626. from report_emergency.h:28,
  627. from report_emergency.c:29:
  628. sip_emergency.h: At top level:
  629. sip_emergency.h:65:47: error: expected ';', ',' or ')' before '.' token
  630. int get_ip_socket(struct sip_msg *msg, char** s_addr);
  631. ^
  632. ../../Makefile.rules:25: recipe for target 'sip_emergency.o' failed
  633. make[1]: *** [sip_emergency.o] Error 1
  634. make[1]: *** Waiting for unfinished jobs....
  635. In file included from ../../locking.h:66:0,
  636. from ../../statistics.h:143,
  637. from ../../sr_module.h:49,
  638. from emergency_methods.h:32,
  639. from emergency_methods.c:31:
  640. ../../lock_alloc.h: In function 'lock_set_alloc':
  641. ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  642. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  643. ^
  644. In file included from ../../locking.h:66:0,
  645. from ../../statistics.h:143,
  646. from ../../sr_module.h:49,
  647. from http_emergency.h:28,
  648. from http_emergency.c:29:
  649. ../../lock_alloc.h: In function 'lock_set_alloc':
  650. ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
  651. ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
  652. ^
  653. ../../Makefile.rules:25: recipe for target 'report_emergency.o' failed
  654. make[1]: *** [report_emergency.o] Error 1
  655. In file included from /usr/include/sys/socket.h:45:0,
  656. from ../../parser/../ip_addr.h:39,
  657. from ../../parser/msg_parser.h:48,
  658. from ../../sr_module.h:48,
  659. from http_emergency.h:28,
  660. from http_emergency.c:29:
  661. sip_emergency.h: At top level:
  662. sip_emergency.h:65:47: error: expected ';', ',' or ')' before '.' token
  663. int get_ip_socket(struct sip_msg *msg, char** s_addr);
  664. ^
  665. In file included from /usr/include/sys/socket.h:45:0,
  666. from /opt/csw/include/curl/curlbuild.h:160,
  667. from /opt/csw/include/curl/curl.h:34,
  668. from emergency_methods.c:30:
  669. sip_emergency.h: At top level:
  670. sip_emergency.h:65:47: error: expected ';', ',' or ')' before '.' token
  671. int get_ip_socket(struct sip_msg *msg, char** s_addr);
  672. ^
  673. ../../Makefile.rules:25: recipe for target 'http_emergency.o' failed
  674. make[1]: *** [http_emergency.o] Error 1
  675. ../../Makefile.rules:25: recipe for target 'emergency_methods.o' failed
  676. make[1]: *** [emergency_methods.o] Error 1
  677. make[1]: Leaving directory '/usr/local/src/opensips/opensips_2_1/modules/emergency'
  678. Makefile:194: recipe for target 'modules' failed
  679. make: *** [modules] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement