Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # LD_EXTRA_OPTS=-m64 NICER=0 make all
- Usage: grep -hblcnsviw pattern file . . .
- /bin/sh: proto_: not found
- Linking opensips
- 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
- make[1]: Entering directory '/usr/local/src/opensips/opensips_2_1/modules/aaa_radius'
- Compiling aaa_radius.c
- 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
- Compiling rad.c
- 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
- In file included from ../../parser/msg_parser.h:48:0,
- from ../../sr_module.h:48,
- from aaa_radius.c:40:
- ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from ../../locking.h:66:0,
- from ../../statistics.h:143,
- from ../../sr_module.h:49,
- from aaa_radius.c:40:
- ../../lock_alloc.h: In function 'lock_set_alloc':
- ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- In file included from ../../aaa/../parser/msg_parser.h:48:0,
- from ../../aaa/../sr_module.h:48,
- from ../../aaa/aaa.h:44,
- from rad.c:41:
- ../../aaa/../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../aaa/../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../aaa/../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from ../../aaa/../locking.h:66:0,
- from ../../aaa/../statistics.h:143,
- from ../../aaa/../sr_module.h:49,
- from ../../aaa/aaa.h:44,
- from rad.c:41:
- ../../aaa/../lock_alloc.h: In function 'lock_set_alloc':
- ../../aaa/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- Linking aaa_radius.so
- gcc -G -m64 aaa_radius.o rad.o -L/usr/lib -lradiusclient-ng -o aaa_radius.so
- make[1]: Leaving directory '/usr/local/src/opensips/opensips_2_1/modules/aaa_radius'
- make[1]: Entering directory '/usr/local/src/opensips/opensips_2_1/modules/compression'
- Compiling compression.c
- 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
- Compiling compression_helpers.c
- In file included from ../../parser/msg_parser.h:48:0,
- from ../../sr_module.h:48,
- from compression.c:30:
- ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- 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
- In file included from ../../locking.h:66:0,
- from ../../statistics.h:143,
- from ../../sr_module.h:49,
- from compression.c:30:
- ../../lock_alloc.h: In function 'lock_set_alloc':
- ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- Compiling gz_helpers.c
- 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
- In file included from ../../parser/msg_parser.h:48:0,
- from compression.h:26,
- from compression_helpers.h:26,
- from compression_helpers.c:28:
- ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- compression.c: In function 'mc_compact':
- compression.c:581:24: warning: cast increases required alignment of target type [-Wcast-align]
- mc_param_p wh_param = (mc_param_p)whitelist;
- ^
- In file included from ../../locking.h:66:0,
- from ../../statistics.h:143,
- from ../../sr_module.h:49,
- from ../../ut.h:37,
- from compression_helpers.c:31:
- ../../lock_alloc.h: In function 'lock_set_alloc':
- ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- compression.c: In function 'mc_compress':
- compression.c:1020:22: warning: cast increases required alignment of target type [-Wcast-align]
- gparam_p gp_algo = (gparam_p)param1;
- ^
- compression.c:1021:22: warning: cast increases required alignment of target type [-Wcast-align]
- gparam_p gp_flags = (gparam_p)param2;
- ^
- compression.c:1023:24: warning: cast increases required alignment of target type [-Wcast-align]
- mc_param_p wh_param = (mc_param_p)param3;
- ^
- compression.c:1078:13: warning: cast increases required alignment of target type [-Wcast-align]
- flags = ((gparam_p)value.rs.s)->v.ival;
- ^
- In file included from ../../parser/msg_parser.h:48:0,
- from compression.h:26,
- from compression_helpers.h:26,
- from gz_helpers.c:28:
- ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from ../../locking.h:66:0,
- from ../../statistics.h:143,
- from ../../sr_module.h:49,
- from ../../ut.h:37,
- from gz_helpers.c:29:
- ../../lock_alloc.h: In function 'lock_set_alloc':
- ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- Linking compression.so
- gcc -G -m64 compression.o compression_helpers.o gz_helpers.o -lz -o compression.so
- make[1]: Leaving directory '/usr/local/src/opensips/opensips_2_1/modules/compression'
- make[1]: Entering directory '/usr/local/src/opensips/opensips_2_1/modules/db_postgres'
- Compiling val.c
- 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
- Compiling dbase.c
- In file included from ../../db/../parser/msg_parser.h:48:0,
- from ../../db/../sr_module.h:48,
- from ../../db/../ut.h:37,
- from ../../db/db_key.h:30,
- from ../../db/db_ut.h:75,
- from val.c:37:
- ../../db/../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../db/../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../db/../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- 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
- In file included from ../../db/../locking.h:66:0,
- from ../../db/../statistics.h:143,
- from ../../db/../sr_module.h:49,
- from ../../db/../ut.h:37,
- from ../../db/db_key.h:30,
- from ../../db/db_ut.h:75,
- from val.c:37:
- ../../db/../lock_alloc.h: In function 'lock_set_alloc':
- ../../db/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- In file included from ../../db/../parser/msg_parser.h:48:0,
- from ../../db/../sr_module.h:48,
- from ../../db/../ut.h:37,
- from ../../db/db_key.h:30,
- from ../../db/db.h:41,
- from dbase.c:70:
- ../../db/../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../db/../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../db/../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from ../../db/../locking.h:66:0,
- from ../../db/../statistics.h:143,
- from ../../db/../sr_module.h:49,
- from ../../db/../ut.h:37,
- from ../../db/db_key.h:30,
- from ../../db/db.h:41,
- from dbase.c:70:
- ../../db/../lock_alloc.h: In function 'lock_set_alloc':
- ../../db/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- Compiling res.c
- 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
- In file included from ../../db/../parser/msg_parser.h:48:0,
- from ../../db/../sr_module.h:48,
- from ../../db/../ut.h:37,
- from ../../db/db_key.h:30,
- from ../../db/db_res.h:35,
- from res.c:44:
- ../../db/../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../db/../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../db/../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from ../../db/../locking.h:66:0,
- from ../../db/../statistics.h:143,
- from ../../db/../sr_module.h:49,
- from ../../db/../ut.h:37,
- from ../../db/db_key.h:30,
- from ../../db/db_res.h:35,
- from res.c:44:
- ../../db/../lock_alloc.h: In function 'lock_set_alloc':
- ../../db/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- Compiling pg_con.c
- 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
- In file included from ../../db/../globals.h:30:0,
- from ../../db/db_pool.h:30,
- from pg_con.h:35,
- from pg_con.c:22:
- ../../db/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../db/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../db/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- Compiling db_postgres.c
- 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
- In file included from ../../locking.h:66:0,
- from ../../statistics.h:143,
- from ../../sr_module.h:49,
- from ../../ut.h:37,
- from pg_con.c:25:
- ../../lock_alloc.h: In function 'lock_set_alloc':
- ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- In file included from ../../parser/msg_parser.h:48:0,
- from ../../sr_module.h:48,
- from db_postgres.c:30:
- ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from ../../locking.h:66:0,
- from ../../statistics.h:143,
- from ../../sr_module.h:49,
- from db_postgres.c:30:
- ../../lock_alloc.h: In function 'lock_set_alloc':
- ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- Linking db_postgres.so
- 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
- make[1]: Leaving directory '/usr/local/src/opensips/opensips_2_1/modules/db_postgres'
- make[1]: Entering directory '/usr/local/src/opensips/opensips_2_1/modules/db_unixodbc'
- Compiling val.c
- 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
- Compiling dbase.c
- 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
- Compiling res.c
- 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
- In file included from ../../db/../parser/msg_parser.h:48:0,
- from ../../db/../sr_module.h:48,
- from ../../db/../ut.h:37,
- from ../../db/db_key.h:30,
- from ../../db/db_ut.h:75,
- from val.c:32:
- ../../db/../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../db/../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../db/../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from ../../db/../parser/msg_parser.h:48:0,
- from ../../db/../sr_module.h:48,
- from ../../db/../ut.h:37,
- from ../../db/db_key.h:30,
- from ../../db/db_query.h:35,
- from dbase.c:37:
- ../../db/../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../db/../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../db/../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from ../../db/../locking.h:66:0,
- from ../../db/../statistics.h:143,
- from ../../db/../sr_module.h:49,
- from ../../db/../ut.h:37,
- from ../../db/db_key.h:30,
- from ../../db/db_query.h:35,
- from dbase.c:37:
- ../../db/../lock_alloc.h: In function 'lock_set_alloc':
- ../../db/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- Compiling con.c
- 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
- Compiling row.c
- In file included from ../../db/../parser/msg_parser.h:48:0,
- from ../../db/../sr_module.h:48,
- from ../../db/../ut.h:37,
- from ../../db/db_key.h:30,
- from ../../db/db_res.h:35,
- from row.h:33,
- from res.c:33:
- ../../db/../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../db/../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../db/../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from ../../db/../locking.h:66:0,
- from ../../db/../statistics.h:143,
- from ../../db/../sr_module.h:49,
- from ../../db/../ut.h:37,
- from ../../db/db_key.h:30,
- from ../../db/db_ut.h:75,
- from val.c:32:
- ../../db/../lock_alloc.h: In function 'lock_set_alloc':
- ../../db/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- 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
- In file included from ../../db/../locking.h:66:0,
- from ../../db/../statistics.h:143,
- from ../../db/../sr_module.h:49,
- from ../../db/../ut.h:37,
- from ../../db/db_key.h:30,
- from ../../db/db_res.h:35,
- from row.h:33,
- from res.c:33:
- ../../db/../lock_alloc.h: In function 'lock_set_alloc':
- ../../db/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- Compiling db_unixodbc.c
- In file included from ../../db/../globals.h:30:0,
- from ../../db/db_pool.h:30,
- from con.h:33,
- from con.c:32:
- ../../db/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../db/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../db/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- 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
- In file included from ../../db/../parser/msg_parser.h:48:0,
- from ../../db/../sr_module.h:48,
- from ../../db/../ut.h:37,
- from ../../db/db_key.h:30,
- from ../../db/db_ut.h:75,
- from row.c:33:
- ../../db/../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../db/../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../db/../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from ../../db/../locking.h:66:0,
- from ../../db/../statistics.h:143,
- from ../../db/../sr_module.h:49,
- from ../../db/../ut.h:37,
- from ../../db/db_key.h:30,
- from ../../db/db_ut.h:75,
- from row.c:33:
- ../../db/../lock_alloc.h: In function 'lock_set_alloc':
- ../../db/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- In file included from ../../parser/msg_parser.h:48:0,
- from ../../sr_module.h:48,
- from db_unixodbc.c:29:
- ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from ../../locking.h:66:0,
- from ../../statistics.h:143,
- from ../../sr_module.h:49,
- from ../../ut.h:37,
- from con.c:35:
- ../../lock_alloc.h: In function 'lock_set_alloc':
- ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- In file included from ../../locking.h:66:0,
- from ../../statistics.h:143,
- from ../../sr_module.h:49,
- from db_unixodbc.c:29:
- ../../lock_alloc.h: In function 'lock_set_alloc':
- ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- Linking db_unixodbc.so
- gcc -G -m64 val.o dbase.o res.o con.o row.o db_unixodbc.o -L/usr/lib -lodbc -o db_unixodbc.so
- make[1]: Leaving directory '/usr/local/src/opensips/opensips_2_1/modules/db_unixodbc'
- make[1]: Entering directory '/usr/local/src/opensips/opensips_2_1/modules/dialplan'
- Compiling dp_db.c
- 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
- In file included from ../../parser/msg_parser.h:48:0,
- from ../../sr_module.h:48,
- from ../../ut.h:37,
- from dp_db.c:29:
- ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from ../../locking.h:66:0,
- from ../../statistics.h:143,
- from ../../sr_module.h:49,
- from ../../ut.h:37,
- from dp_db.c:29:
- ../../lock_alloc.h: In function 'lock_set_alloc':
- ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- Compiling dp_repl.c
- 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
- In file included from ../../parser/msg_parser.h:48:0,
- from ../../pvar.h:32,
- from ../../re.h:35,
- from dp_repl.c:25:
- ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from ../../locking.h:66:0,
- from ../../rw_locking.h:5,
- from dialplan.h:29,
- from dp_repl.c:27:
- ../../lock_alloc.h: In function 'lock_set_alloc':
- ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- Compiling dialplan.c
- 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
- In file included from ../../parser/msg_parser.h:48:0,
- from ../../sr_module.h:48,
- from dialplan.c:30:
- ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from ../../locking.h:66:0,
- from ../../statistics.h:143,
- from ../../sr_module.h:49,
- from dialplan.c:30:
- ../../lock_alloc.h: In function 'lock_set_alloc':
- ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- dialplan.c: In function 'dp_translate_f':
- dialplan.c:691:11: warning: cast increases required alignment of target type [-Wcast-align]
- id_par = (dp_param_p) str1;
- ^
- dialplan.c:726:29: warning: cast increases required alignment of target type [-Wcast-align]
- repl_par = (str2!=NULL) ? ((dp_param_p)str2) : default_par2;
- ^
- dialplan.c:768:25: warning: cast increases required alignment of target type [-Wcast-align]
- if (pv_set_value(msg, (pv_spec_p)attr_spec, 0, &pval) != 0) {
- ^
- Linking dialplan.so
- 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
- make[1]: Leaving directory '/usr/local/src/opensips/opensips_2_1/modules/dialplan'
- make[1]: Entering directory '/usr/local/src/opensips/opensips_2_1/modules/emergency'
- Compiling xml_parser.c
- 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
- Compiling sip_emergency.c
- In file included from ../../mem/../locking.h:66:0,
- from ../../mem/../statistics.h:143,
- from ../../mem/shm_mem.h:30,
- from xml_parser.c:33:
- ../../mem/../lock_alloc.h: In function 'lock_set_alloc':
- ../../mem/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- 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
- Compiling post_curl.c
- 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
- In file included from ../../parser/msg_parser.h:48:0,
- from ../../sr_module.h:48,
- from sip_emergency.h:28,
- from sip_emergency.c:29:
- ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from ../../locking.h:66:0,
- from ../../statistics.h:143,
- from ../../sr_module.h:49,
- from sip_emergency.h:28,
- from sip_emergency.c:29:
- ../../lock_alloc.h: In function 'lock_set_alloc':
- ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- Compiling report_emergency.c
- 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
- Compiling emergency_methods.c
- 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
- In file included from ../../mem/../locking.h:66:0,
- from ../../mem/../statistics.h:143,
- from ../../mem/shm_mem.h:30,
- from post_curl.c:35:
- ../../mem/../lock_alloc.h: In function 'lock_set_alloc':
- ../../mem/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- Compiling http_emergency.c
- In file included from ../../parser/msg_parser.h:48:0,
- from ../../sr_module.h:48,
- from report_emergency.h:28,
- from report_emergency.c:29:
- ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from /usr/include/sys/socket.h:45:0,
- from ../../parser/../ip_addr.h:39,
- from ../../parser/msg_parser.h:48,
- from ../../sr_module.h:48,
- from sip_emergency.h:28,
- from sip_emergency.c:29:
- sip_emergency.h: At top level:
- sip_emergency.h:65:47: error: expected ';', ',' or ')' before '.' token
- int get_ip_socket(struct sip_msg *msg, char** s_addr);
- ^
- 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
- sip_emergency.c:306:47: error: expected ';', ',' or ')' before '.' token
- int get_ip_socket(struct sip_msg *msg, char** s_addr){
- ^
- sip_emergency.c: In function 'add_headers':
- sip_emergency.c:512:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
- char *s_addr = "@vsp.com";
- ^
- sip_emergency.c:512:8: error: expected expression before '.' token
- sip_emergency.c:517:26: error: 'S_un' undeclared (first use in this function)
- if (get_ip_socket(msg, &s_addr) == -1){
- ^
- sip_emergency.c:517:26: note: each undeclared identifier is reported only once for each function it appears in
- In file included from ../../locking.h:66:0,
- from ../../statistics.h:143,
- from ../../sr_module.h:49,
- from report_emergency.h:28,
- from report_emergency.c:29:
- ../../lock_alloc.h: In function 'lock_set_alloc':
- ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- sip_emergency.c: In function 'add_hdr_PAI':
- sip_emergency.c:602:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
- char *s_addr = "@vsp.com";
- ^
- sip_emergency.c:602:8: error: expected expression before '.' token
- sip_emergency.c:607:26: error: 'S_un' undeclared (first use in this function)
- if (get_ip_socket(msg, &s_addr) == -1){
- ^
- In file included from ../../parser/msg_parser.h:48:0,
- from ../../sr_module.h:48,
- from emergency_methods.h:32,
- from emergency_methods.c:31:
- ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from ../../parser/msg_parser.h:48:0,
- from ../../sr_module.h:48,
- from http_emergency.h:28,
- from http_emergency.c:29:
- ../../parser/../ip_addr.h: In function 'sockaddr2ip_addr':
- ../../parser/../ip_addr.h:224:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in*)sa)->sin_addr, 4);
- ^
- ../../parser/../ip_addr.h:229:25: warning: cast increases required alignment of target type [-Wcast-align]
- memcpy(ip->u.addr, &((struct sockaddr_in6*)sa)->sin6_addr, 16);
- ^
- In file included from /usr/include/sys/socket.h:45:0,
- from ../../parser/../ip_addr.h:39,
- from ../../parser/msg_parser.h:48,
- from ../../sr_module.h:48,
- from report_emergency.h:28,
- from report_emergency.c:29:
- sip_emergency.h: At top level:
- sip_emergency.h:65:47: error: expected ';', ',' or ')' before '.' token
- int get_ip_socket(struct sip_msg *msg, char** s_addr);
- ^
- ../../Makefile.rules:25: recipe for target 'sip_emergency.o' failed
- make[1]: *** [sip_emergency.o] Error 1
- make[1]: *** Waiting for unfinished jobs....
- In file included from ../../locking.h:66:0,
- from ../../statistics.h:143,
- from ../../sr_module.h:49,
- from emergency_methods.h:32,
- from emergency_methods.c:31:
- ../../lock_alloc.h: In function 'lock_set_alloc':
- ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- In file included from ../../locking.h:66:0,
- from ../../statistics.h:143,
- from ../../sr_module.h:49,
- from http_emergency.h:28,
- from http_emergency.c:29:
- ../../lock_alloc.h: In function 'lock_set_alloc':
- ../../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align]
- ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));
- ^
- ../../Makefile.rules:25: recipe for target 'report_emergency.o' failed
- make[1]: *** [report_emergency.o] Error 1
- In file included from /usr/include/sys/socket.h:45:0,
- from ../../parser/../ip_addr.h:39,
- from ../../parser/msg_parser.h:48,
- from ../../sr_module.h:48,
- from http_emergency.h:28,
- from http_emergency.c:29:
- sip_emergency.h: At top level:
- sip_emergency.h:65:47: error: expected ';', ',' or ')' before '.' token
- int get_ip_socket(struct sip_msg *msg, char** s_addr);
- ^
- In file included from /usr/include/sys/socket.h:45:0,
- from /opt/csw/include/curl/curlbuild.h:160,
- from /opt/csw/include/curl/curl.h:34,
- from emergency_methods.c:30:
- sip_emergency.h: At top level:
- sip_emergency.h:65:47: error: expected ';', ',' or ')' before '.' token
- int get_ip_socket(struct sip_msg *msg, char** s_addr);
- ^
- ../../Makefile.rules:25: recipe for target 'http_emergency.o' failed
- make[1]: *** [http_emergency.o] Error 1
- ../../Makefile.rules:25: recipe for target 'emergency_methods.o' failed
- make[1]: *** [emergency_methods.o] Error 1
- make[1]: Leaving directory '/usr/local/src/opensips/opensips_2_1/modules/emergency'
- Makefile:194: recipe for target 'modules' failed
- make: *** [modules] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement