[omniORB] Fun building omniORB on Windows...

Felix Nawothnig fn at drdannenberg.de
Mon Sep 7 13:11:30 BST 2009


Hey.

I just spent two hours tracking down zillions of LNK2001 errors when
linking together the omniDynamic DLL on Windows...

To make a long, tedious story short: I had an OpenSSH server on the box,
which installed parts of cygwin which were just enough to please
checkmounts.cmd from the gnuwin32 distribution, and _almost_ enough to
build omniORB.

About the only thing missing was sort.exe - turned out that the missing
binary didn't actually cause any errors (although /bin/sort was
specifically referenced by the makefile) when it was supposed to be called
to filter the symbols for the export file - the resulting export file was
just empty (except for the header).

So the omniORB4 DLL didn't export anything, hence the linker errors later.

Fun fun fun...

I don't really understand why this didn't cause a build failure in the
first place, maybe someone who does could "fix" this.

Cheers,

Felix





More information about the omniORB-list mailing list