From: Frank S. <fra...@we...> - 2009-11-26 13:19:39
|
Hello, I'm using debian 5.0 with the kernel 2.6.32-rc8. And I want to compile and make openss7-0.9.2G The configure runs without errors but make give me this: debian:/usr/src/build_opennss7# make CC="gcc -I /usr/src/linux-2.6.32-rc8/include/ -I /usr/src/linux-2.6.32-rc8/arch/x86/include/" make all-recursive make[1]: Entering directory `/usr/src/build_opennss7' Making all in streams make[2]: Entering directory `/usr/src/build_opennss7/streams' make all-recursive make[3]: Entering directory `/usr/src/build_opennss7/streams' Making all in include make[4]: Entering directory `/usr/src/build_opennss7/streams/include' make all-am make[5]: Entering directory `/usr/src/build_opennss7/streams/include' make[5]: Für das Ziel »all-am« ist nichts zu tun. make[5]: Leaving directory `/usr/src/build_opennss7/streams/include' make[4]: Leaving directory `/usr/src/build_opennss7/streams/include' Making all in . make[4]: Entering directory `/usr/src/build_opennss7/streams' gcc -I /usr/src/linux-2.6.32-rc8/include/ -I /usr/src/linux-2.6.32-rc8/arch/x86/include/ -DHAVE_CONFIG_H -I. -I. -I../../openss7-0.9.2.G/streams -DLFS=1 -imacros ./config.h -imacros ./include/sys/config.h -I../../openss7-0.9.2.G/streams -I./include -I../../openss7-0.9.2.G/streams/include -nostdinc -iwithprefix include -DLINUX -D__KERNEL__ -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 '-DKBUILD_STR(s)=#s' '-DKBUILD_BASENAME=KBUILD_STR('`echo libLfS_specfs_a-specfs.o | sed -e 's,lib.*_a-,,;s,\.o,,;s,-,_,g'`')' -DMODULE -D__NO_VERSION__ -DEXPORT_SYMTAB -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -Wa,-mtune=generic32 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -ffreestanding -c -o libLfS_specfs_a-specfs.o `test -f 'src/kernel/specfs.c' || echo '../../openss7-0.9.2.G/streams/'`src/kernel/specfs.c In file included from ../../openss7-0.9.2.G/streams/include/sys/dki.h:80, from ../../openss7-0.9.2.G/streams/include/sys/streams/stream.h:206, from ../../openss7-0.9.2.G/streams/include/sys/stream.h:80, from ../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:158, from ../../openss7-0.9.2.G/streams/src/kernel/specfs.c:123: ../../openss7-0.9.2.G/streams/include/sys/streams/dki.h:101: error: redefinition of struct cred In file included from ../../openss7-0.9.2.G/streams/include/sys/ddi.h:80, from ../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:161, from ../../openss7-0.9.2.G/streams/src/kernel/specfs.c:123: ../../openss7-0.9.2.G/streams/include/sys/streams/ddi.h: In function drv_priv: ../../openss7-0.9.2.G/streams/include/sys/streams/ddi.h:250: error: cred_t has no member named cr_uid ../../openss7-0.9.2.G/streams/include/sys/streams/ddi.h:250: error: cred_t has no member named cr_ruid In file included from ../../openss7-0.9.2.G/streams/src/kernel/specfs.c:123: ../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c: In function specfs_init_cache: ../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1406: warning: passing argument 5 of kmem_cache_create from incompatible pointer type ../../openss7-0.9.2.G/streams/src/kernel/strspecfs.c:1406: error: too many arguments to function kmem_cache_create make[4]: *** [libLfS_specfs_a-specfs.o] Fehler 1 make[4]: Leaving directory `/usr/src/build_opennss7/streams' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/usr/src/build_opennss7/streams' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/usr/src/build_opennss7/streams' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/usr/src/build_opennss7' make: *** [all] Fehler 2 Can any one see what's wrong or what can I do? Kind regards Frank ___________________________________________________________ Preisknaller: WEB.DE DSL Flatrate für nur 16,99 Euro/mtl.! http://produkte.web.de/go/02/ |