QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 557|回复: 1

编译linux-2.6.6时出现如下错误:

[复制链接]
发表于 2004-5-31 22:11:19 | 显示全部楼层 |阅读模式
在编译2.6.6的内核时,出现如下错误,不知这是什么原因?
arch/i386/kernel/entry.s: Assembler messages:
arch/i386/kernel/entry.s:91: Error: junk at end of line, first unrecognized char acter is `\'
arch/i386/kernel/entry.s:92: Error: junk at end of line, first unrecognized char acter is `\'
arch/i386/kernel/entry.s:93: Error: junk at end of line, first unrecognized char acter is `\'
arch/i386/kernel/entry.s:94: Error: junk at end of line, first unrecognized char acter is `\'
arch/i386/kernel/entry.s:95: Error: junk at end of line, first unrecognized char acter is `\'
arch/i386/kernel/entry.s:96: Error: junk at end of line, first unrecognized char acter is `\'
arch/i386/kernel/entry.s:97: Error: junk at end of line, first unrecognized char acter is `\'
arch/i386/kernel/entry.s:98: Error: junk at end of line, first unrecognized char acter is `\'
arch/i386/kernel/entry.s:99: Error: junk at end of line, first unrecognized char acter is `\'
arch/i386/kernel/entry.s:100: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:101: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:102: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:106: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:107: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:108: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:109: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:110: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:111: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:115: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:115: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:116: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:117: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:118: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:119: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:120: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:121: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:122: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:123: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:124: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:125: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:126: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:127: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:132: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:133: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:134: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:135: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:136: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:137: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:138: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:139: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:140: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:141: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:142: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:143: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:144: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:145: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:150: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:154: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:165: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:172: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:176: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:183: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:186: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:198: Error: no such instruction: `align'
arch/i386/kernel/entry.s:200: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:202: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:207: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:218: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:239: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:262: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:263: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:283: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:285: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:286: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:303: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:306: Error: no such instruction: `align'
arch/i386/kernel/entry.s:332: Error: no such instruction: `align'
arch/i386/kernel/entry.s:343: Error: no such instruction: `align'
arch/i386/kernel/entry.s:355: Error: no such instruction: `align'
arch/i386/kernel/entry.s:366: Error: no such instruction: `align'
arch/i386/kernel/entry.s:369: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:370: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:374: Error: no such instruction: `align'
arch/i386/kernel/entry.s:384: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:388: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:389: Error: bad or irreducible absolute expression
arch/i386/kernel/entry.s:399: Error: no such instruction: `align'
arch/i386/kernel/entry.s:401: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:406: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:407: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:408: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:409: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:415: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:418: Error: no such instruction: `align'
arch/i386/kernel/entry.s:446: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:451: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:456: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:458: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:462: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:485: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:486: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:487: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:488: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:489: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:490: Error: junk at end of line, first unrecognized cha racter is `\'
arch/i386/kernel/entry.s:493: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:496: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:510: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:526: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:532: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:535: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:545: Error: invalid character '_' in mnemonic
arch/i386/kernel/entry.s:548: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:553: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:558: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:563: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:568: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:573: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:577: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:581: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:585: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:589: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:593: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:598: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:604: Error: invalid character '(' in mnemonic
arch/i386/kernel/entry.s:610: Error: invalid character '(' in mnemonic
make[1]: *** [arch/i386/kernel/entry.o] ?? 1
make: *** [arch/i386/kernel] 错误 2
发表于 2004-5-31 22:55:44 | 显示全部楼层
cat 一下 arch/i386/kernel/entry.S 看看91行后是不是垃圾,如果不是,说明你的as有问题,执行 as -v看一下。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-16 22:33 , Processed in 0.092394 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表