View Single Post
  #7  
Old 23rd January 2007, 03:40
rupertg rupertg is offline
Junior Member
 
Join Date: Jan 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi there.

I'm getting exactly the same problem trying to compile 2.6.19.2 under Ubuntu 6.10.

Code:
 ls -la /usr/src/linux/
gives

Code:
total 444
drwxr-xr-x 20 root root  4096 2007-01-23 02:19 .
drwxrwsr-x  7 root src   4096 2007-01-23 02:16 ..
drwxr-xr-x 27 root root  4096 2007-01-10 19:10 arch
drwxr-xr-x  2 root root  4096 2007-01-10 19:10 block
-rw-r--r--  1 root root 75481 2007-01-23 02:17 .config
-rw-r--r--  1 root root 18693 2007-01-10 19:10 COPYING
-rw-r--r--  1 root root 90307 2007-01-10 19:10 CREDITS
drwxr-xr-x  2 root root  4096 2007-01-10 19:10 crypto
drwxr-xr-x 10 root root  4096 2007-01-23 02:19 debian
drwxr-xr-x 59 root root  4096 2007-01-10 19:10 Documentation
drwxr-xr-x 62 root root  4096 2007-01-10 19:10 drivers
drwxr-xr-x 63 root root  4096 2007-01-10 19:10 fs
-rw-r--r--  1 root root   547 2007-01-10 19:10 .gitignore
drwxr-xr-x 43 root root  4096 2007-01-23 02:19 include
drwxr-xr-x  2 root root  4096 2007-01-10 19:10 init
drwxr-xr-x  2 root root  4096 2007-01-10 19:10 ipc
-rw-r--r--  1 root root  1262 2007-01-10 19:10 Kbuild
drwxr-xr-x  5 root root  4096 2007-01-10 19:10 kernel
drwxr-xr-x  5 root root  4096 2007-01-10 19:10 lib
-rw-r--r--  1 root root 75926 2007-01-10 19:10 MAINTAINERS
-rw-r--r--  1 root root 50186 2007-01-10 19:10 Makefile
drwxr-xr-x  2 root root  4096 2007-01-10 19:10 mm
drwxr-xr-x 37 root root  4096 2007-01-10 19:10 net
-rw-r--r--  1 root root 16538 2007-01-10 19:10 README
-rw-r--r--  1 root root  3065 2007-01-10 19:10 REPORTING-BUGS
drwxr-xr-x  9 root root  4096 2007-01-10 19:10 scripts
drwxr-xr-x  4 root root  4096 2007-01-10 19:10 security
drwxr-xr-x 17 root root  4096 2007-01-10 19:10 sound
drwxr-xr-x  2 root root  4096 2007-01-10 19:10 usr
and

Code:
ls -la /usr/src/
gives

Code:
total 42700
drwxrwsr-x  7 root src      4096 2007-01-23 02:16 .
drwxr-xr-x 13 root root     4096 2007-01-14 20:52 ..
drwxr-sr-x  2 root src      4096 2007-01-14 18:48 ati
-rw-r--r--  1 root src    235550 2007-01-14 23:03 fglrx-kernel-2.6.17-10-generic_8.32.5-1+2.6.17.1-10.34_i386.deb
-rw-rw-r--  1 root root   669815 2007-01-14 18:37 fglrx.tar.bz2
lrwxrwxrwx  1 root src        14 2007-01-23 02:16 linux -> linux-2.6.19.2
drwxr-xr-x 20 root root     4096 2007-01-23 02:19 linux-2.6.19.2
-rw-r--r--  1 root src  42729366 2007-01-10 19:50 linux-2.6.19.2.tar.bz2
drwxr-xr-x 19 root root     4096 2007-01-08 20:08 linux-headers-2.6.17-10
drwxr-xr-x  4 root root     4096 2007-01-23 01:51 linux-headers-2.6.17-10-generic
drwxr-xr-x  3 root src      4096 2007-01-14 18:37 modules
The other three commands gave no errors. make-kpgk is rather noisy, though, so it might be complaining in ways I don't understand. Here's the output from that...

