guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/15: gnu: ibutils: Fix compilation.


From: guix-commits
Subject: 05/15: gnu: ibutils: Fix compilation.
Date: Thu, 23 Feb 2023 10:33:52 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 96c335574d25f412ef1dda8b0949e59c32a27174
Author: Ludovic Courtès <ludovic.courtes@inria.fr>
AuthorDate: Thu Feb 23 14:37:05 2023 +0100

    gnu: ibutils: Fix compilation.
    
    * gnu/packages/fabric-management.scm (ibutils)[arguments]: Add CFLAGS
    to #:configure-flags.
---
 gnu/packages/fabric-management.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/fabric-management.scm 
b/gnu/packages/fabric-management.scm
index dc32b163da..3ab1a35d7c 100644
--- a/gnu/packages/fabric-management.scm
+++ b/gnu/packages/fabric-management.scm
@@ -169,7 +169,11 @@ interface to this library is not guaranteed to be stable.")
                                   #$(this-package-input "opensm"))
                    (string-append "--with-tk-lib="
                                   #$(this-package-input "tk") "/lib")
-                   "--disable-static")))
+                   "--disable-static"
+
+                   ;; Address this link error:
+                   ;; ld: .libs/ibis.o:/ibis/src/ibis.c:55: multiple 
definition of `IbisObj'; .libs/ibis_wrap.o:/ibis/src/ibis_wrap.c:3007: first 
defined here
+                   "CFLAGS=-O2 -g -fcommon")))
     (synopsis "InfiniBand network utilities")
     (description "These command-line utilities allow for diagnosing and
 testing InfiniBand networks.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]