[OLSR-users] OLSR compatibility with Microsoft Embedded Visual C++

Wilkins, Gary D (SELEX) (UK) (spam-protected)
Thu Jul 14 17:39:19 CEST 2005

Hi Thomas,

Thank you for your quick reply.

I have downloaded the WinCE/ARM cross-compiler that you suggested, and
have installed it along with Cygwin, however, I am getting an error
stating that the compiler doesn't like the no-cygwin option used by
makefile as shown below:

gcc -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-Wsign-compare -mno-sigwin -O2 -g -Isrc -Isrc/win32 -DWIN32 -I.. -mno-cygwin
-I../win32 -DWIN32_STDIO_HACK   -c -o olsrd_conf.o olsrd_conf.c
cc1: error: invalid option 'no-cygwin'
cc1: error: invalid option 'no-cygwin'
make.exe[1]: ***[olsrd_conf.o] Error 1
make.exe[1]: Leaving directory 'c:/cygwin/home/Administrator/olsrd-0.4.9/src/cfgparser'
make.exe: **[cfgparser] Error 2

Have you seen this error, and do you know of a fix for it?

Can I just remove the 'no-cygwin' option from the two copies of makefile?


-----Original Message-----
From: (spam-protected) [mailto:(spam-protected)]On
Behalf Of Thomas Lopatic
Sent: 13 July 2005 12:10
To: OLSR discussion and development
Subject: Re: [OLSR-users] OLSR compatibility with Microsoft Embedded
Visual C++

               *** WARNING ***

This mail has originated outside your organization,
either from an external partner or the Global Internet.
     Keep this in mind if you answer this message.

Hi Gary,

currently it's pretty hard to compile the sources for olsrd with
anything else than GCC. The source code makes use of GCC-specific
extensions in some places (e.g. macros with a variable number of
arguments), which are not supported by (Embedded) Visual C++. That's
also the main reason why the Windows port uses GCC instead of VC++.

But the source code for GCC 0.4.9 can be compiled ("make OS=wince") with
the WinCE/ARM cross-compiler at the following URL:


However, I've tried to run the resulting executable on a PocketPC once
and it crashed even before olsrd could output its startup banner. Looks
like a tool chain problem. I haven't investigated yet.

olsr-users mailing list

This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.

More information about the Olsr-users mailing list