Package: libiml0
Version: 1.0.3-1
Severity: normal
Tags: patch

Hello,

The file nullspace.c uses the undefined symbol mpz_init_ui, causing an
error at link time. The attached patch solves this issue.

Regards,

Laurent Fousse.

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

Kernel: Linux 2.6.24.2vmsplice (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libiml0 depends on:
ii  libatlas3gf-base [libatla 3.6.0-22       Automatically Tuned Linear Algebra
ii  libc6                     2.7-13         GNU C Library: Shared libraries
ii  libgmp3c2                 2:4.2.2+dfsg-3 Multiprecision arithmetic library

libiml0 recommends no packages.

libiml0 suggests no packages.

-- no debconf information
--- nullspace.c.orig    2008-08-12 15:17:18.000000000 +0200
+++ nullspace.c 2008-08-12 15:12:15.000000000 +0200
@@ -253,7 +253,7 @@
            for (i = 0; i < m; i++) {
                for (j = 0; j < m; j++)
                    mpz_init_set_ui(mp_N[i * m + j], 0);
-               mpz_init_ui(mp_N[i * m + i], 1);
+               mpz_init_set_ui(mp_N[i * m + i], 1);
            }
            *mp_N_pass = mp_N;
        } else {                /* r>0 and s>0 */

Reply via email to