[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dazuko-help] Trouble to build dazuko
From: |
Erik Gustafsson |
Subject: |
[Dazuko-help] Trouble to build dazuko |
Date: |
Sat, 31 Jan 2009 23:46:47 +0100 |
Hi, Erik here!
Linux: Ubuntu 8.10
Kernel source: Linux-source 2.6.27 (/usr/src/)
I hav downloaded the dazuko-source_2.3.3-1_all.deb package and then
followed the instructions in the FAQ. That say:
---------------------------------------------------------------------
What are the known issues with Debian GNU/Linux?
The "dazuko-source" package that is available through apt-get for the
current stable release, sarge, is very old (1.2.2). It is recommended
that you download the latest stable version from the Dazuko Downloads
page.
For Debian unstable and testing, a more recent version of the
"dazuko-source" package is available via apt-get.
John Ogness is the current maintainer for the Debian "dazuko-source"
package.
For the current stable release, you can download the latest stable
version as a Debian package here:
dazuko-source_2.3.3-1_all.deb
The Debian package requires "module-assistant". This will automatically
compile and install Dazuko. Here is the procedure:
# apt-get install module-assistant
# dpkg -i dazuko-source_2.3.3-1_all.deb
# m-a a-i dazuko
You can then load the module with:
# modprobe dazuko
----------------------------------------------------------------------
The first and the second command doesn't bring any problems but when I
run the third command it fails and this is how it looks like:
----------------------------------------------------------------------
dh_clean
/usr/bin/make clean
make[1]: Går till katalogen "/usr/src/modules/dazuko"
make[1]: Lämnar katalogen "/usr/src/modules/dazuko"
rm -rf .tmp_versions Makefile debian/control.backup
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Går till katalogen "/usr/src/modules/dazuko"
dh_clean
/usr/bin/make clean
make[2]: Går till katalogen "/usr/src/modules/dazuko"
make[2]: *** Ingen regel för att skapa målet "clean". Stannar.
make[2]: Lämnar katalogen "/usr/src/modules/dazuko"
make[1]: [kdist_clean] Fel 2 (ignoreras)
rm -rf .tmp_versions Makefile debian/control.backup
sed -e 's/_KFLAV_/generic/' < debian/control.modules.in.in.flavor >
debian/control.modules.in
for templ in
/usr/src/modules/dazuko/debian/dazuko-modules-_KVERS_.postinst.modules.in; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.27-11-generic/g'` ; \
done
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in}
${templ%.modules.in}.backup 2>/dev/null || true; \
sed -e 's/##KVERS##/2.6.27-11-generic/g ;s/#KVERS#/2.6.27-11-generic/g ;
s/_KVERS_/2.6.27-11-generic/g ; s/##KDREV##/2.6.27-11.27/g ;
s/#KDREV#/2.6.27-11.27/g ; s/_KDREV_/2.6.27-11.27/g ' < $templ >
${templ%.modules.in}; \
done
./configure --without-library --without-example-c
--kernelsrcdir=/usr/src/linux-headers-2.6.27-11-generic
checking host system type... Linux
checking for make utility... ok (make)
checking for C compiler... ok (gcc)
kernel build source in /usr/src/linux-headers-2.6.27-11-generic... yes
acquiring Linux kernel code configuration... ok
checking if Linux is RSBAC patched... no
checking if devfs is enabled... no
discovered host system... Linux (2.6.27)
checking if security module support is enabled... yes
verifying capabilities are not built-in... ok
locating LSM API header... ok
identifying LSM API (this can take a while)... ok
identifying device API... ok
inspecting class type... ok (class)
inspecting suspend function... ok (suspend2)
checking whether __d_path() is exported... yes
inspecting task_struct structure... ok (using parent)
disabling ON_CLOSE events (not available for Linux 2.6 LSM)
configure: creating Makefile
./configure successful
=======================
Configuration summary
=======================
module events = ON_OPEN ON_EXEC
devfs support = no
rsbac support = no
stacking support = yes
local __d_path() = no
module debug = no
library 1.x compatibility = yes
export DH_OPTIONS='-pdazuko-modules-2.6.27-11-generic'
dh_testdir
dh_testroot
dh_clean -k
# Build the module
/usr/bin/make
make[2]: Går till katalogen "/usr/src/modules/dazuko"
/usr/bin/make -C /usr/src/linux-headers-2.6.27-11-generic
include/linux/version.h include/asm scripts
make[3]: Går till katalogen "/usr/src/linux-headers-2.6.27-11-generic"
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
scripts/kconfig/conf.c: I funktion "conf_askvalue":
scripts/kconfig/conf.c:104: varning: ignorerar returvärdet av "fgets",
deklarerad med attributet warn_unused_result
scripts/kconfig/conf.c: I funktion "conf_choice":
scripts/kconfig/conf.c:306: varning: ignorerar returvärdet av "fgets",
deklarerad med attributet warn_unused_result
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2486:
scripts/kconfig/confdata.c: I funktion "conf_write":
scripts/kconfig/confdata.c:501: varning: ignorerar returvärdet av "fwrite",
deklarerad med attributet warn_unused_result
scripts/kconfig/confdata.c: I funktion "conf_write_autoconf":
scripts/kconfig/confdata.c:739: varning: ignorerar returvärdet av "fwrite",
deklarerad med attributet warn_unused_result
scripts/kconfig/confdata.c:740: varning: ignorerar returvärdet av "fwrite",
deklarerad med attributet warn_unused_result
In file included from scripts/kconfig/zconf.tab.c:2487:
scripts/kconfig/expr.c: I funktion "expr_print_file_helper":
scripts/kconfig/expr.c:1090: varning: ignorerar returvärdet av "fwrite",
deklarerad med attributet warn_unused_result
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
make[3]: Lämnar katalogen "/usr/src/linux-headers-2.6.27-11-generic"
make[3]: Går till katalogen "/usr/src/linux-headers-2.6.27-11-generic"
CHK include/linux/version.h
HOSTCC scripts/genksyms/genksyms.o
HOSTCC scripts/genksyms/lex.o
scripts/genksyms/lex.c: I funktion "yylex1":
scripts/genksyms/lex.l:97: varning: ignorerar returvärdet av "fwrite",
deklarerad med attributet warn_unused_result
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
scripts/mod/modpost.c: I funktion "get_markers":
scripts/mod/modpost.c:1542: varning: ignorerar returvärdet av "asprintf",
deklarerad med attributet warn_unused_result
scripts/mod/modpost.c: I funktion "add_marker":
scripts/mod/modpost.c:1954: varning: ignorerar returvärdet av "asprintf",
deklarerad med attributet warn_unused_result
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
scripts/kallsyms.c: I funktion "read_symbol":
scripts/kallsyms.c:74: varning: ignorerar returvärdet av "fgets", deklarerad
med attributet warn_unused_result
HOSTCC scripts/conmakehash
make[3]: Lämnar katalogen "/usr/src/linux-headers-2.6.27-11-generic"
/usr/bin/make -C /usr/src/linux-headers-2.6.27-11-generic
SUBDIRS="/usr/src/modules/dazuko" modules
make[3]: Går till katalogen "/usr/src/linux-headers-2.6.27-11-generic"
CC [M] /usr/src/modules/dazuko/dazuko_core.o
In file included from /usr/src/modules/dazuko/dazuko_platform.h:4,
from /usr/src/modules/dazuko/dazuko_core.c:36:
/usr/src/modules/dazuko/dazuko_linux26.h:27:27: error: asm/semaphore.h: Filen
eller katalogen finns inte
In file included from /usr/src/modules/dazuko/dazuko_platform.h:4,
from /usr/src/modules/dazuko/dazuko_core.c:36:
/usr/src/modules/dazuko/dazuko_linux26.h:50: fel: fält "mutex" har ofullständig
typ
make[4]: *** [/usr/src/modules/dazuko/dazuko_core.o] Fel 1
make[3]: *** [_module_/usr/src/modules/dazuko] Fel 2
make[3]: Lämnar katalogen "/usr/src/linux-headers-2.6.27-11-generic"
make[2]: *** [dummy_rule] Fel 2
make[2]: Lämnar katalogen "/usr/src/modules/dazuko"
make[1]: *** [binary-modules] Fel 2
make[1]: Lämnar katalogen "/usr/src/modules/dazuko"
make: *** [kdist_build] Fel 2
---------------------------------------------------------------
I would very much like to know what is wrong.
Thanks
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dazuko-help] Trouble to build dazuko,
Erik Gustafsson <=