gtk linux 升级_- -鉴于GTK升级的编译上的各种无语~

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

or "make mandocs" will render the documentation in the requested format.

INSTALLING the kernel source:

- If you install the full sources, put the kernel tarball in a

directory where you have permissions (eg. your home directory) and

unpack it:

gzip -cd linux-3.X.tar.gz | tar xvf -

or

bzip2 -dc linux-3.X.tar.bz2 | tar xvf -

Replace "X" with the version number of the latest kernel.

Do NOT use the /usr/src/linux area! This area has a (usually

incomplete) set of kernel headers that are used by the library header

files. They should match the library, and not get messed up by

whatever the kernel-du-jour happens to be.

- You can also upgrade between 3.x releases by patching. Patches are

distributed in the traditional gzip and the newer bzip2 format. To

install by patching, get all the newer patch files, enter the

top level directory of the kernel source (linux-3.X) and execute:

gzip -cd ../patch-3.x.gz | patch -p1

or

bzip2 -dc ../patch-3.x.bz2 | patch -p1

Replace "x" for all versions bigger than the version "X" of your current

source tree, _in_order_, and you should be ok. You may want to remove

the backup files (some-file-name~ or some-file-name.orig), and make sure

that there are no failed patches (some-file-name# or some-file-name.rej).

If there are, either you or I have made a mistake.

Unlike patches for the 3.x kernels, patches for the 3.x.y kernels

(also known as the -stable kernels) are not incremental but instead apply

directly to the base 3.x kernel. For example, if your base kernel is 3.0

and you want to apply the 3.0.3 patch, you must not first apply the 3.0.1

and 3.0.2 patches. Similarly, if you are running kernel version 3.0.2 and

want to jump to 3.0.3, you must first reverse the 3.0.2 patch (that is,

patch -R) _before_ applying the 3.0.3 patch. You can read more on this in

Documentation/applying-patches.txt

Alternatively, the script patch-kernel can be used to automate this

process. It determines the current kernel version and applies any

patches found.

linux/scripts/patch-kernel linux

The first argument in the command above is the location of the

kernel source. Patches are applied from the current directory, but

an alternative directory can be specified as the second argument.

- Make sure you have no stale .o files and dependencies lying around:

cd linux

make mrproper

You should now have the sources correctly installed.

SOFTWARE REQUIREMENTS

Compiling and running the 3.x kernels requires up-to-date

versions of various software packages. Consult

Documentation/Changes for the minimum version numbers required

and how to get updates for these packages. Beware that using

excessively old versions of these packages can cause indirect

errors that are very difficult to track down, so don't assume that

you can just update packages when obvious problems arise during

build or operation.

BUILD directory for the kernel:

When compiling the kernel, all output files will per default be

stored together with the kernel source code.

Using the option "make O=output/dir" allow you to specify an alternate

place for the output files (including .config).

Example:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值