Re: mount with cloop-2 on 2.6.x kernel problem

Yann Cochard <[email protected]>
Newsgroups gmane.linux.debian.knoppix
Message-ID <[email protected]>
Hi again,

While doing some search about this problem, I found that version 2.01 of cloop 
has been published. So I tested again with this one: there are still some 
problems, but different.
First, the file /usr/src/linux/conf.vars is not on my system. I created it 
(empty), and the result of the "make ..." is below.

Any advice ?

My system is a Mandrake 10.0 with updates, running kernel 2.6.3.

Thanks
Yann


[[email protected] cloop-2.01]# make KERNEL_DIR=/usr/src/linux
Makefile:9: /usr/src/linux/conf.vars: No such file or directory
make: *** Pas de règle pour fabriquer la cible « /usr/src/linux/conf.vars ». 
Arrêt.
[[email protected] cloop-2.01]# touch /usr/src/linux/conf.vars
[[email protected] cloop-2.01]# make KERNEL_DIR=/usr/src/linux
cc -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default  
-D__KERNEL__ -DMODULE -fno-builtin -nostdlib -DKBUILD_MODNAME="cloop" 
-DKBUILD_BASENAME="cloop" -DMODVERSIONS 
-include /usr/src/linux/include/linux/modversions.h compressed_loop.c -c -o 
compressed_loop.o
<command line>:138832141:26960: /usr/src/linux/include/linux/modversions.h: No 
such file or directory
compressed_loop.c:880: warning: parameter names (without types) in function 
declaration
compressed_loop.c:880: warning: data definition has no type or storage class
compressed_loop.c:881: warning: parameter names (without types) in function 
declaration
compressed_loop.c:881: warning: data definition has no type or storage class
make: *** [compressed_loop.o] Erreur 1
[[email protected] cloop-2.01]# ls -l /usr/src/
total 8
lrwxrwxrwx   1 root root   16 avr 29 07:15 linux -> linux-2.6.3-4mdk/
drwxr-xr-x  21 root root 4096 avr 30 17:16 linux-2.6.3-4mdk/
drwxr-xr-x   3 root root 4096 avr 29 08:55 RPM/



-- 
___________________________________________________________________
     Yann Cochard, [email protected], http://yanncochard.com/
         Au Cactus Francophone : http://www.cactuspro.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.