Re: [ANNOUNCE] util-linux v2.30-rc2

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

 



On Tue, May 30, 2017 at 11:48:46PM -0400, Assaf Gordon wrote:
> Hello,
> 
> > On May 30, 2017, at 11:18, Karel Zak <kzak@xxxxxxxxxx> wrote:
> > 
> > On Tue, May 30, 2017 at 01:03:53AM -0400, Assaf Gordon wrote:
> >> /usr/bin/ld: cannot find -lncursesw
> >> collect2: error: ld returned 1 exit status
> >> make[2]: *** [cfdisk] Error 1
> >> ===
> > 
> > OK, I had nice afternoon with Debian (after 10 years;-)
> 
> 
> I'm still seeing this error (tested with util-linux-2.30-rc2-16-2ac1b on
> same Debian 8.1 system).

Ah, I had another issues with ncurses on debian, so I forget to very
this one. Fixed now (I hope).

> +++-=======================-================-================-====================================================
> un  libncurses-dev          <none>           <none>           (no description available)
> ii  libncurses5:amd64       5.9+20140913-1+b amd64            shared libraries for terminal handling
> ii  libncurses5-dev:amd64   5.9+20140913-1+b amd64            developer's libraries for ncurses
> ii  libncursesw5:amd64      5.9+20140913-1+b amd64            shared libraries for terminal handling (wide charact

The issue is that we get -lncursesw from pkg-config (probably due to
installed ncursesw-config), but the rest of the build system assumes
non-widechar version. It seems better to use pkg-config as fallback
solution only.

> Also,
> On alpine-linux, the compilation now fails with:
> ===
> CC       sys-utils/dmesg-dmesg.o
> sys-utils/dmesg.c:9:26: fatal error: linux/unistd.h: No such file or directory
> compilation terminated.
> Makefile:9274: recipe for target 'sys-utils/dmesg-dmesg.o' failed
> make[2]: *** [sys-utils/dmesg-dmesg.o] Error 1
> ===
> Again, this could be due to missing "linux-headers" package - but is it really the kernel's
> "unistd.h" that's needed, or could this work with the standard one?

The file linux/unistd.h is unnecessary for dmesg (fixed), but we have
many another places where kernel header files are required.

So, now the header file <linux/version.h> is required by ./configure
on Linux. I guess it's not overkill.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux