[Bug 723401] Nettle fails to build hogweed
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Mar 13 04:01:41 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=723401
GStreamer | don't know | unspecified
juha.lemmetti changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |juha.lemmetti at optofidelity.
| |com
--- Comment #4 from juha.lemmetti at optofidelity.com 2014-03-13 11:25:21 UTC ---
Hi,
I think I found the same or similar problem on Windows/mingw with 64-bit build,
but it manifests while building hogweed shared dll. Here are some error lines
for reference (and for google):
C:\MinGW\msys\1.0\home\jlemm\cerbero\sources\windows_x86\nettle-2.7.1/ecc-ecdsa-verify.c:101:
undefined reference to `_imp____gmpn_copyi'
C:\MinGW\msys\1.0\home\jlemm\cerbero\sources\windows_x86\nettle-2.7.1/ecc-ecdsa-verify.c:141:
undefined reference to `_imp____gmpn_sub_n'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [libhogweed-2-5.dll] Error 1
make[1]: Leaving directory
`/home/jlemm/cerbero/sources/windows_x86/nettle-2.7.1
It seems that the lib/libgmp-10.dll has no _imp_ -prefixes in the names and
nettle expects them:
$ nm lib/libgmp-10.dll | grep gmpn_sub_n
6acd7770 T ___gmpn_sub_n
6acd7817 T ___gmpn_sub_nc
I can confirm that Kyle's solution works also in Windows: move libgmp-10.dll
from lib to bin, and rename libgmp.lib -> gmp.lib
BUT: I could not find the commit that you were referring to: was I looking at
the wrong place?
(In reply to comment #3)
> I think that was fixed in
>
>
> Author: Andoni Morales Alastruey <ylatuya at gmail.com>
> Date: Tue Feb 11 18:05:29 2014 +0100
>
> libgmp: fix windows libary names
>
> gmp is using an old version of libtool generating .lib import
> libraries instead of dll.a and installing dll's in lib instead
> of bin. Autoreconf'ing gmp seems a bit complicated because of
> AM_C_PROTOTYPES, so let's fix it in post_install
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list