LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   patching kernel source. (https://www.linuxquestions.org/questions/linux-newbie-8/patching-kernel-source-4175472244/)

stratotak 08-05-2013 05:11 PM

patching kernel source.
 
Im trying to patch kernel source with RT patch.following this tut..
http://wiki.linuxaudio.org/wiki/system_configuration

I have source in home directory and downloaded RT patch and extracted it and placed it in source folder.When I run patch command it says it cant find file with that name.This is command tut says to run ..

patch -p1 -i ../linux-patch-3.x-rt.patch

When I run it I get this..

Code:

strat@Neo7:~/linux-source-3.10$ ls
arch          drivers  Kconfig      net                        scripts
block          fs      kernel      patch-3.10.4-rt1.patch      security
COPYING        include  lib          patch-3.10.4-rt1.patch.bz2  sound
CREDITS        init    MAINTAINERS  README                      tools
crypto        ipc      Makefile    REPORTING-BUGS              usr
Documentation  Kbuild  mm          samples                    virt
strat@Neo7:~/linux-source-3.10$ patch -p1 -i ../patch-3.10.4-rt1.patch
patch: **** Can't open patch file ../patch-3.10.4-rt1.patch : No such file or directory
strat@Neo7:~/linux-source-3.10$


What am I doing wrong?

jailbait 08-05-2013 05:23 PM

I think that you have one too many periods in the command. Try:

patch -p1 -i ./linux-patch-3.x-rt.patch

----------------------
Steve Stites

stratotak 08-05-2013 05:34 PM

That was it.I copied command exactly like the tut showed but dude who wrote must have been period happy or something....

stratotak 08-05-2013 06:16 PM

Anyone have a idea what this error means and how to fix it.I ran make deb-pkg and aftwe awhile I got this..

Code:

fs/aufs/i_op.c: In function ‘au_pin_hdir_set_owner’:
fs/aufs/i_op.c:428:28: error: ‘struct mutex’ has no member named ‘owner’
make[4]: *** [fs/aufs/i_op.o] Error 1
make[3]: *** [fs/aufs] Error 2
make[2]: *** [fs] Error 2
make[1]: *** [deb-pkg] Error 2
make: *** [deb-pkg] Error 2
strat@Neo7:~/linux-source-3.10$



All times are GMT -5. The time now is 09:49 PM.