[Bug 723401] New: Nettle fails to build hogweed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 31 14:07:50 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=723401
  GStreamer | don't know | unspecified

           Summary: Nettle fails to build hogweed
    Classification: Platform
           Product: GStreamer
           Version: unspecified
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: don't know
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: zeranoe at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


When cross compiling GStreamer with Cerbero on Debian, I get an error at gnutls
configure:
configure: error: 
  ***
  *** Libnettle 2.4 was not found. You must compile nettle with gmp support.

This error is because nettle failed to build hogweed:
checking for __gmpz_getlimbn in -lgmp... no
configure: WARNING: GNU MP not found, or not 3.1 or up, see http://gmplib.org/.
Support for public key algorithms will be unavailable.

and from config.log:
configure:7001: i686-w64-mingw32-gcc -o conftest.exe -Wall -g -O2
-DWINVER=0x0501 -D_WIN32_WINNT=0x0501 
-L/home/kyle/software/cerbero/builds/win32/1.2.2/lib  conftest.c -lgmp   >&5
/tmp/cciqC89X.o: In function `main':
/home/kyle/cerbero/sources/windows_x86/nettle-2.7.1/conftest.c:39: undefined
reference to `__gmpz_getlimbn'
collect2: error: ld returned 1 exit status
configure:7001: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nettle"
| #define PACKAGE_TARNAME "nettle"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "nettle 2.7.1"
| #define PACKAGE_BUGREPORT "nettle-bugs at lists.lysator.liu.se"
| #define PACKAGE_URL ""
| #define uid_t int
| #define gid_t int
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define TIME_WITH_SYS_TIME 1
| #define SIZEOF_LONG 4
| #define ALIGNOF_UINT64_T 8
| #define HAVE_ALLOCA 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STRERROR 1
| #define HAVE_GCC_ATTRIBUTE 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char __gmpz_getlimbn ();
| int
| main ()
| {
| return __gmpz_getlimbn ();
|   ;
|   return 0;
| }
configure:7010: result: no

This might be a GMP error, or a Nettle error.

I would be happy to provide any further information.

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