<a>v0.6.1 tarball on home page of www.olsr.org builds with cygwin gcc 3.4.4 under Windows XP SP3 after the minor correction below:<br><br><span style="font-family: courier new,monospace;">---------------------------------------------------------------------------</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">$ diff -p olsrd-0.6.1_unmodified/src/main.c olsrd-0.6.1/src/main.c</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">*** olsrd-0.6.1_unmodified/src/main.c   2010-11-12 02:07:55.000000000 +1000</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">--- olsrd-0.6.1/src/main.c      2011-03-23 21:51:00.834116800 +1000</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">*************** static int olsr_create_lock_file(bool no</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">*** 130,136 ****</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">  #ifdef WIN32</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    HANDLE lck = CreateEvent(NULL, TRUE, FALSE, lock_file_name);</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    if (NULL == lck || ERROR_ALREADY_EXISTS == GetLastError()) {</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">!     if (noenoExitOnFail) {</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">        return -1;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">      }</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">      if (NULL == lck) {</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">--- 130,136 ----</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">  #ifdef WIN32</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    HANDLE lck = CreateEvent(NULL, TRUE, FALSE, lock_file_name);</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    if (NULL == lck || ERROR_ALREADY_EXISTS == GetLastError()) {</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">!     if (noExitOnFail) {</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">        return -1;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">      }</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">      if (NULL == lck) {</span></a><br style="font-family: courier new,monospace;">
<a><span style="font-family: courier new,monospace;">---------------------------------------------------------------------------</span><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;"></span></a><br>make clean_all<br>make build_all<br><br>with an edit of main.c before a second "make build_all".<br><br>Executables can be made available if desired.<br>
<br>Bruce Ford<br><br><div class="gmail_quote">On Wed, Mar 23, 2011 at 9:01 PM, Markus Kittenberger <span dir="ltr"><<a href="mailto:Markus.Kittenberger@gmx.at">Markus.Kittenberger@gmx.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>btw are you trying to compile olsrd on windows? or crosscompiling?<br></div><div><br></div><div>i did compile olsrd for windows 2 months sago, and had no problems,.. (the binary worked aswell *G)</div><div><br></div>
<div>
but i was using a different makefile (as i have a special one for all my crosscompile needs and i simple added windows as another target,..)</div><div><br></div><div>btw if u desperately need a somewhat recent win32 binary, you will find them there</div>

<div><a href="http://193.238.157.78/%7Emarkus/olsrd/cross/arch_win32/i586/" target="_blank">http://193.238.157.78/~markus/olsrd/cross/arch_win32/i586/</a></div><div><br></div><font color="#888888"><div>Markus</div></font><div>
<div></div><div class="h5"><div><br></div><br><div class="gmail_quote">On Wed, Mar 23, 2011 at 11:52 AM, Markus Kittenberger <span dir="ltr"><<a href="mailto:Markus.Kittenberger@gmx.at" target="_blank">Markus.Kittenberger@gmx.at</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br><br><div class="gmail_quote"><div>On Wed, Mar 23, 2011 at 7:23 AM, Henning Rogge <span dir="ltr"><<a href="mailto:hrogge@googlemail.com" target="_blank">hrogge@googlemail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Wednesday 23 March 2011 02:53:09 you wrote:<br>
> This is the error message:<br>
><br>
> $ make build_all<br>
> /usr/bin/ccache gcc -Wall -Wextra -Wold-style-definition<br>
> -Wdeclaration-after-sta tement -Wmissing-prototypes -Wstrict-prototypes<br>
> -Wmissing-declarations -Wsign-co mpare -Waggregate-return<br>
> -Wmissing-noreturn -Wmissing-format-attribute -Wno-mult ichar<br>
> -Wno-deprecated-declarations -Wendif-labels -Wwrite-strings -Wbad-function<br>
> -cast -Wpointer-arith -Wcast-qual -Wshadow -Wsequence-point<br>
> -Wpointer-arith -Wca st-align -Wnested-externs -Winline<br>
> -Wdisabled-optimization -finline-functions-ca lled-once -funit-at-a-time<br>
> -fearly-inlining -finline-limit=350   -mno-cygwin -gg db -Isrc   -DUSE_FPM<br>
> -DWIN32 -D_WIN32_WINNT=0x0600 -I./src/win32 -DDEBUG    -c - o<br>
> src/common/autobuf.o src/common/autobuf.c<br>
</blockquote><div> </div></div><div>what about this:</div><div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">> gcc: The -mno-cygwin flag has been removed; use a mingw-targeted<br>


 > cross-compiler.</blockquote></div><div>maybe doing this will help? </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
<div>><br>

> make: *** [src/common/autobuf.o] Error 1<br>
</div>Okay, that doesn't help a lot... does someone has an idea what is going on<br>
there ?<br>
<div><div><br>
Henning Rogge<br>
--<br>
1) You can't win.<br>
2) You can't break even.<br>
3) You can't leave the game.<br>
— The Laws of Thermodynamics, summarized<br>
</div></div><br></div>--<br>
Olsr-users mailing list<br>
<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a><br>
<a href="http://lists.olsr.org/mailman/listinfo/olsr-users" target="_blank">http://lists.olsr.org/mailman/listinfo/olsr-users</a><br></blockquote></div><br>
</blockquote></div><br>
</div></div><br>--<br>
Olsr-users mailing list<br>
<a href="mailto:Olsr-users@lists.olsr.org">Olsr-users@lists.olsr.org</a><br>
<a href="http://lists.olsr.org/mailman/listinfo/olsr-users" target="_blank">http://lists.olsr.org/mailman/listinfo/olsr-users</a><br></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>