[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: cannot link module as non root



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Once upon a time Sunday 25 April 2004 1:17 pm, Dennis Gilmore wrote:

>
> i have written a make file for the new ixj module and the main line you
> need to build the modules is
>
> make -C /lib/modules/`uname -r`/build SUBDIRS=/home/dennis/ixj-3.3.0
> modules
>
> which on execution takes me straight into the kerenl tree
>
> make[1]: Entering directory `/usr/src/linux-2.6.5-1.332'
>
> Maybe im just plain doing something wrong.  Please let me know if i am.

ok looking into the current makefile in /lib/modules/2.6.5-1.339/build  there 
is look sto use  a variable KBUILD_EXTMOD instead of the SUBDIRS  which does 
go to use /lib/modules/2.6.5-1.339/build  istead of source tree  however the 
problem remains you need write access in /lib/modules/2.6.5-1.339/build hence 
needing root privledges  or to change permissions on that part of the tree

new output as user

make -C /lib/modules/`uname -r`/build  modules
make[1]: Entering directory `/lib/modules/2.6.5-1.339/build'
  SPLIT   include/linux/autoconf.h -> include/config/*
touch: cannot touch `include/config/MARKER': Permission denied
make[1]: *** [include/config/MARKER] Error 1
make[1]: Leaving directory `/lib/modules/2.6.5-1.339/build'
make: *** [default] Error 2

Dennis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAizQtkSxm47BaWfcRAqJBAJ9kE8rSrSx6DTqRL4r/a2epl/a4NwCePkmM
R9aryZp/FTt1HOJnog8qbw8=
=DD3t
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]