<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>I've just pushed a fix on the master branch. Can you run a test?<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 11/18/2015 01:16 PM, Dragomir
Haralambiev wrote:<br>
</div>
<blockquote
cite="mid:CADzurOJAygch8YwD_rcXcVOW_3gzYqjNk_VjjBe5adomsxeEhA@mail.gmail.com"
type="cite">
<div dir="ltr">Here is error:<br>
<div>lex.yy.c:3734: warning: old-style function definition</div>
<div>Compiling cfg.tab.c</div>
<div>gcc -g -m32 -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -falign-loops -ftree-vectorize
-mtune=prescott -Wold-style-definition
-Wmissing-field-initializers -Wredundant-decls
-I/usr/include/json-c -DPKG_MALLOC -DSHM_MMAP -DUSE_MCAST
-DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES
-DDBG_F_MALLOC -DNAME='"opensips"' -DVERSION='"2.2-dev"'
-DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"'
-D__CPU_i386 -D__OS_linux -D__SMP_yes
-DCFG_DIR='"/usr/local//etc/opensips/"' -DVERSIONTYPE='"git"'
-DTHISREVISION='"8268bf8"' -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2
-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM
-DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -c cfg.tab.c -o
cfg.tab.o</div>
<div>Linking opensips</div>
<div>gcc -m32 -Wl,-O2 -Wl,-E action.o async.o bin_interface.o
blacklists.o context.o core_stats.o crc.o daemonize.o
data_lump.o data_lump_rpl.o dprint.o dset.o errinfo.o error.o
flags.o forward.o io_wait.o ip_addr.o main.o map.o md5.o
md5utils.o mod_fix.o modparam.o msg_callbacks.o
msg_translator.o name_alias.o prime_hash.o proxy.o pt.o pvar.o
qvalue.o reactor.o re.o receive.o regexp.o resolve.o route.o
route_struct.o script_cb.o script_var.o serialize.o sha1.o
sliblist.o socket_info.o sr_module.o sr_module_deps.o
statistics.o strcommon.o timer.o time_rec.o transformations.o
tsend.o usr_avp.o ut.o xlog.o mem/f_malloc.o mem/hp_malloc.o
mem/hp_malloc_stats.o mem/mem.o mem/memtest.o
mem/module_info.o mem/q_malloc.o mem/shm_mem.o mem/vq_malloc.o
aaa/aaa.o parser/hf.o parser/msg_parser.o parser/parse_allow.o
parser/parse_authenticate.o parser/parse_call_info.o
parser/parse_content.o parser/parse_cseq.o
parser/parse_disposition.o parser/parse_diversion.o
parser/parse_event.o parser/parse_expires.o
parser/parse_fline.o parser/parse_from.o parser/parse_hname2.o
parser/parse_methods.o parser/parse_min_expires.o
parser/parse_multipart.o parser/parse_nameaddr.o
parser/parse_pai.o parser/parse_param.o parser/parse_ppi.o
parser/parse_privacy.o parser/parse_refer_to.o
parser/parse_replaces.o parser/parser_f.o parser/parse_rpid.o
parser/parse_rr.o parser/parse_sipifmatch.o parser/parse_sst.o
parser/parse_supported.o parser/parse_to.o parser/parse_uri.o
parser/parse_via.o parser/digest/digest.o
parser/digest/digest_parser.o parser/digest/param_parser.o
parser/sdp/sdp.o parser/sdp/sdp_helpr_funcs.o
parser/contact/contact.o parser/contact/parse_contact.o
db/db_async.o db/db.o db/db_id.o db/db_insertq.o db/db_pool.o
db/db_query.o db/db_res.o db/db_row.o db/db_ut.o mi/attr.o
mi/fmt.o mi/mi.o mi/mi_core.o mi/tree.o evi/event_interface.o
evi/evi_core.o evi/evi_params.o evi/evi_transport.o
cachedb/cachedb.o cachedb/cachedb_id.o cachedb/cachedb_pool.o
net/net_tcp.o net/net_tcp_proc.o net/net_udp.o net/proto.o
net/tcp_passfd.o net/trans.o net/proto_tcp/proto_tcp.o
net/proto_udp/proto_udp.o lex.yy.o cfg.tab.o -ldl -lresolv -o
opensips</div>
<div>mem/q_malloc.o: In function `qm_mem_check':</div>
<div>/root/opensips_head/mem/q_malloc.c:728: undefined reference
to `qm_debug_frag'</div>
<div>collect2: ld returned 1 exit status</div>
<div>make: *** [opensips] Error 1</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-11-18 12:48 GMT+02:00 Răzvan
Crainea <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>You missed a
letter from the command I sent you. It's "LEX_FLAGS",
not "EX_FLAGS".</tt><span class=""><br>
<pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
</span>
<div>
<div class="h5">
<div>On 11/18/2015 12:46 PM, Dragomir Haralambiev
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Here is result:<br>
<div>[root@sbc opensips_head]# EX_FLAGS=-B NICER=0
make lex.yy.c</div>
<div>Generating lexer</div>
<div>flex --never-interactive cfg.lex</div>
<div>flex: unknown flag '-'. For usage, try</div>
<div> flex --help</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-11-18 12:42
GMT+02:00 Răzvan Crainea <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:razvan@opensips.org"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:razvan@opensips.org">razvan@opensips.org</a></a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Hi,
Dragomir!<br>
<br>
Can you try to run the following command:<br>
LEX_FLAGS=-B NICER=0 make lex.yy.c<br>
<br>
If that succeeds, run:<br>
LEX_FLAGS=-B NICER=0 make install<br>
<br>
Best regards,<br>
</tt><span>
<pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
</span>
<div>
<div>
<div>On 11/18/2015 12:31 PM, Dragomir
Haralambiev wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><font face="tahoma,
sans-serif">Hello,</font>
<div><font face="tahoma, sans-serif"><br>
</font>
<div><font face="tahoma,
sans-serif">flex version 2.5.4
not
support --never-interactive.</font></div>
</div>
<div><font face="tahoma, sans-serif">I
try to run </font></div>
<div><font face="tahoma, sans-serif">
<div><br>
</div>
<div>[root@sbc opensips_head]#
NICER=0 make install</div>
<div>Generating lexer</div>
<div>flex --never-interactive
cfg.lex</div>
<div>flex: unknown flag '-'.
For usage, try</div>
<div> flex --help</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Dragomir</div>
</font></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-11-18
12:13 GMT+02:00 Răzvan Crainea <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:razvan@opensips.org"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:razvan@opensips.org">razvan@opensips.org</a></a>></span>:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF"
text="#000000"> <tt>Hi
Dragomir!<br>
<br>
Also, can you try to run
"NICER=0 make install" and
post the output on pastebin.<br>
<br>
PS: I really doubt the flag
is missing, since it was
added back in 1994 :).<br>
<br>
BR<span><font
color="#888888"><br>
</font></span></tt><span><font
color="#888888">
<pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
</font></span>
<div>
<div>
<div>On 11/18/2015 12:02
PM, Bogdan-Andrei Iancu
wrote:<br>
</div>
<blockquote type="cite"> <tt>Hi
Dragomir,<br>
<br>
Could you check if
your flex version does
support the
"--never-interactive"
flag ?<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>On 18.11.2015
10:16, Dragomir
Haralambiev wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I try to "make
install" of latest
git version from
Opensips 2.2.</div>
<div>Here is
results:</div>
<div><br>
</div>
<div>
<div>[root@sbc
opensips_head]#
make install</div>
<div>Generating
lexer</div>
<div>flex: unknown
flag '-'. For
usage, try</div>
<div> flex
--help</div>
</div>
<div><br>
</div>
<div>Regards,</div>
<div>Dragomir</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org"
target="_blank">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org"
target="_blank">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<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>