I've just pushed a fix on the master branch. Can you run a test?
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 11/18/2015 01:16 PM, Dragomir Haralambiev wrote:
Here is error:
lex.yy.c:3734: warning: old-style function definition
Compiling cfg.tab.c
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
Linking opensips
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
mem/q_malloc.o: In function `qm_mem_check':
/root/opensips_head/mem/q_malloc.c:728: undefined reference to
`qm_debug_frag'
collect2: ld returned 1 exit status
make: *** [opensips] Error 1
2015-11-18 12:48 GMT+02:00 Răzvan Crainea <raz...@opensips.org
<mailto:raz...@opensips.org>>:
You missed a letter from the command I sent you. It's "LEX_FLAGS",
not "EX_FLAGS".
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com <http://www.opensips-solutions.com>
On 11/18/2015 12:46 PM, Dragomir Haralambiev wrote:
Here is result:
[root@sbc opensips_head]# EX_FLAGS=-B NICER=0 make lex.yy.c
Generating lexer
flex --never-interactive cfg.lex
flex: unknown flag '-'. For usage, try
flex --help
2015-11-18 12:42 GMT+02:00 Răzvan Crainea <raz...@opensips.org
<mailto:raz...@opensips.org>>:
Hi, Dragomir!
Can you try to run the following command:
LEX_FLAGS=-B NICER=0 make lex.yy.c
If that succeeds, run:
LEX_FLAGS=-B NICER=0 make install
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com <http://www.opensips-solutions.com>
On 11/18/2015 12:31 PM, Dragomir Haralambiev wrote:
Hello,
flex version 2.5.4 not support --never-interactive.
I try to run
[root@sbc opensips_head]# NICER=0 make install
Generating lexer
flex --never-interactive cfg.lex
flex: unknown flag '-'. For usage, try
flex --help
Best regards,
Dragomir
2015-11-18 12:13 GMT+02:00 Răzvan Crainea
<raz...@opensips.org <mailto:raz...@opensips.org>>:
Hi Dragomir!
Also, can you try to run "NICER=0 make install" and post
the output on pastebin.
PS: I really doubt the flag is missing, since it was
added back in 1994 :).
BR
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
<http://www.opensips-solutions.com>
On 11/18/2015 12:02 PM, Bogdan-Andrei Iancu wrote:
Hi Dragomir,
Could you check if your flex version does support the
"--never-interactive" flag ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 18.11.2015 10:16, Dragomir Haralambiev wrote:
Hello,
I try to "make install" of latest git version from
Opensips 2.2.
Here is results:
[root@sbc opensips_head]# make install
Generating lexer
flex: unknown flag '-'. For usage, try
flex --help
Regards,
Dragomir
_______________________________________________
Users mailing list
Users@lists.opensips.org <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users