On Sun, Mar 15, 2009 at 05:18:52PM +0900, Paul Wise wrote: > On Sat, 2009-03-14 at 15:16 +0100, Robert Millan wrote: > > > When attempting to build a plugin: > > > > i586-mingw32msvc-gcc -Os -Wl,--file-alignment,512 -Werror > > -L/usr/i586-mingw32msvc/lib/nsis -lpluginapi sm_cleanboot.c -shared -o > > sm_cleanboot.dll > > /usr/i586-mingw32msvc/lib/nsis/libpluginapi.a: could not read symbols: > > Archive has no index; run ranlib to add one > > > > Note: you should run i586-mingw32msvc-ranlib, not ranlib as the error > > message says > > Hmmm, the build logs (i386 and my local amd64 one) show that > i586-mingw32msvc-ranlib is run during the nsis build process on > libpluginapi.a.
That's so strange. The error disappeared when I run i586-mingw32msvc-ranlib manually. Could it be that dh_strip (or friends) are undoing what i586-mingw32msvc-ranlib did? -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all." -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org