Skip to contentSkip to conversation

mtd-utils change: missing lzo1x.h

DISCUSSION Mike (mwester) 2 participants 2 messages Mar 1, 2007

lore
Share & tools
lore
#0 lore raw

The latest changes to mtd-utils isn't working; complains about a missing header file (lzo1x.h). Is there a missing dependency somewhere, or perhaps
a PR didn't get bumped? I can't find that file anywhere (oh, a google
search finds many copies, but I expect that's not the right way to fix this
;-) And it really didn't give me a good hint as to what package that file
might be contained in so I could add the dependency...

FWIW using PREFERRED_VERSION to go back to the original isn't working either; bbimage now apparently requires the newest mtd-utils-native:
mkfs.jffs2: Unknown compressor name lzo

Mike (mwester)

#1 lore raw
Quoted 6 lines · Mike (mwester)

The latest changes to mtd-utils isn't working; complains about a missing header file (lzo1x.h). Is there a missing dependency somewhere, or perhaps
a PR didn't get bumped? I can't find that file anywhere (oh, a google
search finds many copies, but I expect that's not the right way to fix this
;-) And it really didn't give me a good hint as to what package that file
might be contained in so I could add the dependency...

It needs a DEPENDS += "lzo-native". Of course we don't have that yet but it shouldn't be hard to build. My development system has the lzo libraries installed so I didn't see this, sorry.

I'll try and get an lzo-native working...

Quoted 3 lines

FWIW using PREFERRED_VERSION to go back to the original isn't working either; bbimage now apparently requires the newest mtd-utils-native:
mkfs.jffs2: Unknown compressor name lzo

That's expected. We need to do that since otherwise people will get messages about an unsupported compression format when they try to boot their images. It can be enabled on a per machine basis once the kernels have the right patches applied (see linux-rp 2.6.20).

Cheers,

Richard