RE: [Libevent-users] What's the story with cygevent-1-4-2.dll?

2010-09-06 Thread Chris Brown
Looks like I was missing -static-libgcc Using export CFLAGS='-static -static-libgcc' and everything compiled. Best part is the service started. Thanks Nick -Original Message- From: owner-libevent-us...@freehaven.net [mailto:owner-libevent-us...@freehaven.net] On Behalf Of Chris Bro

RE: [Libevent-users] What's the story with cygevent-1-4-2.dll?

2010-09-06 Thread Chris Brown
Thanks Nick, I'd like give static linking a go in the short term and watch this space. It looks like this isn't as straightforward on Cygwin as I'd expected. I've set CFLAGS=-static in order to do this but the configure script then fails checking for gcc... gcc checking whether the C compiler wo

Re: [Libevent-users] What's the story with cygevent-1-4-2.dll?

2010-09-06 Thread Nick Mathewson
On Mon, Sep 6, 2010 at 1:36 AM, Chris Brown wrote: [...] > The logfile contains the following ... > > /usr/local/sbin/gearmand.exe: error while loading shared libraries: > cygevent-1-4-2.dll: cannot open shared object file: No such file or directory > > Can anyone explain why gearmand.exe runs f

Re: [Libevent-users] A patch to test/bench.c

2010-09-06 Thread Nick Mathewson
On Mon, Sep 6, 2010 at 8:09 AM, Shuo Chen wrote: > Hi there, > > I found that test/bench not working in 2.0.6rc. here's a simple fix: > > diff --git a/test/bench.c b/test/bench.c > index 76717d7..de4e814 100644 > --- a/test/bench.c > +++ b/test/bench.c > @@ -85,7 +85,8 @@ run_once(void) >        s

[Libevent-users] A patch to test/bench.c

2010-09-06 Thread Shuo Chen
Hi there, I found that test/bench not working in 2.0.6rc. here's a simple fix: diff --git a/test/bench.c b/test/bench.c index 76717d7..de4e814 100644 --- a/test/bench.c +++ b/test/bench.c @@ -85,7 +85,8 @@ run_once(void) static struct timeval ts, te; for (cp = pipes, i = 0; i < n