Package: nsis
Version: 2.44-2
Severity: serious

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

After i586-mingw32msvc-ranlib is run, breakage still happens:

i586-mingw32msvc-gcc -Os -Wl,--file-alignment,512 -Werror -L. -lpluginapi 
sm_cleanboot.c -shared -o sm_cleanboot.dll
/tmp/cc8gFFj2.o:sm_cleanboot.c:(.text+0x18): undefined reference to 
`_g_stringsize'
/tmp/cc8gFFj2.o:sm_cleanboot.c:(.text+0x20): undefined reference to 
`_g_stacktop'
/tmp/cc8gFFj2.o:sm_cleanboot.c:(.text+0x28): undefined reference to 
`_g_variables'
/tmp/cc8gFFj2.o:sm_cleanboot.c:(.text+0x69): undefined reference to 
`_pushstr...@4'

The first three symbols are declared as externs in pluginapi.h
(should they be there?).  The last one appears to be provided by
libpluginapi.a, no idea why it can't be resolved.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nsis depends on:
ii  lib32gcc1                     1:4.3.3-5  GCC support library (32 bit Versio
ii  lib32stdc++6                  4.3.3-5    The GNU Standard C++ Library v3 (3
ii  libc6-i386                    2.9-4      GNU C Library: 32bit shared librar

nsis recommends no packages.

Versions of packages nsis suggests:
ii  mingw32                     4.2.1.dfsg-1 Minimalist GNU win32 (cross) compi
pn  wine                        <none>       (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to