[Top] [All Lists]

[Bug 312] New: xfsprogs does not compile on AMD64/x86_64

To: xfs-master@xxxxxxxxxxx
Subject: [Bug 312] New: xfsprogs does not compile on AMD64/x86_64
From: bugzilla-daemon@xxxxxxxxxxx
Date: Fri, 27 Feb 2004 06:48:53 -0800
Sender: linux-xfs-bounce@xxxxxxxxxxx

           Summary: xfsprogs does not compile on AMD64/x86_64
           Product: Linux XFS
           Version: Current
          Platform: AMD
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: xfsprogs
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: kas@xxxxxxxxxxxxxxxxxxx

I have Fedora Core 0.96 test release for AMD64, and I have tried to recompile
the xfsprogs-2.6.3-1.src.rpm. It fails when it tries to link /usr/lib/libuuid.a
to xfs_copy. The ./configure script incorrectly looks for some symbol in
"-luuid" and then sets the variable libuuid to "/usr/lib/libuuid.a", no matter
where the "-luuid" was taken from (in my case - and probably other AMD64 distros
too - the library is in /usr/lib64/libuuid.a). You may want to add "-static
-luuid" when the  static libuuid is needed, and just "-luuid" otherwise.

./configure --enable-shared-uuid

works for me. Default configuration does not. I suggest the following patch to
./configure.in, which works for me:

--- configure.in.orig   2004-02-27 15:42:49.163908768 +0100
+++ configure.in        2004-02-27 15:43:21.889933656 +0100
@@ -32,9 +32,9 @@
 [ --enable-shared-uuid=[yes/no]        Link shared libuuid [default=no].],
-       libuuid="/usr/lib/libuuid.a"
+       libuuid="-static -luuid"
        test "$enable_shared_uuid" = yes && libuuid="-luuid",
-       libuuid="/usr/lib/libuuid.a")
+       libuuid="-static -luuid")

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 312] New: xfsprogs does not compile on AMD64/x86_64, bugzilla-daemon <=