Am Sonntag, 20. Juli 2003 18:55 schrieb Anne Wilson:
> On Sunday 20 Jul 2003 4:37 pm, Steffen Barszus wrote:
> > Am Sonntag, 20. Juli 2003 17:00 schrieb Anne Wilson:
> > > I'm trying to follow instructions to install a new ov511 driver,
> > > as there is a problem with the one included in 9.1.  I'm
> > > extremely green at this.  I'm getting errors referencing include
> > > files, and I know I have to edit the Makefile to show the correct
> > > path to the kernel source - but where are the kernel source
> > > files? I'm fairly sure that they are installed.
> > >
> > > Anne
> >
> > /usr/src/linux-2.4.21..../  with a link to /usr/src/linux/
>
> Well, the reason I couldn't find it, is that it wasn't installed.  It
> is now.
>
> All is not well, though, and I don't know where to start with such a
> big error output.  Can someone point me in the right direction,
> please?
>
> Error file and Makefile attached.
>
> Anne


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

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


HTH

Steffen



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to