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

Bug#261776: kernel-headers-2.4.26-1-686: Missing Makefile



Package: kernel-headers-2.4.26-1-686
Version: 2.4.26-2
Severity: normal

I can't build modules correctly without it.

For example, if I link /usr/src/linux to kernel-headers-2.4.26-1-686,
then make-kpkg --rootcmd=fakeroot modules_images fails to build modules
(for example, thinkpad-source). If I link /usr/src/linux to
kernel-headers-2.4.26-1 (which has a Makefile), then I do get a .deb,
but it installs in /lib/modules/2.4.26-1 instead of
/lib/modules/2.4.26-1-686 where my kernel expects to find it. I found
that if I did this:

  mkdir /usr/src/linux
  cd /usr/src/linux
  ln -s ../kernel-headers-2.4.26-1-686/include
  ln -s ../kernel-headers-2.4.26-1/kernel-headers.revision
  ln -s ../kernel-headers-2.4.26-1/Makefile
  make-kpkg --rootcmd=fakeroot modules_image

I was able to build a .deb which installed the modules into the right
directory /lib/modules/2.4.26-1-686.

If the Makefile and presumably kernel-headers.revision file were already
there, I'd be golden.

Thanks!

p.s. If I'm doing something wrong, please let me know.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (600, 'testing'), (80, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-686
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to en_US)

Versions of packages kernel-headers-2.4.26-1-686 depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  fileutils                     5.2.1-2    The GNU file management utilities 
ii  kernel-headers-2.4.26-1       2.4.26-2   Header files related to Linux kern

-- no debconf information

-- 
Bill Wohler <wohler@newt.com>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.



Reply to: