Package: mol-modules-source
Version: 0.9.70-17
Severity: normal

I tried to compile my linux kernel with mol modules, but I found that in
a fakeroot environment it failed. I didn't payed too much attention to
it as the mol drivers were a non-critical issue, but I thought of using
them at a later time.

I am using for kernel compilation kernel-package (make-kpkg) in a folder
in my home directory.



After some attempts I have reached to the point that I think that I am
doing everything right while the modules still do not compile.

Error messages during module build attempt follow:

--------------------------------------------------------------------
[EMAIL PROTECTED]:~/debian_work/packages/new/kernel/kernel-source-2.6.9$
fakeroot
[EMAIL PROTECTED]:~/debian_work/packages/new/kernel/kernel-source-2.6.9#
make-kpkg --revision 13 --append-to-version -sleep-pbg4 modules
for module in /usr/src/modules/mol ; do                       \
          if test -d  $module; then                                \
    (cd $module;                                          \
              if ./debian/rules KVERS="2.6.9-sleep-pbg4"
KSRC="/home/eddy/debian_work/packages/new/kernel/kernel-source-2.6.9" \
                             KMAINT="Unknown Kernel Package Maintainer"
KEMAIL="[EMAIL PROTECTED]"      \
                             
KPKG_DEST_DIR="/home/eddy/debian_work/packages/new/kernel/kernel-source-2.6.9/.."
\
                             KPKG_MAINTAINER="Unknown Kernel Package
Maintainer"        \
                             ARCH=ppc                    \
                             KPKG_EXTRAV_ARG="EXTRAVERSION=-sleep-pbg4"
\
                             KDREV="13" kdist; then          \
                  echo "Module $module processed fine";            \
              else                                                  \
                   echo "Module $module failed.";                  \
                   if [ "X" != "X" ]; then      \
                      echo "Perhaps $module does not understand
--rootcmd?";  \
                      echo "If you see messages that indicate that it is
not"; \
                      echo "in fact being built as root, please file a
bug ";  \
                      echo "against $module.";                     \
                   fi;                                              \
                   echo "Hit return to Continue?";                  \
         read ans;                                        \
              fi;                                                   \
     );                                                    \
  fi;                                                      \
        done
make[1]: Entering directory `/usr/src/modules/mol'
dh_testdir
/usr/bin/make
make[2]: Entering directory `/usr/src/modules/mol'
/usr/bin/make -C src/kmod
make[3]: Entering directory `/usr/src/modules/mol/src/kmod'
+ Entering Linux
mkdir: cannot create directory `../build': Permission denied
make[4]: *** [make-relbuild] Error 1
make[3]: *** [sub-Linux-all] Error 2
make[3]: Leaving directory `/usr/src/modules/mol/src/kmod'
make[2]: [src/kmod] Error 2 (ignored)
/usr/bin/make -C src/netdriver
make[3]: Entering directory `/usr/src/modules/mol/src/netdriver'
mkdir: cannot create directory `build': Permission denied
make[3]: *** [setup-tree-common] Error 1
make[3]: Leaving directory `/usr/src/modules/mol/src/netdriver'
make[2]: [src/netdriver] Error 2 (ignored)
make[2]: Leaving directory `/usr/src/modules/mol'
touch build-stamp
touch: cannot touch `build-stamp': Permission denied
make[1]: *** [build-stamp] Error 1
make[1]: Leaving directory `/usr/src/modules/mol'
Module /usr/src/modules/mol failed.
Hit return to Continue?



-----------------------------------------------------------------------

After this point It gets back to the bash prompt and there is no mol
driver generated, of course.

As the messages suggest, make is trying to work with the mol drivers at
/usr/src/modules/mol, which is defenetly wrong.




-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.9-sleep-pbg4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mol-modules-source depends on:
ii  gcc                         4:3.3.5-3    The GNU C compiler
ii  libc6-dev                   2.3.2.ds1-21 GNU C Library: Development Librari
ii  make                        3.80-9       The GNU version of the "make" util

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to