Code:
root@rupert-laptop:/usr/src/linux# make-kpkg clean
exec debian/rules  DEBIAN_REVISION=5:10.Custom  clean 

====== making target CLN-common [new prereqs: testdir]======

====== making target CLN-common [new prereqs: ]======
/usr/bin/make -f ./debian/rules real_stamp_clean
make[1]: Entering directory `/usr/src/linux-2.6.19.2'
====== making target real_stamp_clean [new prereqs: ]======
running clean
test ! -f .config  || cp -pf .config config.precious
test ! -f Makefile || \
            /usr/bin/make    ARCH=i386 distclean
make[2]: Entering directory `/usr/src/linux-2.6.19.2'
  CLEAN   scripts/basic
  CLEAN   scripts/kconfig
  CLEAN   /usr/src/linux-2.6.19.2/debian/
  CLEAN   include/config
  CLEAN   .config include/linux/autoconf.h
make[2]: Leaving directory `/usr/src/linux-2.6.19.2'
test ! -f config.precious || mv -f config.precious .config
test ! -f stamp-patch || /usr/bin/make -f ./debian/rules unpatch_now
test -f stamp-building || test -f debian/official || rm -rf debian
# work around idiocy in recent kernel versions
test ! -e scripts/package/builddeb.dist || \
            mv -f scripts/package/builddeb.dist scripts/package/builddeb
test ! -e scripts/package/Makefile.dist || \
            mv -f scripts/package/Makefile.dist scripts/package/Makefile
rm -f modules/modversions.h modules/ksyms.ver debian/files conf.vars scripts/cramfs/cramfsck scripts/cramfs/mkcramfs applied_patches debian/buildinfo stamp-build stamp-configure stamp-image stamp-headers stamp-src stamp-diff stamp-doc stamp-manual stamp-patch stamp-buildpackage stamp-debian stamp-arch-conf stamp-indep-conf stamp-configure-arch stamp-configure-indep stamp-configure stamp-arch-build stamp-indep-build stamp-build-arch stamp-build-indep stamp-build stamp-arch-inst stamp-indep-inst stamp-install stamp-install-arch stamp-install-indep stamp-arch-bin stamp-indep-bin stamp-binary stamp-binary-arch stamp-binary-indep debian/stamp-kernel-conf debian/stamp-prepare stamp-patch debian/stamp-conf stamp-debian debian/stamp-build-kernel stamp-buildpackage stamp-kernel-source stamp-kernel-manual stamp-kernel-doc stamp-kernel-headers stamp-kernel-image
rm -rf  /usr/src/linux/debian/tmp_man
make[1]: Leaving directory `/usr/src/linux-2.6.19.2'
====== making target CLN-indep [new prereqs: CLN-common]======

====== making target CLEAN/linux-source-2.6.19.2-rutest [new prereqs: CLN-indep]======

====== making target CLEAN/linux-doc-2.6.19.2-rutest [new prereqs: CLN-indep]======

====== making target CLEAN/linux-manual-2.6.19.2-rutest [new prereqs: CLN-indep]======

====== making target clean-indep [new prereqs: linux-source-2.6.19.2-rutest linux-doc-2.6.19.2-rutest linux-manual-2.6.19.2-rutest]======
====== making target CLN-arch [new prereqs: CLN-common]======

====== making target CLEAN/linux-headers-2.6.19.2-rutest [new prereqs: CLN-arch]======

====== making target CLEAN/linux-image-2.6.19.2-rutest [new prereqs: CLN-arch]======

====== making target CLEAN/linux-uml-2.6.19.2-rutest [new prereqs: CLN-arch]======

====== making target CLEAN/linux-image-xen0-2.6.19.2-rutest [new prereqs: CLN-arch]======

