<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Just in case it was missed earlier, here is the end of the output
from running "NICER=0 make" while compiling opensips.<br>
<br>
<tt>Compiling net/net_tcp.c</tt><tt><br>
</tt><tt>gcc -m64 -Wcast-align -mcpu=ultrasparc
-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.1"'
-DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 4.9.2"'
-D__CPU_sparc64 -D__OS_solaris -D__SMP_yes
-DCFG_DIR='"/opt//etc/opensips/"' -DVERSIONTYPE='"git"'
-DTHISREVISION='"7df8a1a"' -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 net/net_tcp.c -o net/net_tcp.o</tt><tt><br>
</tt><tt>In file included from net/../mem/../locking.h:66:0,</tt><tt><br>
</tt><tt> from net/../mem/../statistics.h:143,</tt><tt><br>
</tt><tt> from net/../mem/../pt.h:34,</tt><tt><br>
</tt><tt> from net/../mem/../dprint.h:55,</tt><tt><br>
</tt><tt> from net/../mem/mem.h:38,</tt><tt><br>
</tt><tt> from net/net_tcp.c:42:</tt><tt><br>
</tt><tt>net/../mem/../lock_alloc.h: In function 'lock_set_alloc':</tt><tt><br>
</tt><tt>net/../mem/../lock_alloc.h:70:13: warning: cast increases
required alignment of target type [-Wcast-align]</tt><tt><br>
</tt><tt>
ls->locks=(gen_lock_t*)((char*)ls+sizeof(gen_lock_set_t));</tt><tt><br>
</tt><tt> ^</tt><tt><br>
</tt><tt>In file included from net/../globals.h:30:0,</tt><tt><br>
</tt><tt> from net/net_tcp.c:44:</tt><tt><br>
</tt><tt>net/../ip_addr.h: In function 'sockaddr2ip_addr':</tt><tt><br>
</tt><tt>net/../ip_addr.h:224:25: warning: cast increases required
alignment of target type [-Wcast-align]</tt><tt><br>
</tt><tt> memcpy(ip->u.addr, &((struct
sockaddr_in*)sa)->sin_addr, 4);</tt><tt><br>
</tt><tt> ^</tt><tt><br>
</tt><tt>net/../ip_addr.h:229:25: warning: cast increases required
alignment of target type [-Wcast-align]</tt><tt><br>
</tt><tt> memcpy(ip->u.addr, &((struct
sockaddr_in6*)sa)->sin6_addr, 16);</tt><tt><br>
</tt><tt> ^</tt><tt><br>
</tt><tt>In file included from net/../reactor.h:41:0,</tt><tt><br>
</tt><tt> from net/net_tcp.c:50:</tt><tt><br>
</tt><tt>net/../io_wait_loop.h: In function 'io_wait_loop_devpoll':</tt><tt><br>
</tt><tt>net/../io_wait_loop.h:426:4: error: 'e' undeclared (first
use in this function)</tt><tt><br>
</tt><tt> e = get_fd_map(h, h->fd_array[r].fd);</tt><tt><br>
</tt><tt> ^</tt><tt><br>
</tt><tt>net/../io_wait_loop.h:426:4: note: each undeclared
identifier is reported only once for each function it appears in</tt><tt><br>
</tt><tt>In file included from net/../globals.h:30:0,</tt><tt><br>
</tt><tt> from net/net_tcp.c:44:</tt><tt><br>
</tt><tt>net/net_tcp.c: In function 'tcp_connect_blocking':</tt><tt><br>
</tt><tt>net/../ip_addr.h:168:26: warning: cast increases required
alignment of target type [-Wcast-align]</tt><tt><br>
</tt><tt> _port_no = su_getport( (union sockaddr_union*)_su); \</tt><tt><br>
</tt><tt> ^</tt><tt><br>
</tt><tt>net/net_tcp.c:270:4: note: in expansion of macro
'get_su_info'</tt><tt><br>
</tt><tt> get_su_info( servaddr, ip, port);</tt><tt><br>
</tt><tt> ^</tt><tt><br>
</tt><tt>net/../ip_addr.h:168:26: warning: cast increases required
alignment of target type [-Wcast-align]</tt><tt><br>
</tt><tt> _port_no = su_getport( (union sockaddr_union*)_su); \</tt><tt><br>
</tt><tt> ^</tt><tt><br>
</tt><tt>net/net_tcp.c:300:4: note: in expansion of macro
'get_su_info'</tt><tt><br>
</tt><tt> get_su_info( servaddr, ip, port);</tt><tt><br>
</tt><tt> ^</tt><tt><br>
</tt><tt>net/../ip_addr.h:168:26: warning: cast increases required
alignment of target type [-Wcast-align]</tt><tt><br>
</tt><tt> _port_no = su_getport( (union sockaddr_union*)_su); \</tt><tt><br>
</tt><tt> ^</tt><tt><br>
</tt><tt>net/net_tcp.c:319:5: note: in expansion of macro
'get_su_info'</tt><tt><br>
</tt><tt> get_su_info( servaddr, ip, port);</tt><tt><br>
</tt><tt> ^</tt><tt><br>
</tt><tt>Makefile.rules:25: recipe for target 'net/net_tcp.o' failed</tt><tt><br>
</tt><tt>make: *** [net/net_tcp.o] Error 1</tt><br>
<br>
thanks<br>
<br>
nathaniel<br>
<br>
<br>
<div class="moz-cite-prefix">On 1/6/16 3:32 AM, Răzvan Crainea
wrote:<br>
</div>
<blockquote cite="mid:568CDF27.4060804@opensips.org" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<tt>can you run 'NICER=0 make"<br>
<br>
Thanks,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 01/05/2016 07:55 PM, Nathaniel L.
Keeling III wrote:<br>
</div>
<blockquote cite="mid:568C0381.4020801@akan-tech.com" type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
No. The compile just stops.<br>
<br>
Thanks<br>
<br>
Nathaniel<br>
<br>
<div class="moz-cite-prefix">On 1/5/16 6:58 AM, Răzvan Crainea
wrote:<br>
</div>
<blockquote cite="mid:568BBE04.7030601@opensips.org" type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
<tt>I doubt you are missing something on your side. Are there
any other errors below that?<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 01/05/2016 02:33 PM, Nathaniel
L. Keeling III wrote:<br>
</div>
<blockquote cite="mid:568BB836.20302@akan-tech.com"
type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
Razvan,<br>
<br>
Changing to -lcurses solved that problem. Thanks. Ran into
another compile problem when compiling opensips 2.1. Here is
the error:<br>
<br>
<small><font face="Courier New, Courier, monospace">Makefile.rules:25:
recipe for target 'net/net_tcp.o' failed<br>
make[1]: *** [net/net_tcp.o] Error 1<br>
make[1]: Leaving directory
'/usr/local/src/opensips/opensips_2_1</font></small><br>
<br>
Is there something else that I am missing?<br>
<br>
<br>
Thanks<br>
<br>
Nathaniel <br>
<br>
<div class="moz-cite-prefix">On 1/5/16 4:56 AM, Răzvan
Crainea wrote:<br>
</div>
<blockquote cite="mid:568BA15E.2060503@opensips.org"
type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
<tt>Hi, Nathaniel!<br>
<br>
It seems to be a common problem on Solaris[1] - some
symbols are defined in libncurses, some in libcurses.
Can you try to replace the '-lncurses' with '-lcurses'
in menuconfig/Makefile (line 8)?<br>
If that doesn't work, try 'LD_EXTRA_OPTS=-lcurses make
menuconfig' and post the output.<br>
<br>
[1] <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://gcc.gnu.org/ml/gcc-help/1999-11n/msg00020.html">https://gcc.gnu.org/ml/gcc-help/1999-11n/msg00020.html</a><br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 01/05/2016 07:18 AM,
Nathaniel L. Keeling III wrote:<br>
</div>
<blockquote cite="mid:568B5233.7090804@akan-tech.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
I am trying to install Opensips 2.1 on Solaris Sparc 10
and I am getting this error when I perform "make
menuconfig":<br>
<br>
<small><font face="Courier New, Courier, monospace">#
make menuconfig<br>
Usage: grep -hblcnsviw pattern file . . .<br>
/bin/sh: proto_: not found<br>
make -C menuconfig<br>
make[1]: Entering directory
'/usr/local/src/opensips/opensips_2_1/menuconfig'<br>
gcc -o configure -m64 -Wcast-align
-mcpu=ultrasparc -g -Wall
-DMENUCONFIG_CFG_PATH=\"menuconfig/configs/\"
-DMENUCONFIG_GEN_PATH=\"etc/\"
-DMENUCONFIG_HAVE_SOURCES=1 cfg.o curses.o items.o
commands.o menus.o parser.o main.o -lncurses<br>
Undefined first referenced<br>
symbol in file<br>
initscr32 main.o<br>
w32attron curses.o<br>
w32attroff curses.o<br>
ld: fatal: Symbol referencing errors. No output
written to configure<br>
Makefile:12: recipe for target 'all' failed<br>
make[1]: *** [all] Error 1<br>
make[1]: Leaving directory
'/usr/local/src/opensips/opensips_2_1/menuconfig'<br>
Makefile:720: recipe for target 'comp_menuconfig'
failed</font></small><br>
<br>
The version of ncurses install is 5.9 and I have gnu m4
version 1.4.17 installed. <br>
<br>
<br>
Thanks<br>
<br>
Nathaniel<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>