[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling 3.0a gives me tons of errors
Bodo Staron wrote:
> Then:
> linux:/home/bstaron/loop-AES-v3.0a# make LINUX_SOURCE=/home/bstaron/linux-2.6.8.1
>
> Then it gives me pages after pages of errors. I don't know if I should
> send this to the list, I guess not.... it's 25kb zipped.
>
> The last couple of lines:
> /home/bstaron/loop-AES-v3.0a/patched-loop.c:837: error: dereferencing pointer to incomplete type
Looks like the kernel sources in /home/bstaron/linux-2.6.8.1/ are not ready
for module compiling.
The fix is to recompile and install new kernel in that kernel source
directory and then compile a new loop module for for that new kernel.
Something like this:
cd /home/bstaron/linux-2.6.8.1/
mv .config z
make distclean
mv z .config
make oldconfig
make dep && make clean && make bzImage
make modules && make modules_install
cat arch/i386/boot/bzImage >/boot/vmlinuz-2.6.8.1
cp System.map /boot/System.map-2.6.8.1
cd /home/bstaron/loop-AES-v3.0a
make LINUX_SOURCE=/home/bstaron/linux-2.6.8.1
Then configure bootloader to boot new kernel /boot/vmlinuz-2.6.8.1
Then boot to new kernel.
--
Jari Ruusu 1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9 DB 1D EB E3 24 0E A9 DD
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/