lkml.org 
[lkml]   [2003]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: HOWTO build modules in 2.6.0 ...
    On Mon, Nov 17, 2003 at 08:00:50PM +0100, Wojciech 'Sas' Cieciwa wrote:
    >
    > Hi,
    >
    > How can I build kernel modele from other package without root, or copying
    > all from /usr/scr/linux/ ??
    > When I try build kernel module from user i got error,
    >
    > [...]
    > make[1]: Leaving directory `/users/cieciwa/rpm/BUILD/eagle-1.0.4/driver'
    > /usr/bin/make -C /usr/src/linux SUBDIRS=`pwd` modules;
    > make[1]: Entering directory `/usr/src/linux-2.6.0'
    > HOSTCC scripts/fixdep
    > cc1: Permission denied: opening dependency file scripts/.fixdep.d

    Hi Sas.
    What you really need is the possibility to specify an alternate location
    for output files.

    Use the following:
    make -C /usr/src/linux SUBDIRS=`pwd` O=/users/cieciwa/rpm/BUILD/eagle-1.0.4/linux modules

    O=/users/cieciwa/rpm/BUILD/eagle-1.0.4/linux
    tell kbuild to locate all files in the specified directory, which must exist.
    This is also the location of .config, so make sure to copy that one over.

    Sam
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:58    [W:0.023 / U:0.228 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site