Messages in this thread | | | From | jjluza <> | Subject | Re: Is there a patch to make nvnet work ? | Date | Mon, 15 Sep 2003 20:34:16 +0200 |
| |
I find what is wrong in fact the link "build" in directory /lib/modules/2.6.0-test5-mm2/ pointed to "." so it can't work well ... I make it point to the right directoryn abd now, nvnet compil without problem
Does someone have the same problem with this link with kernel test5-mm2 ? I used Debian way (make-kpkg kernel-image) to compile it with clean sources which I take from kernel.org
Le Lundi 15 Septembre 2003 20:13, vous avez écrit : > The important thing is that you don't seem to have linux/modversions.h > available. This is included with every kernel so something is set up > wrong. There may be other errors but you need to this that one first. > > On Mon, 2003-09-15 at 09:33, jjluza wrote: > > I know this driver is closed-source and not supported, but with older > > kernel the 2.6-test5, it works with a patch which could be found here : > > http://penna.dyn.dhs.org/nvnet.2.5-1.diff > > It works until kernel 2.6-test4-mm4 for me > > But there is many changes in structures with 2.6-test5 > > Today, I try to compile test5-mm2 : it compiles well > > I started it and try to compile nvnet against it. > > The boot process work without problem. > > But when I try to compile it with the last patch, it complains about > > structures. > > So I would like to know if there is a new patch which works well with the > > new kernel structures ? > > > > thx > > > > > > PS : maybe I'm not very clear with my explanation, so here is the message > > when I run "make" : > > cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O > > -Wstrict-prototypes -DCONFIG_PM -fno-strict-aliasing > > -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 > > -DKBUILD_BASENAME=nvnet -DKBUILD_MODNAME=nvnet -fno-common -DMODULE > > -I/lib/ modules/2.6.0-test4-mm4/build/include > > -I/lib/modules/2.6.0-test4-mm4/build/ include/asm/mach-default nvnet.c > > In file included from nvnet.h:20, > > from nvnet.c:21: > > /usr/include/linux/module.h:21:34: linux/modversions.h: No such file or > > directory > > In file included from nvnet.c:21: > > nvnet.h:107: error: syntax error before "nvnet_interrupt" > > nvnet.h:107: warning: type defaults to `int' in declaration of > > `nvnet_interrupt' > > nvnet.h:107: warning: data definition has no type or storage class > > nvnet.c: In function `nvnet_open': > > nvnet.c:738: warning: passing arg 2 of `request_irq' from incompatible > > pointer type > > nvnet.c: At top level: > > nvnet.c:759: error: syntax error before "nvnet_interrupt" > > nvnet.c:760: warning: return type defaults to `int' > > nvnet.c: In function `nvnet_interrupt': > > nvnet.c:771: error: `IRQ_NONE' undeclared (first use in this function) > > nvnet.c:771: error: (Each undeclared identifier is reported only once > > nvnet.c:771: error: for each function it appears in.) > > nvnet.c:782: error: `IRQ_HANDLED' undeclared (first use in this function) > > nvnet.c: In function `nvnet_probe': > > nvnet.c:1135: warning: implicit declaration of function `SET_NETDEV_DEV' > > nvnet.c:1135: error: structure has no member named `dev' > > make: *** [nvnet.o] Error 1 > > > > - > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" > > in the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > Please read the FAQ at http://www.tux.org/lkml/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |