From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yathindra Subject: Compiling/linking applications using libdevmapper Date: Mon, 12 Dec 2011 12:10:20 -0700 Message-ID: <4EE6519C.40003@cs.utah.edu> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2452196414677381077==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development Cc: Yathindra Naik List-Id: dm-devel.ids This is a multi-part message in MIME format. --===============2452196414677381077== Content-Type: multipart/alternative; boundary="------------060801080609080903080706" This is a multi-part message in MIME format. --------------060801080609080903080706 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------060801080609080903080706 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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
--------------060801080609080903080706-- --===============2452196414677381077== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============2452196414677381077==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zdenek Kabelac Subject: Re: Compiling/linking applications using libdevmapper Date: Tue, 13 Dec 2011 11:44:58 +0100 Message-ID: <4EE72CAA.6010405@redhat.com> References: <4EE6519C.40003@cs.utah.edu> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4EE6519C.40003@cs.utah.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development Cc: Yathindra List-Id: dm-devel.ids 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yathindra Subject: Re: Compiling/linking applications using libdevmapper Date: Tue, 13 Dec 2011 10:12:15 -0700 Message-ID: <4EE7876F.5030608@cs.utah.edu> References: <4EE6519C.40003@cs.utah.edu> <4EE72CAA.6010405@redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4EE72CAA.6010405@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Zdenek Kabelac Cc: device-mapper development List-Id: dm-devel.ids 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