gcc -Wl,-O2 -Wl,-E action.o core_stats.o crc.o daemonize.o data_lump.o data_lump_rpl.o dprint.o dset.o error.o fifo_server.o flags.o forward.o io_wait.o ip_addr.o items.o items_extra.o main.o md5.o md5utils.o modparam.o msg_translator.o pass_fd.o proxy.o qvalue.o re.o receive.o resolve.o route.o route_struct.o script_cb.o serialize.o socket_info.o sr_module.o statistics.o tcp_main.o tcp_read.o timer.o tsend.o udp_server.o unixsock_server.o usr_avp.o mem/f_malloc.o mem/mem.o mem/memtest.o mem/q_malloc.o mem/shm_mem.o mem/vq_malloc.o parser/hf.o parser/msg_parser.o parser/parse_allow.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_hostport.o parser/parse_methods.o parser/parse_nameaddr.o parser/parse_param.o parser/parse_refer_to.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/parser_f.o parser/digest/digest.o parser/digest/digest_parser.o parser/digest/param_parser.o parser/contact/contact.o parser/contact/parse_contact.o db/db.o db/db_fifo.o db/db_id.o db/db_pool.o lex.yy.o cfg.tab.o -ldl -lresolv -o openser
io_wait.o(.text+0xe6a): In function `init_epoll':
/usr/src/openser-1.1.0-notls/io_wait.c:201: warning: warning: epoll_create is not implemented and will always fail
tcp_main.o(.text+0x36ad): In function `io_watch_add':
/usr/src/openser-1.1.0-notls/io_wait.h:376: warning: warning: epoll_ctl is not implemented and will always fail
tcp_main.o(.text+0x3dd6): In function `io_wait_loop_epoll':
/usr/src/openser-1.1.0-notls/io_wait.h:701: warning: warning: epoll_wait is not implemented and will always fail
Any ideas?
TIA
Shane
What is the version of your Slackware ?
----- Original Message ----- From: Klaus Fleischmann To: Shane Burrell Cc: users@openser.org Sent: Friday, July 28, 2006 3:36 PM Subject: Re: [Users] Error compiling Openser 1.1.0 on Slackware.
epoll is a new API thst came up with Linux kernel 2.5.44. You could check if - you use an elder Kernel - the API is compiled into your Kernel.
Possibly post a question about epoll and Debian into a Debian Mail List
/Klaus
Shane Burrell wrote:
_______________________________________________ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
__________ NOD32 1.1677 (20060724) Information __________
This message was checked by NOD32 antivirus system. http://www.eset.com
I just had a look into Slackware's Page http://www.slackware.org/, there latest Version seems to be 10.2 and they still run Kernel 2.4. There seems to be a possibility to use a 2.6 Kernel, too. But please do not ask me how!
/Klaus
Javier Ramirez wrote:
openSER should be able to work without epoll. Touch the Makefile.defs and remove the epoll checking. After that it should compile.
-ovi
On 7/28/06, Shane Burrell shaneb@metrostat.net wrote:
Hi all,
if you'd like to use a 2.6 kernel for slackware, you just have to download the slackware iso n°2, you have the source for this kernel on the iso. I've never tried to use a stock kernel from www.kernel.org with my slackware so I don't know if there's any pbms for compilation.
bye. rod
Ovidiu Sas a écrit :
I had this same problem; I use slackware for my production and development servers. I believe that I edited the Makefile where it looks for epoll and commented out the line. Slackware can use kernel 2.6, but it's kernel headers are still 2.4's unless you manually replace them, which is not usually a good idea.
Mike
On Sunday 30 July 2006 09:38, rod wrote:
I'm running slack with the 2.6 package. I'll try commenting that out. Are there any adverse affects by not having EPOLL?
-----Original Message----- From: users-bounces@openser.org [mailto:users-bounces@openser.org] On Behalf Of Mike Williams Sent: Monday, July 31, 2006 8:52 AM To: users@openser.org Subject: Re: [Users] Error compiling Openser 1.1.0 on Slackware.
I had this same problem; I use slackware for my production and development servers. I believe that I edited the Makefile where it looks for epoll and commented out the line. Slackware can use kernel 2.6, but it's kernel headers are still 2.4's unless you manually replace them, which is not usually a good idea.
Mike
On Sunday 30 July 2006 09:38, rod wrote:
parser/parse_event.o
_______________________________________________ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hello,
On 07/31/06 17:13, Shane Burrell wrote:
I'm running slack with the 2.6 package. I'll try commenting that out. Are there any adverse affects by not having EPOLL?
not such big, just decrease of number of TCP connections your server can handle. OpenSER will fallback to select mechanism and not so many TCP connections as with epoll can be managed.
I have no slackware around, but maybe one of you can provide a patch to makefile that detects this case if infrastructure. I will look for a better mechanism to detect epoll support in OS.
Cheers, Daniel