View previous topic :: View next topic |
Author |
Message |
lateralus01 Tux's lil' helper

Joined: 24 Jan 2008 Posts: 86
|
Posted: Wed Jul 02, 2008 12:20 pm Post subject: Is it possible to apply two kernel patches? |
|
|
I have two patches I need to apply:
linux-2.4.26-xbox.patch
openMosix-2.4.26-1
Applying either one without the other will compile no problem. However if I apply both (in either order) and try to compile I get this:
Code: |
Gentoo linux # make bzImage
gcc -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
In file included from /usr/src/linux-2.4.26/include/linux/capability.h:17,
from /usr/src/linux-2.4.26/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.26/include/linux/sched.h:9,
from /usr/src/linux-2.4.26/include/linux/mm.h:4,
from /usr/src/linux-2.4.26/include/linux/slab.h:14,
from /usr/src/linux-2.4.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.26/include/linux/fs.h:526: error: field `fatx_i' has incomplete type
make: *** [init/main.o] Error 1
|
Is there any way to apply both and still be able to compile?
Thanks,
Lateralus01 |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55158 Location: 56N 3W
|
Posted: Wed Jul 02, 2008 6:31 pm Post subject: |
|
|
lateralus01,
I suspect the second patch, whichever on it is, does not apply cleanly and you get one or more 'failed hunks'.
The fix is to apply both patches then look through the code and the failed hunks to see what the problem is.
You can then fix it by hand. This will require that you know some C code.
The worst that can happen is that the two patches change the same code in different incompatible ways.
When that happens, you need to rewrite one (or both) patches to be compatible. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
drwook Veteran

Joined: 30 Mar 2005 Posts: 1324 Location: London
|
Posted: Wed Jul 02, 2008 6:37 pm Post subject: |
|
|
Isn't openmosix long since dead?
[edit] Looks like it's retired but been forked http://linuxpmi.org/trac/ - might be worth a look for you. [/edit] |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|