From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-gx0-f177.google.com ([209.85.161.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RnC1B-0001fV-Kh for kexec@lists.infradead.org; Tue, 17 Jan 2012 16:36:18 +0000 Received: by ggnl1 with SMTP id l1so3768940ggn.36 for ; Tue, 17 Jan 2012 08:36:15 -0800 (PST) Message-ID: <4F15A377.3090302@gmail.com> Date: Wed, 18 Jan 2012 00:36:07 +0800 From: Cong Wang MIME-Version: 1.0 Subject: makedumpfile can't build on Fedora 16 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="windows-1252"; Format="flowed" Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Atsushi Kumagai Cc: kexec@lists.infradead.org Hello, Atsushi, I can't build the latest makedumpfile on Fedora 16, [wangcong@cr0]~/makedumpfile% make ... gcc -g -O2 -Wall -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE = -D_LARGEFILE64_SOURCE -DVERSION=3D'"1.4.1"' -DRELEASE_DATE=3D'"6 January = 2012"' -D__x86_64__ print_info.o dwarf_info.o elf_info.o erase_info.o = sadump_info.o arch/arm.o arch/x86.o arch/x86_64.o arch/ia64.o = arch/ppc64.o arch/s390x.o -o makedumpfile makedumpfile.c -static -ldw = -lbz2 -lebl -ldl -lelf -lz makedumpfile.c: In function =91__exclude_unnecessary_pages=92: makedumpfile.c:3625:15: warning: variable =91_count=92 set but not used = [-Wunused-but-set-variable] /usr/bin/ld: cannot find -lbz2 /usr/bin/ld: cannot find -ldl /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status make: *** [makedumpfile] Error 1 [wangcong@cr0]~/makedumpfile% rpm -ql bzip2-libs /lib64/libbz2.so.1 /lib64/libbz2.so.1.0.6 /usr/share/doc/bzip2-libs-1.0.6 /usr/share/doc/bzip2-libs-1.0.6/LICENSE So, I don't know why ld can't find libbz2 and libc... Any hints? Thanks! _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec