论坛风格切换切换到宽版
  • 1416阅读
  • 7回复

[问题求助][RedHat] asm是什么东西?编译的时候说找不到?? [复制链接]

上一主题 下一主题
离线sharpgun.
 
发帖
2091
C币
-61352
威望
408
贡献值
1
银元
-2
铜钱
4672
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
我的笔记本最近安装了linux,但我的broa.dcom 440网卡一直驱动不起来,下载后的驱动文件解压后有以下几个文件.:.
b44.4 b4.4.c b44.h LICENSE Makefile这五个文件,但make.的时候其中有提示出错:           建材
gcc -DMODULE -D__KERNEL__ -Wa.ll -Wstrict-prototypes -I/lib/modules/2.4.20-8/bui.ld/in.clude  -DOLD_NETIF -DOLD_DMA -DOLD_MALLOC -DNO_DMA_MAPPING_ERROR -O2   -.c -o b44.o b44.c学习
In file included from /usr/include/l.inux./fs.h:23,            杀毒
                 from /usr./include/linux/.capability.h:17,服务器
                 from /us.r/include/linux/bin.fmts.h:5,.
..                from /usr/include/linux/sched.h:9,.
                 from /u.sr/include/linux/d.elay.h:12,            杀毒
            .     from b44.c:32.:           女人
/usr/inclu.de/linux/string.h:8:2: warning: #warning Using ke.rnel header. in userland![成人用品]
In file included from /usr/i.nclude/linux/sched.h:14.,.
                . from ./usr/include/linux/delay.h:12,电影
      .        .   from b44.c:32:健康
