squashfs + lzma?

Asked by JoSch on 2008-05-25

hi!
i wanted to ask a question about the packes squashfs-source and lzma-source.
squashfs-source depends on lzma-dev so i assume that it includes the patches from squashfs-lzma.org ?
and lzma-source is the kernel module required for squashfs with lzma support to work?
i installed both and saw the tar.bz2 archives in the /usr/src directory which i both unpacked. unfortunately there is no ./configure but only a Makefile - what do i do with the sourcecode? how do i happen to use squashfs with lzma with these packes? what are these packages for and how are they used?
cheers
josch

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu squashfs Edit question
Assignee:
No assignee Edit question
Solved by:
JoSch
Solved:
2008-05-26
Last query:
2008-05-26
Last reply:
JoSch (j-schauer) said : #1

the solution is to run
m-a build squashfs and lzma and install the resulting deb packages - this will enable squashfs lzma support in your kernel

helix84 (helix84) said : #2

just to make this dead-simple to follow:

# install source of squashfs and lzma kernel modules
sudo apt-get install squashfs-source lzma-source
# build the modules - this produces two .deb files in /usr/src
sudo m-a build lzma
sudo m-a build squashfs
# install these .deb files
sudo dpkg -i /usr/src/lzma-modules-*
sudo dpkg -i /usr/src/squashfs-modules-*
# load the module
sudo modprobe squashfs
# check if the module is loaded with:
lsmod | grep squashfs

Thomas (t.c) said : #3

I try d this, but while building squashfs I get this: Build of the package squashfs-source failed!

/usr/src/modules/squashfs/inode.c:693: error: implicit declaration of function 'd_alloc_anon'

To fix it take a look at:
http://xhochy.org/en/2009/06/20/compling-squashfs-source-on-ubuntu-jaunty/