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

Wilkins, Gary D (SELEX) (UK) (spam-protected)
Thu Jul 21 15:37:04 CEST 2005

Hi Thomas,

I have tried your suggestion below, and (now that pocket console has been
loaded onto the pocket PC) 'Hello World' is displayed briefly, but the
fflush call caused an exception (Code C0000005).

I have tracked down various problems by using:
printf - to display the position reached in the code
sleep(5) - to give time to read the display.

The problems found so far are:

1. calls in main() to setbuf caused an exception, so these calls were
commented out to allow the code to get further.

2. any calls to fprintf caused an exception, so these were changed to
printf calls.

3. the code then ran to the point where it checked the arguments,
(olsr_process_arguments). As there were no arguments, a negative value
was returned, and the code terminated.

I guess that other problems will arise when the code looks for hardware
devices that are not available in the Pocket PC.

I will let you know if I get any further with the olsr code running under
Windows CE.

Have you any idea when version 0.4.10 will be released?


-----Original Message-----
From: (spam-protected) [mailto:(spam-protected)]On
Behalf Of Thomas Lopatic
Sent: 20 July 2005 12:29
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,

I am happy to hear that you've been able to compile the code. Pretty
interesting that a simple application works, but olsrd doesn't. It would
be interesting to see what adding

  printf("Hello, world.\n");

at the very beginning of the main() function in the olsrd code (file
main.c) does. Let's see whether olsrd prints anything, i.e. whether
olsrd makes it into main() or whether it crashes during initialization
of the runtime libraries. If the latter is the case, the problem might
arise from compiler options that olsrd uses but your "Hello, world."
application doesn't use. Hmm.

Unfortunately I do not know a lot about Windows CE. It's basically a
miracle that I was able to get the code to compile on this platform. :-)
So, I am afraid that I cannot be of any help regarding emulators.

I'd love to remain up to date regarding your progress, as I'll spend
more time looking into the CE port again in August. Let's get release
0.4.10 working on CE.

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