* Compiling/linking applications using libdevmapper
@ 2011-12-12 19:10 Yathindra
2011-12-13 10:44 ` Zdenek Kabelac
0 siblings, 1 reply; 3+ messages in thread
From: Yathindra @ 2011-12-12 19:10 UTC (permalink / raw)
To: device-mapper development; +Cc: Yathindra Naik
[-- Attachment #1.1: Type: text/plain, Size: 254 bytes --]
Hi,
I'm actually doing a make and make install in the LVM source code
directory so I can compile and link my application using -ldevmapper.
I'm wondering if this is the only way (correct way) to build
applications using libdevmapper ?
Thanks,
Yathi
[-- Attachment #1.2: Type: text/html, Size: 766 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compiling/linking applications using libdevmapper
2011-12-12 19:10 Compiling/linking applications using libdevmapper Yathindra
@ 2011-12-13 10:44 ` Zdenek Kabelac
2011-12-13 17:12 ` Yathindra
0 siblings, 1 reply; 3+ messages in thread
From: Zdenek Kabelac @ 2011-12-13 10:44 UTC (permalink / raw)
To: device-mapper development; +Cc: Yathindra
Dne 12.12.2011 20:10, Yathindra napsal(a):
> Hi,
>
> I'm actually doing a make and make install in the LVM source code directory so
> I can compile and link my application using -ldevmapper.
>
> I'm wondering if this is the only way (correct way) to build applications
> using libdevmapper ?
>
If you want to build only device mapper part from lvm2 src tarball you may use:
make device-mapper
or just directly:
make install_device-mapper
(though there seems to be a minor issue with the install target which might
need some cosmetic cleanup - but it should install correctly everything you need)
Zdenek
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compiling/linking applications using libdevmapper
2011-12-13 10:44 ` Zdenek Kabelac
@ 2011-12-13 17:12 ` Yathindra
0 siblings, 0 replies; 3+ messages in thread
From: Yathindra @ 2011-12-13 17:12 UTC (permalink / raw)
To: Zdenek Kabelac; +Cc: device-mapper development
Hi,
Actually, I'm using some of the API's from libdevmapper and as such I'm
not installing device mapper.
So I'm linking my application by using -ldevmapper, but for devmapper
library (-ldevmapper), do I need
to build the device mapper part from lvm2 src ?
Thanks again,
Yathi
On 12/13/2011 3:44 AM, Zdenek Kabelac wrote:
> Dne 12.12.2011 20:10, Yathindra napsal(a):
>> Hi,
>>
>> I'm actually doing a make and make install in the LVM source code
>> directory so
>> I can compile and link my application using -ldevmapper.
>>
>> I'm wondering if this is the only way (correct way) to build
>> applications
>> using libdevmapper ?
>>
>
>
> If you want to build only device mapper part from lvm2 src tarball you
> may use:
>
> make device-mapper
>
> or just directly:
>
> make install_device-mapper
>
> (though there seems to be a minor issue with the install target which
> might need some cosmetic cleanup - but it should install correctly
> everything you need)
>
> Zdenek
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-12-13 17:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-12 19:10 Compiling/linking applications using libdevmapper Yathindra
2011-12-13 10:44 ` Zdenek Kabelac
2011-12-13 17:12 ` Yathindra
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.