Re: more install problems

From: Antony Gelberg (antony_at_antgel.co.uk)
Date: 07/30/03

  • Next message: Adam Bogacki: "bboxconf ?"
    Date: Wed, 30 Jul 2003 11:16:52 +0100
    To: debian-user@lists.debian.org
    
    

    On Wed, Jul 30, 2003 at 09:26:27AM +0100, Richard Lyons wrote:
    > On Wednesday 30 July 2003 02:29, Antony Gelberg wrote:
    > > On Wed, Jul 30, 2003 at 02:20:47AM +0100, Richard Lyons wrote:
    > [...detailed install instructions cut...]
    > > > 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?
    > >
    > > I'm no pcmcia guru, but try /usr/src/linux/include/pcmcia. Or
    > > /usr/src/linux/drivers/pcmcia.
    >
    > The tree Debian installed is:
    >
    > /usr/src/rpm/BUILD [empty]
    > RPMS/athlon [empty]
    > i386 [empty]
    > i486 [empty]
    > i586 [empty]
    > i686 [empty]
    > noarch [empty]
    > SOURCES [empty]
    > SPECS [empty]
    > SRPMS [empty]
    >
    > 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.

    >
    > RPMS? sounds like RH??

    Yes. Now I'm confused.

    >
    > [...]
    > > > #include "kern_compat.h"
    > [...]
    > >
    > > No point in copying it, it will be used in the compilation. The #
    > > means that that line is dealt with by the C preprocessor.
    > > Effectively before compiling that file, it will include the
    > > contents of kern_compat.h in it, to benefit from it's declarations.
    > >
    > > This is basically to avoid having everything in one file, and to
    > > enable files to share declarations.
    >
    > So I _do_ need this file (kern_compat.h) to be in the directory to
    > which I have copied the rtl8139.c which I need to compile.

    Yes, otherwise how could it #include the contents?

    Antony

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Adam Bogacki: "bboxconf ?"

    Relevant Pages

    • Re: pros/cons of installing from source
      ... Debian supply both optimised kernels and to a lesser degree ... Doing a full emerge of the kernel source (inside the ... really required and what is not for a package (this requires the most ... soon as it stopped compiling and installing. ...
      (Debian-User)
    • Re: kernel headers from vanilla kernel compilation
      ... package and a kernel-headers package which are be installed. ... But when compiling the a vanilla kernel, there are no instructions in the readme file on how to install the headers. ...
      (comp.os.linux.misc)
    • Re: How to use kernel-2.6.6-1.435.src.rpm
      ... Untarring, patching, configuring, compiling, ... if you just want to build a new kernel from source the package ... The kernel-*.src.rpm is meant for building a binary kernel package. ...
      (Fedora)
    • Re: How to properly compile a kernel?
      ... violation if it would be by intent. ... including them in the kernel package would break teh GPL for example ... ... scheduler strategy by only compiling additional modules. ...
      (Ubuntu)
    • [PATCH 1/2] kbuil: add deb-pkg target
      ... # To prepare kbuild for more kernel packaging formats move all packaging ... # In top-level Makefile introduce generic support for all package ... Included the old rpm target for backward ... # and builddeb scripts. ...
      (Linux-Kernel)