On 11/7/2010 6:41 PM, Ken Brown wrote:
-lole32 -lwsock32 -lnetapi32 /usr/lib/libuuid.a -L/lib -L/usr/lib
^^^^^^^^^^^^^^^^^^
/usr/lib/libintl.a /usr/lib/libiconv.a /usr/lib/mingw/liblzma.a -lbz2
-lz -lmingw32
mklink2.o: In function `make_link_2':
/usr/src/cygsetup/setup/mklink2.cc:32: undefined reference to
`_IID_IPersistFile'
Am I missing some library? I've installed all the packages mentioned in
the README.
The main problem is, you're using the cygwin 4.5 compiler in its
"cygwin" mode to compile; this causes, among other things, to use the
/usr/lib/libuuid.a library instead of the /usr/lib/w32api/libuuid.a one
you really want.
Take a close look at the "bootstrap" script. Unless you have a mingw
cross compiler installed, you probably should explicitly use 'gcc-3
-mno-cygwin' and 'g++-3 -mno-cygwin' as your CC and CXX.