网站导航:红联Linux门户导航

论坛任务,完成任务获得奖励

关于红联 坚持|创新|成功

用www.linux110.com访问红联

国产Linux操作系统-中标普华

Linux人联系名录,QQ/QQ群/msn

软件下载,linux开源软件更新

Linux精华文档

电子书:优秀Linux教程推荐下载

美图分享,心情桑拿院,精彩贴图

开源新闻与评论,最新动态

Redhat/Fedora区精贴导读

大学生攻克Linux系统教程

命令专区,专攻Linux命令

奇闻趣事,笑话怪事,让大家乐乐

Linux操作系统下载(各发行版本)

红联建立成Linux服务公司

企鹅贴图,个性Linux桌面展示

女人帮,Linux女性半边天

灌水聊天,放松心情,聊天交友

返回列表 回复 发帖

Fedora9下drcom安装

前几天装上F9,照原来F8的方法安装drcom,make出现如下错误:
make -C drcomc
make[1]: Entering directory `/root/drcom-1.3.2/drcomc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/drcom-1.3.2/drcomc'
make -C drcomd
make[1]: Entering directory `/root/drcom-1.3.2/drcomd'
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/root/drcom-1.3.2/include -O2   -c -o readconf.o readconf.c
readconf.c: 在函数‘__parseopt’中:
readconf.c:369: 错误:‘LONG_MIN’未声明(在此函数内第一次使用)
readconf.c:369: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
readconf.c:369: 错误:所在的函数内也只报告一次。)
readconf.c:369: 错误:‘LONG_MAX’未声明(在此函数内第一次使用)
make[1]: *** [readconf.o] 错误 1
make[1]: Leaving directory `/root/drcom-1.3.2/drcomd'
make: *** [drcomd] 错误 2
我尝试将LONG_MIN定义:
在readconf.c中加入:long LONG_MIN=-2147483648
结果发现又报LONG_MAX未声明,于是又采用类似方法,还是出现函数未声明的错误,但是多了一句:
好像是/lib/modules/kernel-2.6.25-14.fc9.i686/build后面是“2.6.25-14.fc9.i686不存在"之类的话,可能内核也不全。
我又像用F8时一样补了光盘上的kernel-2.6.25-14.fc9.i686.rpm,但是没用,上网找到了这个:kernel-devel-2.6.25-14.fc9.i686.rpm
索性又找了个新版的drcom-1.4.7,终于搞定了,怀疑原来的错误跟drcom版本也有关系,可能不兼容F9.
顺便说一下,那个rpm包在F9下只能用命令安装,双击没有用,貌似F9下rpm都这样。
看到网上有个帖子跟我的问题一样,又没人回,跟大家分享一下。By the way,是跟寝室那位仁兄一起研究出来的
kernel-devel-2.6.25-14.fc9.i686.rpm太大这里发不了,等一下我想办法
1

评分次数

  • gxf

kernel-devel-2.6.25-14.fc9.i686.rpm我存在网盘了:
www.163disk.com/
帐号:cloud19870922
密码:111111
进去点“文件管理”就看到了,去掉rar安装
drcom-1.4.7是压缩包,解压出的文件夹拿来make就行了
经典`~~~非常感谢~~~对了`~那个rpm包在F9下只能用命令安装,双击没有用,貌似F9下rpm都这样。`~~这个问题我也遇到了`~没人能解决么?
同感,希望能解决,虽然目前没觉得有很大影响,毕竟LINUX很多功能本来就是在文本界面才能用
LONG_MIN的定义是确实是由kernel-devel包内包含的。
Fedora9采用了GCC4.3和新的内核,在编译时确实和以前有些不同。
帮楼主上devel包
什么是 Windows 能干而 Linux 干不了的事?---   Windows 能干而 Linux 干不了的事,那就是不需要干的事!
谢谢楼上,手头没有打包工具,谢啦
关于内核的改变具体请见
http://en.wikipedia.org/wiki/Linux_k...sion_numbering

Version numbering

The version number of the Linux kernel currently consists of four numbers, following a recent change in the long-standing policy of a three-number versioning scheme. For illustration, let it be assumed that the version number is composed thus: A.B.C[.D] (e.g. 2.2.1, 2.4.13 or 2.6.12.3).

* The A number denotes the kernel version. It is changed least frequently, and only when major changes in the code and the concept of the kernel occur. It has been changed twice in the history of the kernel: In 1994 (version 1.0) and in 1996 (version 2.0).

* The B number denotes the major revision of the kernel.
o Prior to the Linux 2.6.x series, even numbers indicate a stable release, i.e. one that is deemed fit for production use, such as 1.2, 2.4 or 2.6. Odd numbers have historically been development releases, such as 1.1 or 2.5. They were for testing new features and drivers until they became sufficiently stable to be included in a stable release. It was an even/odd version number scheme.
o Starting with the Linux 2.6.x series, there is no significance to even or odd numbers, with new feature development going on in the same kernel series. Linus Torvalds has stated that this will be the model for the foreseeable future.

* The C number indicates the minor revision of the kernel. In the old three-number versioning scheme, this was changed when security patches, bugfixes, new features or drivers were implemented in the kernel. With the new policy, however, it is only changed when new drivers or features are introduced; minor fixes are handled by the D number.

* A D number first occurred when a grave error, which required immediate fixing, was encountered in 2.6.8's NFS code. However, there were not enough other changes to legitimize the release of a new minor revision (which would have been 2.6.9). So, 2.6.8.1 was released, with the only change being the fix of that error. With 2.6.11, this was adopted as the new official versioning policy. Bug-fixes and security patches are now managed by the fourth number, whereas bigger changes are only implemented in minor revision changes (the C number).
什么是 Windows 能干而 Linux 干不了的事?---   Windows 能干而 Linux 干不了的事,那就是不需要干的事!
原来如此!
可我都装了 编译没问题
也改了drcom.conf保证没问题
怎么还是登录不上啊?
牛人指导啊
返回列表
社区简称“红联” 格言:天下没有难学的Linux!