Mr.Satit Phermsawang wrote: > I'd tried to remaster livecd everything go fine until complie initramfs. > after issued command: > make compile-stage2 VERSION="x86-6.2-custom" > > gcc init.c -o > init -static -ldevmapper -Os -s -Wall > -DVOLUME_ID=\"lfslivecd-x86-6.2-custom\" -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 > /usr/bin/ld: cannot find -ldevmapper > collect2: ld returned 1 exit status > make: *** [init] Error 1 > > How to fix the error? > > I'd already installed "device-mapper.1.02.13"
It needs a small change in order to install the static devmapper library. If you do the initramfs build in the LiveCD chroot, this library is already there. -- Alexander E. Patrakov -- http://linuxfromscratch.org/mailman/listinfo/livecd FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
