Hi all,
I've been consistently failing to 'make crosstest'... I've already tried my distro's repositories, Hans Leidekker's patches, all to no avail. I wish I could use the test suite, but I need some custom local tests and therefore I need to be able to build win32 executables. However, I'm stuck getting this:
security.cross.o: In function
`test_ConvertSecurityDescriptorToString':/home/foo/Wine/dlls/advapi32/tests/security.c:1996: undefined reference to `_CreateWellKnownSid@16'
:/home/foo/Wine/dlls/advapi32/tests/security.c:2006: undefined reference
to `_CreateWellKnownSid@16'
collect2: ld returned 1 exit status make[2]: *** [advapi32_crosstest.exe] Error 1 make[2]: Leaving directory `/home/fooer/Wine/dlls/advapi32/tests' make[1]: *** [advapi32/tests/__crosstest__] Error 2 make[1]: Leaving directory `/home/fooer/Wine/dlls' make: *** [dlls/__crosstest__] Error 2
or this, if I 'make crosstest -C dlls/gdi32/tests/':
bitmap.cross.o: In function
`test_GdiAlphaBlend':/home/foo/Wine/dlls/gdi32/tests/bitmap.c:1870: undefined reference to `_GdiAlphaBlend@44'
:/home/foo/Wine/dlls/gdi32/tests/bitmap.c:1872: undefined reference to
`_GdiAlphaBlend@44'
:/home/foo/Wine/dlls/gdi32/tests/bitmap.c:1874: undefined reference to
`_GdiAlphaBlend@44'
:/home/foo/Wine/dlls/gdi32/tests/bitmap.c:1875: undefined reference to
`_GdiAlphaBlend@44'
:/home/foo/Wine/dlls/gdi32/tests/bitmap.c:1876: undefined reference to
`_GdiAlphaBlend@44'
bitmap.cross.o:/home/foo/Wine/dlls/gdi32/tests/bitmap.c:1877: more
undefined references to `_GdiAlphaBlend@44' follow
collect2: ld returned 1 exit status make: *** [gdi32_crosstest.exe] Error 1 make: Leaving directory `/home/fooer/Wine/dlls/gdi32/tests'
What am I doing wrong? - Pedro.
-- "Compatibility means deliberately repeating other people's mistakes." (David J. Wheeler)
On Monday 15 October 2007 19:24:27 Pedro Araújo wrote:
I've been consistently failing to 'make crosstest'... I've already tried my distro's repositories, Hans Leidekker's patches, all to no avail. I wish I
You need more patches ;) Wine tests are a fast moving target which means we're nearly always a couple of patches away from being able to cross compile current git.
undefined reference to `_CreateWellKnownSid@16' undefined reference to `_GdiAlphaBlend@44'
An easy way out for this type of error is to use Wine's import lib instead of MinGW's. E.g. run 'make libadvapi32.a' in dlls/advapi32 and copy the file over MinGW's version.
-Hans