[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dazuko-help] dazukofs-3.0.1rc2 won't compile
From: |
Bernd Adda |
Subject: |
Re: [Dazuko-help] dazukofs-3.0.1rc2 won't compile |
Date: |
Sat, 12 Sep 2009 17:53:32 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.1pre) Gecko/20090717 SeaMonkey/2.0b1 |
Helmut Hullen schrieb:
> Hallo, John,
>
> Du meintest am 10.09.09 zum Thema Re: [Dazuko-help] dazukofs-3.0.1rc2 won't
> compile:
>
>> DazukoFS 3.1.0-rc2 (which is the version you should use) is made for
>> Linux 2.6.30. The API for 2.6.29 might be a bit different (but it may
>> be a simple change to get it to run).
>
> Nearly the same problem:
>
> make -C /lib/modules/`uname -r`/build SUBDIRS="`pwd`" modules
> make[1]: Entering directory `/usr/src/linux-2.6.30.6'
> CC [M] /usr/src/dazukofs-3.1.0-rc2/file.o
> /usr/src/dazukofs-3.1.0-rc2/file.c: In function 'dazukofs_open':
> /usr/src/dazukofs-3.1.0-rc2/file.c:185: error: dereferencing pointer to
> incomplete type
> make[2]: *** [/usr/src/dazukofs-3.1.0-rc2/file.o] Error 1
> make[1]: *** [_module_/usr/src/dazukofs-3.1.0-rc2] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.30.6'
> make: *** [dazukofs_modules] Error 2
>
> I've just compiled my kernel 2.6.30.6 - compiling works (at least kernel
> compiling).
> Distribution: Slackware current (Slackware 13.0).
>
> Viele Gruesse!
> Helmut
>
hello Helmut
I don't know the distri (Slackware 13.0) I use openSUSE
When you compile your kernel, why you don't use redirfs
Other time John Ogness and other told me
In order to use Dazuko 2.3.6 with your kernel (2.6.27), you need to
configure it to work with RedirFS. A very quick HOWTO was posted to
the dazuko-devel mailing list:
http://lists.gnu.org/archive/html/dazuko-devel/2009-02/msg00026.html
- - - - -
redirfs + dazuko rundown:
1) download and install the latest redirfs 0.6
- you can use the following INSTALL file
http://www.redirfs.org/svn/redirfs/tags/redirfs-0.6/src/redirfs/INSTALL
2) download dazuko-2.3.7
- http://dazuko.dnsalias.org/files/dazuko-2.3.7.tar.gz
3) unpack the dazuko-2.3.7 package
4) copy the Module.symvers file from the redirfs source directory into
the dazuko-2.3.7 source directory
5) configure dazuko
$ ./configure --enable-redirfs --redirfsdir=<full path to the
redirfs source directory>
6) compile a load dazuko module
$ make
# insmod dazuko.ko
-FH
- - - - - - - -
nearly 2 weeks ago, Frantisek Hrbata posted a patch against 2.3.6-pre2
to allow Dazuko to work with the latest RedirFS version 0.6. I decided
to integrate the patch and release version 2.3.6 of Dazuko.
This means that Dazuko 2.x could be used with the most recent kernels
by first installing RedirFS. The build and installation procedure is
actually pretty simple:
$ wget http://www.redirfs.org/packages/redirfs-0.6.tar.gz
$ tar xzf redirfs-0.6.tar.gz
$ cd redirfs-0.6
$ make -C /lib/modules/`uname -r`/build M=`pwd` modules
$ sudo make -C /lib/modules/`uname -r`/build M=`pwd` modules_install
$ cd ..
$ wget http://dazuko.dnsalias.org/files/dazuko-2.3.6.tar.gz
$ tar xzf dazuko-2.3.6.tar.gz
$ cd dazuko-2.3.6
$ ./configure --redirfsdir=`pwd`/../redirfs-0.6
$ make
$ sudo make install
That's it.
John Ogness
You can find it also for your kernel
If it works with your distri, I don't know
Bernd