[OpenSIPS-Users] Solaris Sparc Compile Error

Nathaniel L. Keeling III keeling at akan-tech.com
Fri Feb 26 07:09:24 CET 2016


Hello,

I am getting this compile error when compiling Opensips 2.1.2 on Solaris 
Sparc 10 64bit.

net/net_tcp.c:269:4: note: in expansion of macro 'get_su_info'
     get_su_info( servaddr, ip, port);
     ^
net/../ip_addr.h:168:26: warning: cast increases required alignment of 
target type [-Wcast-align]
    _port_no = su_getport( (union sockaddr_union*)_su); \
                           ^
net/net_tcp.c:299:4: note: in expansion of macro 'get_su_info'
     get_su_info( servaddr, ip, port);
     ^
net/../ip_addr.h:168:26: warning: cast increases required alignment of 
target type [-Wcast-align]
    _port_no = su_getport( (union sockaddr_union*)_su); \
                           ^
net/net_tcp.c:318:5: note: in expansion of macro 'get_su_info'
      get_su_info( servaddr, ip, port);
      ^
Makefile.rules:25: recipe for target 'net/net_tcp.o' failed
make[1]: *** [net/net_tcp.o] Error 1

Thanks

Nathaniel Keeling

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160226/17f0c621/attachment.htm>


More information about the Users mailing list