[Olsr-users] Compiling Error for olsrd

Henning Rogge (spam-protected)
Wed Mar 23 13:17:19 CET 2011


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




More information about the Olsr-users mailing list