Re: ldminfo compilation

From: Luciano Rocha
Date: Wed Dec 12 2007 - 09:52:58 EST


On Wed, Dec 12, 2007 at 04:39:18PM +0200, Alon Bar-Lev wrote:
> Hello,
>
> I need to compile the ldminfo utility of linux-ntfs's package
> linux-ldm. I need this as static or uclibc based.
>
> The author stated in the Documentation/filesystems/ntfs.txt:
> """You will find the precompiled (i386) ldminfo utility there. NOTE:
> You will not be able to compile this yourself easily so use the binary
> version!"""
>
> I don't like to use binary versions, but this is not so important....
> I cannot use this dynamic linked x86 anyway.
>
> Looking at the sources, it seems that the linux headers used in order
> to build this are out of date...

Those are for the kernel module setting the partition tables. If you're
only interested in the ldminfo utility:
make -C ldmutil CPP='g++ -static'

Substitute g++ for the C++ compiler you want to use.

--
Luciano Rocha <luciano@xxxxxxxxxxx>
Eurotux Informática, S.A. <http://www.eurotux.com/>

Attachment: pgp00000.pgp
Description: PGP signature