Hello! I am Carlos,I want to compile 2.2.16 on my

debian-slink(2.0.x),I use the make-kpkg tool,it can

produce .deb package for kernel source,I have type 

the command "make-kpkg clean",it is equal the command

"make dep;make clean" ,I think so. Then I type 

"make-kpkg --revision=custom.1.0 kernel_image" But 

error message appear,my kernel source put in /usr/src/

linux/,I am login as "root" to compile it,I also have

check all my dependency package have "least" version 

be able to compile 2.2.16,the error mesg below:
#################################################
 dpkg (subprocess): failed to exec C compiler `': No such file or directory
dpkg: subprocess gcc --print-libgcc-file-name returned error exit status 2
find: /usr/src/modules: No such file or directory
test -f stamp-debian || make -f /usr/share/kernel-package/rules debian
test -f .config      || make -f /usr/share/kernel-package/rules .config
test ! -f stamp-configure \
  && make  CROSS_COMPILE= \
                                 ARCH= oldconfig \
          && make  CROSS_COMPILE= \
                                 ARCH= dep \
          && make  CROSS_COMPILE= \
                                 ARCH= clean && \
              touch stamp-configure
make[1]: Entering directory `/usr/src/linux'
Makefile:213: arch//Makefile: No such file or directory
make[1]: *** No rule to make target `arch//Makefile'.  Stop.
make[1]: Leaving directory `/usr/src/linux'
make: [stamp-configure] Error 2 (ignored)
test -f stamp-configure || make -f /usr/share/kernel-package/rules configure
dpkg (subprocess): failed to exec C compiler `': No such file or directory
dpkg: subprocess gcc --print-libgcc-file-name returned error exit status 2
find: /usr/src/modules: No such file or directory
make[1]: Entering directory `/usr/src/linux'
test -f stamp-debian || make -f /usr/share/kernel-package/rules debian
test -f .config      || make -f /usr/share/kernel-package/rules .config
test ! -f stamp-configure \
  && make  CROSS_COMPILE= \
                                 ARCH= oldconfig \
          && make  CROSS_COMPILE= \
                                 ARCH= dep \
          && make  CROSS_COMPILE= \
                                 ARCH= clean && \
              touch stamp-configure
make[2]: Entering directory `/usr/src/linux'
Makefile:213: arch//Makefile: No such file or directory
make[2]: *** No rule to make target `arch//Makefile'.  Stop.
make[2]: Leaving directory `/usr/src/linux'
make[1]: [stamp-configure] Error 2 (ignored)
make[1]: Leaving directory `/usr/src/linux'
make   ARCH=    \
                    CROSS_COMPILE= 
make[1]: Entering directory `/usr/src/linux'
Makefile:213: arch//Makefile: No such file or directory
make[1]: *** No rule to make target `arch//Makefile'.  Stop.
make[1]: Leaving directory `/usr/src/linux'
make: *** [stamp-build] Error 2
############################################
it say "arch//Makefile"can't find,I think correct ans 

may be "arch/i386/Makefile",but if I type command on 

my debian ,"uname -m",will appear "i686",is this a

problem?

and "/usr/src/modules: No such file or directory",why

it can't find the "/usr/src/linux/modules",do I need

to modify the top-level makefile in my kernel source 

tree?

"dpkg: subprocess gcc --print-libgcc-file-name returned error exit status 
2",and I also can't find

any error clues about my gcc 2.95-X, could anyone help 

me?

Any clues,thank you !



--------------------------------------------------------------------
[EMAIL PROTECTED]  http://mail.kimo.com.tw
< 網 路 生 活‧盡 在 奇 摩 >  http://www.kimo.com.tw


Reply via email to