public inbox for kexec@lists.infradead.org
 help / color / mirror / Atom feed
* makedumpfile can't build on Fedora 16
@ 2012-01-17 16:36 Cong Wang
  2012-01-18  0:35 ` Wen Congyang
  0 siblings, 1 reply; 9+ messages in thread
From: Cong Wang @ 2012-01-17 16:36 UTC (permalink / raw)
  To: Atsushi Kumagai; +Cc: kexec

Hello, Atsushi,

I can't build the latest makedumpfile on Fedora 16,

[wangcong@cr0]~/makedumpfile% make
...
gcc -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -DVERSION='"1.4.1"' -DRELEASE_DATE='"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 ‘__exclude_unnecessary_pages’:
makedumpfile.c:3625:15: warning: variable ‘_count’ 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-01-20 10:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-17 16:36 makedumpfile can't build on Fedora 16 Cong Wang
2012-01-18  0:35 ` Wen Congyang
2012-01-18  0:40   ` Ken'ichi Ohmichi
2012-01-18 13:45     ` Cong Wang
2012-01-19  7:58       ` Ken'ichi Ohmichi
2012-01-20  7:03         ` Atsushi Kumagai
2012-01-20  7:19           ` Cong Wang
2012-01-20  8:02             ` Atsushi Kumagai
2012-01-20  7:35           ` Ken'ichi Ohmichi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox