makedumpfile can't build on Fedora 16

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

 



On 01/20/2012 03:03 PM, Atsushi Kumagai wrote:
> Hi,

Hi, Kumagai-san,

> I think that makedumpfile should be compiled with -static option,
> because it must be executable in many environment as possible, e.g. even if
> there are no dynamic libraries in 2nd kernel environment. (as written in README)
>
> But I've got some requests to build it using dynamic libraries,
> so I will change the Makefile as attached patch.
>
> If you want to build makedumpfile using dynamic libraries,
> you need "LINKTYPE=dynamic"(see below).
>
> How to build:
>    a) linking static libraries (default)
>      $ make
>      ...
>      $ ldd makedumpfile
>          not a dynamic executable
>
>    b) linking dynamic libraries
>      $ make LINKTYPE=dynamic
>      ...
>      $ ldd makedumpfile
>          libdw.so.1 =>  /usr/lib64/libdw.so.1 (0x0000003ca2800000)
>          libbz2.so.1 =>  /usr/lib64/libbz2.so.1 (0x000000394b200000)
>          libdl.so.2 =>  /lib64/libdl.so.2 (0x00000031a5a00000)
>          libelf.so.1 =>  /usr/lib64/libelf.so.1 (0x0000003ca2400000)
>          libz.so.1 =>  /usr/lib64/libz.so.1 (0x00000031a6200000)
>          libc.so.6 =>  /lib64/libc.so.6 (0x00000031a5200000)
>          /lib64/ld-linux-x86-64.so.2 (0x00000031a4e00000)
>
> What do you think, Cong?

This also works for me! Thanks for your patch!

BTW, we also need to update README. ;)



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux