I am getting error with it:
make[3]: Entering directory `/mnt/antras/usr/src/wine-git/dlls/advapi32/tests' i386-mingw32-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o crypt.cross.o crypt.c crypt.c:1: warning: -fPIC ignored for target (all code is position independent) ... i386-mingw32-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o testlist.cross.o testlist.c testlist.c:1: warning: -fPIC ignored for target (all code is position independent) i386-mingw32-gcc crypt.cross.o crypt_lmhash.cross.o crypt_md4.cross.o crypt_md5.cross.o crypt_sha.cross.o registry.cross.o security.cross.o testlist.cross.o -o advapi32_crosstest.exe -ladvapi32 -lkernel32 /usr/local/lib/gcc/i386-mingw32/3.4.4/libgcc.a: could not read symbols: Archive has no index; run ranlib to add one collect2: ld returned 1 exit status make[3]: *** [advapi32_crosstest.exe] Error 1 make[3]: Leaving directory `/mnt/antras/usr/src/wine-git/dlls/advapi32/tests'
How this should be fixed? Here is a list of packages I use:
$ rpm -qa | grep mingw mingw-runtime-3.7-16hl mingw-w32api-3.5-16hl mingw-binutils-2.16.91-9hl mingw-gcc-core-3.4.4-12hl
On Friday 03 March 2006 16:14, Saulius Krasuckas wrote:
-lkernel32 /usr/local/lib/gcc/i386-mingw32/3.4.4/libgcc.a: could not read symbols: Archive has no index; run ranlib to add one
Run this command:
$ i386-mingw32-ranlib /usr/local/lib/gcc/i386-mingw32/3.4.4/libgcc.a
There's something wrong with package building on recent Fedora Core releases but I haven't found the cause of it yet.
-Hans