+ -
当前位置:首页 → 问答吧 → 光盘安装怎么装不上make gcc

光盘安装怎么装不上make gcc

时间:2009-02-06

来源:互联网

用的core-2008.6的光盘,
也选了base-devel,也显示安装了gcc,make等了
装完以后就是没有make gcc.

作者: mandarin   发布时间: 2009-02-06

连接互联网。。。。

pacman -S gcc make auotmake autoconf

作者: winxpuser   发布时间: 2009-02-06

....我需要make安装网卡驱动才能上网

作者: mandarin   发布时间: 2009-02-06

引用:
作者: mandarin
....我需要make安装网卡驱动才能上网
那就拿U盘下来装了。
PS:不知道在选择base-devel的时候是不是默认全安装这些组件。我安装的时候也没注意看,也是之后pacman -S base-devel.

作者: gonline   发布时间: 2009-02-06

装完系统,挂载安装光盘
pacman -U /找到光盘上make gcc 软件包位子 tgz文件

作者: lionux   发布时间: 2009-02-06

引用:
作者: gonline
那就拿U盘下来装了。
PS:不知道在选择base-devel的时候是不是默认全安装这些组件。我安装的时候也没注意看,也是之后pacman -S base-devel.
选择base-devel时默认有make gcc等选中的我反复确认过.

作者: mandarin   发布时间: 2009-02-06

引用:
作者: lionux
装完系统,挂载安装光盘
pacman -U /找到光盘上make gcc 软件包位子 tgz文件
装系统时,已经挂到/src中了,pacman -U 那些tgz就行了,
不过我make网卡驱动还是失败了.

作者: mandarin   发布时间: 2009-02-06

把提示贴上来

作者: lionux   发布时间: 2009-02-06

realtek 8102的网卡,从intel上下的驱动

make gcc kernel-header都装了,

make clean modules就完蛋了.

代码:
make -C src/ clean
make[1]: Entering directory `/root/r8101-1.006.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers rset
make[1]: Leaving directory `/root/r8101-1.006.00/src'
make -C src/ modules
make[1]: Entering directory `/root/r8101-1.006.00/src'
make -C /lib/modules/2.6.25-ARCH/build SUBDIRS=/root/r8101-1.006.00/src modules
make[2]: Entering directory `/usr/src/linux-2.6.25-ARCH'
 CC [M] /root/r8101-1.006.00/src/r8101_n.o
/root/r8101-1.006.00/src/r8101_n.c: In function 'rtl8101_init_board':
/root/r8101-1.006.00/src/r8101_n.c:2193: error: implicit declaration of function 'SET_MODULE_OWNER'
/root/r8101-1.006.00/src/r8101_n.c: In function 'rtl8101_init_one':
/root/r8101-1.006.00/src/r8101_n.c:2552: error: 'struct net_device' has no member named 'poll'
/root/r8101-1.006.00/src/r8101_n.c:2553: error: 'struct net_device' has no member named 'weight'
/root/r8101-1.006.00/src/r8101_n.c: In function 'rtl8101_rx_interrupt':
/root/r8101-1.006.00/src/r8101_n.c:3601: error: 'struct net_device' has no member named 'quota'
/root/r8101-1.006.00/src/r8101_n.c:3601: warning: type defaults to 'int' in declaration of '_y'
/root/r8101-1.006.00/src/r8101_n.c:3601: error: 'struct net_device' has no member named 'quota'
/root/r8101-1.006.00/src/r8101_n.c:3601: warning: comparison of distinct pointer types lacks a cast
/root/r8101-1.006.00/src/r8101_n.c: In function 'rtl8101_interrupt':
/root/r8101-1.006.00/src/r8101_n.c:3781: error: too few arguments to function 'netif_rx_schedule_prep'
/root/r8101-1.006.00/src/r8101_n.c:3782: error: too few arguments to function '__netif_rx_schedule'
/root/r8101-1.006.00/src/r8101_n.c: In function 'rtl8101_poll':
/root/r8101-1.006.00/src/r8101_n.c:3828: error: 'struct net_device' has no member named 'quota'
/root/r8101-1.006.00/src/r8101_n.c:3828: warning: type defaults to 'int' in declaration of '_y'
/root/r8101-1.006.00/src/r8101_n.c:3828: error: 'struct net_device' has no member named 'quota'
/root/r8101-1.006.00/src/r8101_n.c:3836: error: 'struct net_device' has no member named 'quota'
/root/r8101-1.006.00/src/r8101_n.c:3839: error: too few arguments to function 'netif_rx_complete'
make[3]: *** [/root/r8101-1.006.00/src/r8101_n.o] Error 1
make[2]: *** [_module_/root/r8101-1.006.00/src] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.25-ARCH'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/r8101-1.006.00/src'
make: *** [modules] Error 2

作者: mandarin   发布时间: 2009-02-06

这网卡很新或者很偏门么?没有自带驱动?

作者: jarryson   发布时间: 2009-02-07

内核原码装没

作者: lionux   发布时间: 2009-02-08

8102网卡驱动内核没有么...

作者: huntxu   发布时间: 2009-02-08

郁闷
我也遇到这个网卡装不上了。。。。崩溃啊。。。

作者: jetmy   发布时间: 2009-09-15