[Olsr-users] Compiling Error for olsrd

Bruce Ford (spam-protected)
Wed Mar 23 15:34:12 CET 2011


It is indeed in the stable branch and builds without modification.

Verification of a build using cygwin on Win XP without Marcus' "different
makefile" being the primary purpose of my post.

Bruce Ford

On Wed, Mar 23, 2011 at 10:17 PM, Henning Rogge <
(spam-protected)> wrote:

> On Wednesday 23 March 2011 13:11:01 Bruce Ford wrote:
> > 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:
> >
> >
> ---------------------------------------------------------------------------
> > $ diff -p olsrd-0.6.1_unmodified/src/main.c olsrd-0.6.1/src/main.c
> > *** olsrd-0.6.1_unmodified/src/main.c   2010-11-12 02:07:55.000000000
> +1000
> > --- olsrd-0.6.1/src/main.c      2011-03-23 21:51:00.834116800 +1000
> > *************** static int olsr_create_lock_file(bool no
> > *** 130,136 ****
> >   #ifdef WIN32
> >     HANDLE lck = CreateEvent(NULL, TRUE, FALSE, lock_file_name);
> >     if (NULL == lck || ERROR_ALREADY_EXISTS == GetLastError()) {
> > !     if (noenoExitOnFail) {
> >         return -1;
> >       }
> >       if (NULL == lck) {
> > --- 130,136 ----
> >   #ifdef WIN32
> >     HANDLE lck = CreateEvent(NULL, TRUE, FALSE, lock_file_name);
> >     if (NULL == lck || ERROR_ALREADY_EXISTS == GetLastError()) {
> > !     if (noExitOnFail) {
> >         return -1;
> >       }
> >       if (NULL == lck) {
> >
> ---------------------------------------------------------------------------
> >
> > make clean_all
> > make build_all
> >
> > with an edit of main.c before a second "make build_all".
> This should be already included in the current stable branch of our
> repository...
>
> Henning Rogge
>
> --
> Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
> Kommunikation, Informationsverarbeitung und Ergonomie FKIE
> Kommunikationssysteme (KOM)
> Neuenahrer Straße 20, 53343 Wachtberg, Germany
> Telefon +49 228 9435-961,   Fax +49 228 9435 685
> mailto:(spam-protected) http://www.fkie.fraunhofer.de
> GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20110324/33598688/attachment.html>


More information about the Olsr-users mailing list