Kernel 2.6.19 的错误解决

解决方法:http://marc.theaimsgroup.com/?l=gent…8561309433&w=2

关于Gentoo不管emerge 什么都会出现

——————– ACCESS VIOLATION SUMMARY ——————– 
                                           LOG FILE

"/var/log/sandbox/sandbox-app-misc_-_lirc-0.8.0-r6-8905.log"
open_wr: /usr/src/linux-2.6.19-gentoo/astest13467.out
open_wr: /usr/src/linux-2.6.19-gentoo/astest13471.out
open_wr: /usr/src/linux-2.6.19-gentoo/astest13478.out
open_wr: /usr/src/linux-2.6.19-gentoo/astest13482.out

字样。

是因为新版本kernels 和 portage的冲突。只要修改
linux-2.6.19/scripts/Kbuild.include

从第69行开始:-
as-instr = $(shell if echo -e "$(1)" | $(AS) >/dev/null 2>&1 -W -Z -o astest$$$$.out ;
then echo "$(2)"; else echo "$(3)"; fi;
rm -f astest$$$$.out

修改成:-
as-instr = $(shell if echo -e "$(1)" | $(AS) >/dev/null 2>&1 -W -Z -o /dev/null ;
then echo "$(2)"; else echo "$(3)"; fi)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s