Public bug reported:

Binary package hint: linux-headers-2.6.25-2-powerpc64-smp

On my ps3 running ubuntu, I installed linux-
headers-2.6.25-2-powerpc64-smp which also installed linux-ports-
headers-2.6.25-2 and after the installation attempted to compile a
custom kernel module I use for my project and cannot get it to compile
at all.

With the package provided setup after typing 'make' I get:

make -C /lib/modules/2.6.25-2-powerpc64-smp/build M=/home/nssal/mod modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.25-2-powerpc64-smp'
make[1]: Makefile: No such file or directory
make[1]: *** No rule to make target `Makefile'.  Stop.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.25-2-powerpc64-smp'
make: *** [all] Error 2

I then looked around and noticed that inside /usr/src/linux-ports-
headers-2.6.25-2 there was a Makefile and what appeared to be valid
header file, so I symlinked build to this directory, but Make complained
that the headers did not match the compiled kernel etc so it would
compile this way either. This same approach, installing linux-headers
-<kernel-version> has allowed me to run my kernel module on ubuntu x86
and x86_64 across many kernels, but I cannot get a kernel module to
compile at all on the ps3.

required info:

#sb_release -rd
Description:    Ubuntu 8.10
Release:        8.10

#apt-cache policy linux-headers-2.6.25-2-powerpc64-smp
linux-headers-2.6.25-2-powerpc64-smp:
  Installed: 2.6.25-2.3
  Candidate: 2.6.25-2.3
  Version table:
 *** 2.6.25-2.3 0
        500 http://ports.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

#uname -a
Linux nsl-ps3 2.6.25-2-powerpc64-smp #1 SMP Tue Sep 30 16:40:22 UTC 2008 ppc64 
GNU/Linux

** Affects: linux-ports (Ubuntu)
     Importance: Undecided
         Status: New

-- 
unable to compile kernel module on 2.6.25-2-powerpc64-smp 
https://bugs.launchpad.net/bugs/330266
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to