Hi, On Thu, 30 Jan 2014 13:50:42 +0100 Gregoire Seux <g.s...@criteo.com> wrote:
> I am trying to compile nxlog 2.5.1089 on windows. > The reason I am trying to compile nxlog is to work on > http://sourceforge.net/apps/trac/nxlog-ce/ticket/33 waiting for next > version to be released. The next version will be released early next week hopefully, together with the sources. This will have a fix for the issue described in ticket #33. > I have discovered that it can work only with apr 1.4.8 (1.5.0) does not > work. > It also seems that nxlog requires shared apr library, which aren't built > in 1.4.8. So far it compiled ok with apr up to 1.4.6. I have not tested with higher versions yet. > Then it seems that mingw has issues with WSAPOLLFD definition and nxlog > requires something that requires it. > So I have applied the patch proposed here : > http://sourceforge.net/p/mingw/bugs/1980/ > But apr also defines WSAPOLLFD, so it makes me think nxlog does not > require correctly some apr header. > > But it is still not sufficient and make fails with : > > .libs/libnx_la-logqueue.o: In function > > `nx_logqueue_new':C:\MinGW\msys\1.0\home\g.seux\nxlog-ce-2.5.1089\src\common/logqueue.c:26: > > undefined reference to `apr_pcalloc' > and similar errors > It adds to the "missing header" hypothesis. The "undefined reference" is a linker error that indicates it cannot find libapr and is unlikely to have anything to do with definitions in the headers. Regards, Botond ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ nxlog-ce-users mailing list nxlog-ce-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users