/us..r/include/linux/timex.h:173: field `time' has incomplete type           女人
In file included fr.o.m /usr/include/linux/bitops.h:69,             电子
    .             from /usr/include/asm/system..h:7,             汽车
                 from /usr/incl.ude/linux/.sched.h:16,[成人用品]
         .        from /usr/include/.linux/delay.h:12,投资
           .      f.rom b44.c:32:学习
/u.sr/include/asm/bitops.h:327:2: warn.ing: #warni.ng This includefile is not available on all architectures.             电子
/usr/include/asm/bitops.h:328:2: warni.ng: #warning Using ker.nel headers in userspace: atomicity not gua.ranteed学习
In .file included fro.m /usr/include/linux/signal.h:4,           女人
                 fr.om /usr/include./linux/sched.h:25,.
          .       from /usr./include/linux/delay.h:12,投资
       .          from .b44.c:32:.
/usr/include/asm/signa.l.h:107: parse error b.efore "sigset_t"电脑
/usr/include/asm/si.gnal.h:110: parse error before '}' toke.n.
In file included from /usr./include/linu.x/sched.h:81,.
                 fro.m /usr./include/linux/delay.h:12,           鲜花
               .  fro.m b44.c:32:             电子
/usr/include/linux/timer.h:45: parse .error before ".spinlock_t"           建材
/usr/include/linux/timer.h:53: parse .error b.efore '}' token健康
/usr/include/linux/t.imer.h:67: parse error befor.e "tvec_base_t"    外汇
/usr/include/linux/time.r.h:101: parse error befor.e "tvec_bases".
/usr/include/linux/timer..h: In functi.on `init_timer':电脑
/usr/.include/linux/timer.h:105: dereferenc.ing pointer to incomplete type电脑
/usr/include/linux/timer.h:105: derefe.rencing pointe.r to incomplete type域名
/usr/.include/linux/timer.h:106: dereferencing point.er to incomplete type[成人用品]
/usr/include/li.nux/timer.h: In fu.nction `timer_pending':              乙肝
/usr/incl.ude/linux/timer.h:121: dereferencing p.ointer to incomplete type电脑
In file included from b.44.c:32:..
/usr/include/linux/delay.h:13:23: asm/delay.h.: 没有那个文.件或目录b44.c:39:25: asm/uaccess.h: 没有那个文件或目录In file included. from b44.c:49:              乙肝
b44.h: At top lev.el:教育
b44.h:77: warning: `struct net_device'. declared in.side parameter list.
b44.h:77: warning: its scope is only this de.f.inition or declaration, which is probably n.ot what you want             汽车
b4.4.h.: In function `netdev_priv':    健康
b44.h:79: dereferencing p.ointer to inco.mplete type    美容
b44.h: At top le.vel:--- 印刷
b44.h:84: warning: `struct net_device' de.clared in.side parameter list             电子
b44.h: In function `n.etif_poll_disab.le':--------------彩票
b44.h:.86: `_._LINK_STATE_RX_SCHED' undeclared (first use in this function).
b44.h:86: (Each u.ndeclared identifier is .reported only once             汽车
b44.h:86: f.or each fun.ction it appears in.)<性病>
b44.h:86:. dereferencing pointe.r to incomplete type.
b44.h:88: `current' .undeclared (firs.t use in this function).
b44.h:89:. warning: implicit declaration of function `schedule_.timeout'电影
b44.h: At top l.evel:            杀毒
b44.h:93: warning: `stru.ct net_device' declared inside. parameter list外贸
b44.h: In functio.n `netif_poll_enabl.e':    健康
b44.h:95: `.__LINK_STATE_RX_SCHED' undeclared (first us.e in this function)          婚庆
b44.h:95: de.referencing pointer to incomplete typ.e.
b44.h: At top level.:.
b.44.h:98: warning: `struct net_devic.e' declared inside parameter list    健康
b44.h: In fun.ction `n.etif_tx_disable':<性病>
b44.h:100: warn.ing: .implicit declaration of function `spin_lock_bh'<性病>
b44.h:100:. dereferencing pointer to incom.plete type           建材
b44.h:101: warn.ing: implicit declaration of .function `netif_stop_queue'    健康
b44.h:.102: warning: implicit declaration of function .`spin_unlock_bh'服务器
b44.h:102: de.r.eferencing pointer to incomplete type(        游戏          )
b44.h: At top .level:--- 印刷
b44..h:108.: warning: `struct sk_buff' declared inside parameter list健康
b44.h:480: parse. error before ".DECLARE_PCI_UNMAP_ADDR".
b44.h:480: warning: no se.micolon at end of st.ruct or union虚拟主机
b44.h:545: parse er.ror .before "spinlock_t"    健康
b.44.h:545: warning: no semicolon at end of .struct or union.
b44.h:601: parse error b.ef.ore '}' token域名
b44.c:119: elements o.f arr.ay `b44_pci_tbl' have incomplete type             汽车
b44.c.:120: warning: excess elements in struct init.ializer          婚庆
b44.c:120: warni.ng: (near initializati.on for `b44_pci_tbl[0]')    健康
b44.c:120: warning: excess el.ements in struct initialize.r教育
b44.c:120: warning: .(near initialization for `b44_pci_.tbl[0]')(广告)
b44.c:121: `PCI_ANY_.ID' undeclared here (.not in a function)    外汇
b.44.c:121: war.ning: excess elements in struct initializer    健康
b44.c:.121: warning: (near initialization .for `b44_pci_tbl[0]')          婚庆
b44.c:121: `PCI_.ANY_ID' u.ndeclared here (not in a function)    健康
b44.c:12.1: warning: excess elements in st.ruct initializer投资
b44.c:121: warning: (near initia.lizat.ion for `b44_pci_tbl[0]')           建材
b44.c:121:. warning: excess ele.ments in struct initializer健康
b.44.c:1.21: warning: (near initialization for `b44_pci_tbl[0]')服务器
b44.c:121: warning.: .excess elements in struct initializer投资
b4.4.c:121: warning: (near initialization. for `b44_pci_tbl[0]')             电子
b44.c:121: warning: excess eleme.nts in struct initi.alizer--- 印刷
b44.c:121: warning: (n.ear initialization for `b44_p.ci_tbl[0]')虚拟主机
b44.c:122: warning: excess elements in struct in.itialize.r    外汇
b44.c:122: warning: (near initialization for `b44_pci.._tbl[1]').
b4.4.c:122: warning: e.xcess elements in struct initializer投资
b44.c:122: wa.rning: (near initia.lization for `b44_pci_tbl[1]')           鲜花
b.44.c:123: `PCI_ANY_ID' undeclared he.re (not in a function).
b44.c:123: warn.ing: excess elements in struct ini.tializer<性病>
b44..c:123: warnin.g: (near initialization for `b44_pci_tbl[1]')             汽车
b44.c:123: `PCI_ANY_I.D' undeclared h.ere (not in a function)    外汇
b4.4.c:123: warning: excess elements in struct in.itializer虚拟主机
b4.4.c:123: warning: (nea.r initialization for `b44_pci_tbl[1]').
b44.c:12.3: warning: excess elements in struct ini.tializer            杀毒
b44.c:123: w.arning: (near initialization for .`b44_pci_tbl[1]').
b44.c:123: warning: excess elemen.ts in struct initial.izer          婚庆
b44.c:123: warning: (near i.nitialization for `b44_pci_tb.l[1]')--- 印刷
b44..c:123: warn.ing: excess elements in struct initializer.
b44.c:123: warning: (near initialization for `.b.44_pci_tbl[1]')域名
b44.c:124: warning: excess e.lements in s.truct initializer.
b44.c:124: warning: (n.ear initialization for `b44_.pci_tbl[2]')             汽车
b44.c:124: warning: excess .elements i.n struct initializer.
b44.c:124: warnin.g: (near initialization for. `b44_pci_tbl[2]').
b44.c:125: `PCI_ANY_ID' undeclare.d here (not. in a function)              乙肝
b44.c:125: warning: excess elem.ents in struct initializ.er.
b44.c.:12.5: warning: (near initialization for `b44_pci_tbl[2]')服务器
b44.c:125: `P.CI_ANY_ID' undeclared here (not in a fu.nction)(广告)
b44.c:125: warning: ex.cess elements in. struct initializer域名
b44.c:125: warning: (ne..ar initialization for `b44_pci_tbl[2]').
b44.c:125: warning: excess e..lements in struct initializer[成人用品]
b44.c:125: warning: (near initia.lization for `b44_pci_tbl[2].')学习
b44.c:125: warning: excess elements in struct init.ial.izer电脑
b44.c:125: warning: (near initialization f.or `b44_.pci_tbl[2]').
b44..c:125: warning: excess elements i.n struct initializer    美容
b44.c:125: war.ning: (near initializ.ation for `b44_pci_tbl[2]').
b44.c:129: sizeof. applied to a.n incomplete type外贸
b44.c:151: `ETH_GSTRING_LEN' undec.lar.ed here (not in a function)    外汇
b44.c:151.: confused by earlier errors, bailin.g out虚拟主机
mak.e: *** [b44.o] Error 1.
按照提示 在编译linux/delay.h的时候asm/delay.h和asm/uaccess.h找不到,而我在系统里根本找不到asm的目录。 是不是缺少了什么东西,我在网上也找了,还是没头绪,哪位能帮帮我啊,谢谢啦http://upload.bbs.csuboy.com/Mon_1004/126_6983_0b0a34ccc7cf0fd.gif[/img]             电子

[ 本帖最后由 阿布的心 于 2009-5-6 22:2.6 编.辑 ]             电子

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线大狼.
发帖
1986
C币
4898
威望
372
贡献值
0
银元
-1
铜钱
4528
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
Re:[RedHat]
安装内核头文件

离线wuyangbo11.
发帖
2038
C币
-235209
威望
394
贡献值
1
银元
-3
铜钱
4624
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
Re:[RedHat]
asm=汇编。

离线wwwfu80com.
发帖
1976
C币
-235639
威望
352
贡献值
1
银元
0
铜钱
4319
人人网人气币
0
只看该作者 地板  发表于: 2010-04-13
Re:[RedHat]
那我应该怎么做呢?是不是要安装什么东西呀?

离线5136456.
发帖
2120
C币
-235562
威望
415
贡献值
1
银元
-1
铜钱
4813
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-13
Re:[RedHat]
大家帮个忙好吗,这个问题困拢我好久了。

离线mxdkey.
发帖
2108
C币
-60626
威望
400
贡献值
1
银元
-2
铜钱
4685
人人网人气币
0
只看该作者 5楼 发表于: 2010-04-13
Re:[RedHat]
使用的linux是什么发行版本的

离线hackerstudy.
发帖
2066
C币
-193385
威望
377
贡献值
1
银元
-2
铜钱
4603
人人网人气币
0
只看该作者 6楼 发表于: 2010-04-13
Re:[RedHat]
[1] 编译驱动就是在编译内核模块,所以你需要kernel-source或者是kernel-headers,redhat9的光盘上应该有
[2] 你下载的驱动有可能和redhat9.0不兼容。
[3] redhat 9.0实在是太老了,如果没有特殊需求,建议你用fedora或者Ubuntu

发帖
2130
C币
-60329
威望
399
贡献值
1
银元
-1
铜钱
4691
人人网人气币
0
只看该作者 7楼 发表于: 2010-04-13
Re:[RedHat]
这样啊,谢谢啊,哈哈,我先试试
不过我也是刚学linux的,不知道哪个适合点,还以为redhat9.0很新呢。听说fedora不是免费的又很专业所以不敢用。
Ubuntu就没听说过了 像我这样的适合学什么样的版本呀?
我的内模是2.4.20-8的,编译的时候和这个有关系吧?
快速回复
限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
上一个 下一个