Skip to contentSkip to conversation

Compiling host-mtd 1.3.1 error: ld: cannot find -lubi

Buildroot Bill Borton 2 participants 3 messages May 19, 2010 – May 20, 2010

lore
Share & tools
lore
#0 lore raw

I am trying to build a jffs2 root file system. I can not get past this latest snag. While compiling "host-mtd 1.3.1" it errors out with this:

/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lubi
collect2: ld returned 1 exit status
make[2]: *** [/home/drumgod/space1/atmel_linux/buildroot/from_uclibc/5-19-10/buildroot-2010.05-rc2/output/build/host-mtd-1.3.1/mkfs.ubifs/mkfs.ubifs] Error 1 rm /home/drumgod/space1/atmel_linux/buildroot/from_uclibc/5-19-10/buildroot-2010.05-rc2/output/build/host-mtd-1.3.1/mkfs.ubifs/mkfs.ubifs.o make[2]: Leaving directory `/home/drumgod/space1/atmel_linux/buildroot/from_uclibc/5-19-10/buildroot-2010.05-rc2/output/build/host-mtd-1.3.1/mkfs.ubifs' make[1]: *** [subdirs_mkfs.ubifs_all] Error 2
make[1]: *** Waiting for unfinished jobs....

and ultimately this:

make[1]: Leaving directory `/home/drumgod/space1/atmel_linux/buildroot/from_uclibc/5-19-10/buildroot-2010.05-rc2/output/build/host-mtd-1.3.1'
make: *** [/home/drumgod/space1/atmel_linux/buildroot/from_uclibc/5-19-10/buildroot-2010.05-rc2/output/build/host-mtd-1.3.1/.stamp_built] Error 2

I have tried many different configuration combinations but haven't been able to get past this point. Can someone please point me in the right direction?

Thanks guys,
-Bill

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bill" == Bill Borton <[email protected]> writes:

Bill> make[1]: Leaving directory `/home/drumgod/space1/atmel_linux/buildroot/from_uclibc/5-19-10/buildroot-2010.05-rc2/output/build/host-mtd-1.3.1' Bill> make: *** [/home/drumgod/space1/atmel_linux/buildroot/from_uclibc/5-19-10/buildroot-2010.05-rc2/output/build/host-mtd-1.3.1/.stamp_built] Error 2

Bill> I have tried many different configuration combinations but haven't Bill> been able to get past this point. Can someone please point me in Bill> the right direction?

That sounds like the parallel make issue recently reported - Does it work for you if you change all instances of $(MAKE) in package/mtd/mtd.mk to $(MAKE1) ?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw
Quoted 5 lines · On Wed, 19 May 2010 22:25:51 +0200 Peter Korsgaard <[email protected]> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bill" == Bill Borton <[email protected]> writes:

Bill> make[1]: Leaving directory `/home/drumgod/space1/atmel_linux/buildroot/from_uclibc/5-19-10/buildroot-2010.05-rc2/output/build/host-mtd-1.3.1' Bill> make: *** [/home/drumgod/space1/atmel_linux/buildroot/from_uclibc/5-19-10/buildroot-2010.05-rc2/output/build/host-mtd-1.3.1/.stamp_built] Error 2

Quoted 10 lines

Bill> I have tried many different configuration combinations but haven't Bill> been able to get past this point. Can someone please point me in Bill> the right direction?

That sounds like the parallel make issue recently reported - Does it work for you if you change all instances of $(MAKE) in package/mtd/mtd.mk to $(MAKE1) ?

Signature · 1 line
Bye, Peter Korsgaard

That did it. Thank you sir!

-Bill