> -----Original Message----- > From: [email protected] [mailto:rsyslog- > [email protected]] On Behalf Of Marcin Miroslaw > Sent: Monday, October 11, 2010 4:11 PM > To: [email protected] > Subject: Re: [rsyslog] Problem with loading imuxsock plugin > > W dniu 11.10.2010 16:04, Rainer Gerhards pisze: > >> I meant this as a last resort, if the math lib is not available. > > Shouldn't be any error while compilling?
no, the compiler generates the proper function call, but the linker can not find the member. > > > yup, simple calculations do the job. The code currently is: > > > > ceil(unsigned * 0.65) > > > > which equals > > > > ((unsigned long long) unsigned * 65) / 100 > > heh, let's go back to math from primary school :D > > > Will patch soon... > > I'm waiting. Thanks for quick response! http://git.adiscon.com/?p=rsyslog.git;a=commitdiff;h=8c3d40b798e3ed68fb03629d 87b55140cb6bc044 This is for v5-devel, but should apply to v6 as well. I have not yet merged this up to not clutter the git log so much. Let me know if you have problems, I'll then merge. Rainer _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