====== making target CLEAN/linux-image-xenu-2.6.19.2-rutest [new prereqs: CLN-arch]======

====== making target CLEAN/linux-image-kdump [new prereqs: CLN-arch]======

====== making target clean-arch [new prereqs: linux-headers-2.6.19.2-rutest linux-image-2.6.19.2-rutest linux-uml-2.6.19.2-rutest linux-image-xen0-2.6.19.2-rutest linux-image-xenu-2.6.19.2-rutest linux-image-kdump]======
====== making target stamp-clean [new prereqs: clean-indep clean-arch]======

rm -f  modules/modversions.h modules/ksyms.ver debian/files conf.vars scripts/cramfs/cramfsck scripts/cramfs/mkcramfs applied_patches debian/buildinfo stamp-build stamp-configure stamp-image stamp-headers stamp-src stamp-diff stamp-doc stamp-manual stamp-patch stamp-buildpackage stamp-debian stamp-arch-conf stamp-indep-conf stamp-configure-arch stamp-configure-indep stamp-configure stamp-arch-build stamp-indep-build stamp-build-arch stamp-build-indep stamp-build stamp-arch-inst stamp-indep-inst stamp-install stamp-install-arch stamp-install-indep stamp-arch-bin stamp-indep-bin stamp-binary stamp-binary-arch stamp-binary-indep debian/stamp-kernel-conf debian/stamp-prepare stamp-patch debian/stamp-conf stamp-debian debian/stamp-build-kernel stamp-buildpackage stamp-kernel-source stamp-kernel-manual stamp-kernel-doc stamp-kernel-headers stamp-kernel-image
rm -rf  /usr/src/linux/debian/tmp_man
rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~'     \
                 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig'              \
                 -o -name '.*.rej' -o -name '.SUMS' -o -size 0 \) -print` TAGS
====== making target clean [new prereqs: stamp-clean]======
And I might as well give you the output from the final, failed recompile!

Code:
root@rupert-laptop:/usr/src/linux# fakeroot make-kpkg --initrd --append-to-version=-rutest
exec make -f /usr/share/kernel-package/ruleset/minimal.mk debian APPEND_TO_VERSION=-rutest  INITRD=YES 
====== making target minimal_debian [new prereqs: ]======
This is kernel package version .
test -d debian || mkdir debian
test ! -e stamp-building || rm -f stamp-building
test -f debian/control || sed         -e 's/=V/2.6.19.2-rutest/g'        \
                -e 's/=D/2.6.19.2-rutest-10.00.Custom/g'         -e 's/=A/i386/g'  \
                -e 's/=SA//g'   -e 's/=L/ /g' \
                -e 's/=I//g'                                    \
                -e 's/=CV/2.6/g'                       \
                -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g'                        \
                -e 's/=ST/linux/g'      -e 's/=B/i386/g'    \
                         /usr/share/kernel-package/Control > debian/control
test -f debian/changelog ||  sed -e 's/=V/2.6.19.2-rutest/g'             \
            -e 's/=D/2.6.19.2-rutest-10.00.Custom/g'        -e 's/=A/i386/g'       \
            -e 's/=ST/linux/g'     -e 's/=B/i386/g'         \
            -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g'                             \
             /usr/share/kernel-package/changelog > debian/changelog
install -p -m 755 /usr/share/kernel-package/rules debian/rules
for file in ChangeLog  Control  Control.bin86 config templates.in rules; do                                      \
            cp -f  /usr/share/kernel-package/$file ./debian/;                               \
        done
for dir  in Config docs examples ruleset scripts pkg po;  do                                      \
          cp -af /usr/share/kernel-package/$dir  ./debian/;                                 \
        done
test -d ./debian/stamps || mkdir debian/stamps 
exec debian/rules  APPEND_TO_VERSION=-rutest  INITRD=YES  
nothing to be done.
root@rupert-laptop:/usr/src/linux#
Any help much appreciated

Rupert
Reply With Quote