Re: more install problems
On Wed, Jul 30, 2003 at 01:27:26PM +0100, Richard Lyons wrote:
> On Wednesday 30 July 2003 11:16, Antony Gelberg wrote:
>
> > > [...]
> > >
> > > > > In para. 1. there is no directory like
> > > > > /usr/src/linux/pcmcia-cs-3.0.9/include/ - I cannot find any
> > > > > *pcmcia*/include/. What should I do here?
> [...]
> > > So I'm guessing I need first to install a further package from
> > > the Woody distibution cds in order to create and populate the
> > > 'linux' branch of the tree. Any idea what package?
> >
> > You need the kernel header files. Try apt-cache search
> > kernel-headers and grab the one that goes with your kernel.
> > They'll go in /usr/src/<somedir>, create the symlink between that
> > and /usr/src/linux.
>
> Thanks, Antony - so far so good. I've installed the kernel headers,
> and simlinked. But no pcmcia* subdirectory. There is a
> /usr/src/linux/include/pcmcia/ with 14 *.h files in it. I assumed
> that must be the kind of thing it needs, particularly as one of them
> (driver_ops.h) is named in an #include in rtl8319.c. So I altered
> the command the manufacturer gave to
> "gcc -DCARDBUS -DMODULE -D__KERNEL__ -Wall
> -Wstrict-prototypes -O6 -c rtl8139.c -o realtek_cb.o
> -I/usr/src/linux/include/"
>
> But a lot of error messages flashed by too fast for me to read them,
> and no output file was created. Can I slow down the error messages,
> or do anything further before abandoning this?
Use script. man script for details. Basically it's like a wrapper that
records everything on your terminal between typing script and doing a
Ctrl-d.
But, as was pointed out earlier, you _could_ try modprobe 8139too.
Don't know why I didn't think of that, I guess I didn't really pay
attention to the file names. If that works - no need to compile
anything!
Antony
Reply to: