Michael wrote:
I also tried with a compiled new kernel, 2.6.30.4 from 'kernel.org',
with the same result, except for a warning:
/[r...@coollin dazukofs-3.1.0-rc2]# make
make -C /lib/modules/`uname -r`/build SUBDIRS="`pwd`" modules
make[1]: Entering directory `/usr/src/linux-2.6.30.4'
WARNING: Symbol version dump /usr/src/linux-2.6.30.4/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /opt/Prg_tmp/dazukofs-3.1.0-rc2/super.o
CC [M] /opt/Prg_tmp/dazukofs-3.1.0-rc2/inode.o
CC [M] /opt/Prg_tmp/dazukofs-3.1.0-rc2/file.o
/opt/Prg_tmp/dazukofs-3.1.0-rc2/*file.c: I funktion "dazukofs_open":
/opt/Prg_tmp/dazukofs-3.1.0-rc2/file.c:185: fel: derefererar pekare
till ofullständig typ*
make[2]: *** [/opt/Prg_tmp/dazukofs-3.1.0-rc2/file.o] Fel 1
make[1]: *** [_module_/opt/Prg_tmp/dazukofs-3.1.0-rc2] Fel 2
make[1]: Leaving directory `/usr/src/linux-2.6.30.4'
make: *** [dazukofs_modules] Fel 2/
With the new kernel, 2.6.30.4 and the latest dazukofs-snapshot, there
is the same result as above:
/[r...@coollin dazukofs-20090628]# make
make -C /lib/modules/`uname -r`/build SUBDIRS="`pwd`" modules
make[1]: Entering directory `/usr/src/linux-2.6.30.4'
WARNING: Symbol version dump /usr/src/linux-2.6.30.4/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /opt/Prg_tmp/dazukofs-20090628/super.o
CC [M] /opt/Prg_tmp/dazukofs-20090628/inode.o
CC [M] /opt/Prg_tmp/dazukofs-20090628/file.o
/opt/Prg_tmp/dazukofs-20090628/*file.c: I funktion "dazukofs_open":
/opt/Prg_tmp/dazukofs-20090628/file.c:185: fel: derefererar pekare
till ofullständig typ*
make[2]: *** [/opt/Prg_tmp/dazukofs-20090628/file.o] Fel 1
make[1]: *** [_module_/opt/Prg_tmp/dazukofs-20090628] Fel 2
make[1]: Leaving directory `/usr/src/linux-2.6.30.4'
make: *** [dazukofs_modules] Fel 2/
Note: "file.c:185: fel: derefererar pekare till ofullständig typ"
means like "dereferer points to uncomplete type/ deferering pointer to
incomplete type".
Have I missed something?
Hi Michael,
you are right, this package does not compile since there are some header
includes missing. To make it work
the quickest solution is to simply add the line
#include <linux/sched.h>
in file.c and ign_dev.c.
After including this line the code should compile on 2.6.30 vanilla
(I am not sure about mandriva kernel).
Alternatively you could apply the patches I sent on 09. and 10. Juli:
http://lists.gnu.org/archive/html/dazuko-devel/2009-07/msg00020.html
http://lists.gnu.org/archive/html/dazuko-devel/2009-07/msg00021.html
This would also fix some bugs.
Regards,
Lino
Geschäftsführender Gesellschafter: Tjark Auerbach
Sitz der Gesellschaft: Tettnang
Handelsregister: Amtsgericht Ulm, HRB 630992
ALLGEMEINE GESCHÄFTSBEDINGUNGEN
Es gelten unsere Allgemeinen Geschäftsbedingungen
(AGB). Sie finden sie in der jeweils gültigen Fassung
im Internet unter http://www.avira.de/agb
***************************************************
_______________________________________________
Dazuko-help mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/dazuko-help