On Thu, Jun 10, 2010 at 06:42:20PM +0900, Masanari Iida wrote: > As I compile util-linux-ng-2.18-rc1 on RHEL5 box, > it failed to compile on lscpu > > Making all in sys-utils > make[2]: Entering directory `/tmp/util-linux-ng-2.18-rc1/sys-utils' > CCLD lscpu > lscpu.o: In function `add_cpuset_to_array': > /tmp/util-linux-ng-2.18-rc1/sys-utils/lscpu.c:503: undefined reference > to `CPU_EQUAL_S' Fixed. Please, try git clone git://git.kernel.org/pub/scm/utils/util-linux-ng/util-linux-ng.git cd util-linux-ng ./autogen.sh ./configure make -C sys-utils/ lscpu > It is because RHEL5 uses glibc-2.5, and CPU_EQUAL_S first appeared in > glibc-2.7. > > # rpm -q glibc > glibc-2.5-34 > > Will you add this information into ReleaseNotes? The code should be compilable on RHEL5 or on systems with uClibc. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html