Hello, 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.
I have found a starting set of instruction (https://www.mail-archive.com/nxlog-ce-users@lists.sourceforge.net/msg00211.html) and succeed to go as further as Chris (thanks Chris btw!) 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 I had to cherrypick the commit 8dd732067 from apr (corresponding to r1088023 in svn) to make it work. About the undefined boolean that Chris encountered, it seems that nxlog count on the fact that mingw defines a Boolean type (with a different signature) in rpncdr.h (which is included somewhere later). So I have worked around adding: > typedef unsigned char Boolean in src/common/types.h and deactivating the similar definition in rpncdr.h 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. B0ti, I have read your email about people asking for free support or not contributing (https://www.mail-archive.com/nxlog-ce-users@lists.sourceforge.net/msg00215.html). I don't need you to debug my situation or provide full tutorial on windows compilation, but a few pointers would be greatly appreciated. Thanks, -- Gregoire ------------------------------------------------------------------------------ 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