[OLSR-users] OLSR compatibility with Microsoft Embedded Visual C++
Mon Jul 18 23:40:47 CEST 2005
> /home/Administrator/olsrd-0.4.9/src/main.c:100: multiple definition of `main'
> ext+0x2c): first defined here
> ext+0x6c): undefined reference to `WinMain'
"WinMain" is the entry point for GUI-based Windows (CE) applications.
olsrd, however, is console-based, so "main" is the entry point to be
used. It looks like the compiler does not recognize that we want it to
create a console-based application and hence looks for WinMain() instead
Did you install all the available updates (libcfix.rar, libcfix1.rar,
and specs.rar) for the cross-compiler? I think that I remember that
libcfix1.rar contains an update that fixes this (or a similar?) problem.
The code should compile without any changes.
More information about the Olsr-users