Am Sonntag, 20. Juli 2003 20:09 schrieb Anne Wilson: > > Ok . > > > > # Change this to /usr/include if you get header file errors > > #INCLUDEDIR = /lib/modules/`uname -r`/build/include > > INCLUDEDIR = file:/usr/src/linux `uname -r`/build/include > > > > Well with this include dir everyone will have problems. Either you > > follow the suggestion or you use : > > INCLUDEDIR=/usr/src/linux/include > > I had tried editing this line while waiting for your reply, not got > got it exactly right - close, though <g> > > > If you get unresolved symbols after installing you may try > > > > CFLAGS = -D__KERNEL__ -DMODULE -DMODVERSIONS \ > > -DOUTSIDE_KERNEL -O2 -Wall -Wstrict-prototypes \ > > -fomit-frame-pointer -I$(INCLUDEDIR) \ > > -include $(INCLUDEDIR)/linux/modversions.h > > > > As CFLAGS > > So now I just get:
> > [EMAIL PROTECTED] ov511-1.65]$ make > gcc -c -D__KERNEL__ -DMODULE -DOUTSIDE_KERNEL -O2 -Wall > -Wstrict-prototypes -fomit-frame-pointer -I/usr/src/linux/include > -DEXPORT_SYMTAB ov511.c > gcc -c -D__KERNEL__ -DMODULE -DOUTSIDE_KERNEL -O2 -Wall > -Wstrict-prototypes -fomit-frame-pointer -I/usr/src/linux/include > ov511_decomp.c > gcc -c -D__KERNEL__ -DMODULE -DOUTSIDE_KERNEL -O2 -Wall > -Wstrict-prototypes -fomit-frame-pointer -I/usr/src/linux/include > ov518_decomp.c > [EMAIL PROTECTED] ov511-1.65]$ > > Does that mean that it compiled? Yep there are no errors so i guess it compiled fine. There should now be some ovxxx.o files. That or some of them are the kernelmodules. >From what I have read in the makefile an 'make install-2.4' should install it. > > Anne Steffen
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
