[Bug 720415] multiple definition of `__gmpn_sub_n'

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Feb 2 21:45:25 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=720415
  GStreamer | packages | git

--- Comment #1 from Kyle <zeranoe at gmail.com> 2014-02-03 05:45:22 UTC ---
The library name is the main issue. It is possible to create a link to a .dll
file with ln -s, but the link name needs to be in the format gmp.lib, and not
libgmp.lib.

Renaming the lib to gmp.lib solves the issue.

For more information about linking dll files:
https://sourceware.org/binutils/docs/ld/WIN32.html#index-direct-linking-to-a-dll-700


This all might be because Cerbero is not running gen_library_file for the
recipe gmp. For most other recipes there are xxx.lib files for each, generated
with gen_library_file.

I see two solutions:
  1. Have Cerbero generate the lib file using gendef and dlltool and discard
the link that make install creates
  2. Patch gmp to create a gmp.lib link to libgmp-10.dll, NOT libgmp.lib

-- 
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