I am trying to build kernel modules, so that I can encrypt some files using /dev/loop0
From the get go I can't install gcc-4.2
apt-get install gcc-4.2
MyBookLive:/lib/modules# apt-get install gcc-4.2
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package gcc-4.2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package gcc-4.2 has no installation candidate
Instead I installed using
apt-get install gcc
and I got version 4.4.5
and when I try to load the modules I get "Invalid module format" error.
my /etc/apt/sources.list has debian squeze main
I spent hours. Can someone help me?