unable to compile kernel module on 2.6.25-2-powerpc64-smp

Bug #330266 reported by blarg
4
Affects Status Importance Assigned to Milestone
linux-ports (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

Revision history for this message
blarg (tgotelnet) wrote :

bump please

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.