前几天装上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太大这里发不了,等一下我想办法


olahaha 于 2012-12-05 14:47:05发表:
谢谢楼主
zbxnt 于 2009-12-13 04:57:09发表:
各位GGJJ们
drcom是什么啊?
infinite 于 2009-10-04 16:31:23发表:
3# cloud19870922
网盘打不开~
infinite 于 2009-10-04 16:29:33发表:
我也遇到同样的问题,郁闷中
existedyet 于 2009-06-05 07:37:44发表:
try
xiaojiapipi 于 2009-03-02 20:30:34发表:
现在还有吗?我找了好久没找到呢 3# cloud19870922
smallrain3 于 2008-12-28 17:28:52发表:
学习了!希望能解决我的问题啊~~~0:w(5(
you_me 于 2008-11-22 17:02:50发表:
学习了!
519737937 于 2008-11-22 12:47:05发表:
ytyyy
qfmywxs 于 2008-11-01 00:44:52发表:
我也试试
tornadohl 于 2008-10-23 20:42:03发表:
hao
zc5127 于 2008-10-22 03:28:18发表:
正找这个 睡觉了今天中午再试 还要睡觉
weidays 于 2008-10-20 13:20:10发表:
*******************************************************************
后来试了试,还是不行。
先是drcom-1.4.7的出错信息:
解压drcom-1.4.7后
#make
make[1]: Entering directory `/usr/local/drcom/drcom-1.4.7/drcomc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/drcom/drcom-1.4.7/drcomc'
make[1]: Entering directory `/usr/local/drcom/drcom-1.4.7/drcomd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/drcom/drcom-1.4.7/drcomd'
make[1]: Entering directory `/usr/local/drcom/drcom-1.4.7/kmod'
make -C /lib/modules/2.6.25-14.fc9.i686/build M=/usr/local/drcom/drcom-1.4.7/kmo
d modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.25-14.fc9.i686/build: 没有那个文件或目录。 停止。
make: Leaving an unknown directory
make[1]: *** [default] 错误 2
make[1]: Leaving directory `/usr/local/drcom/drcom-1.4.7/kmod'
make: *** [all] 错误 1
这个是我在 /lib/modules/2.6.25-14.fc9.i686/文件夹下面的东西
build modules.dep modules.order updates
extra modules.ieee1394map modules.pcimap vdso
kernel modules.inputmap modules.seriomap weak-updates
modules.alias modules.isapnpmap modules.symbols
modules.block modules.networking modules.usbmap
modules.ccwmap modules.ofmap source
其中build和source是显示"已断"的链接文件。source指向build,而build指向
/usr/src/kernels/2.6.25-14.fc9.i686。
但是在/usr/src下面只有redhat这一个文件夹。所以一make就会出错。
网上说是因为缺少kernel-devel-2.6.25.3-18.fc9.i686.rpm,于是专门下载安装了以后还
是同样的出错信息。
试着装drcom-1.4.5也不行,drcom-1.4.5的出错信息:
# make
make[1]: Entering directory `/usr/local/drcom/drcom-1.4.5/drcomc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/drcom/drcom-1.4.5/drcomc'
make[1]: Entering directory `/usr/local/drcom/drcom-1.4.5/drcomd'
CC readconf.c
readconf.c: 在函数‘__parseopt’中:
readconf.c:489: 错误:‘LONG_MIN’未声明(在此函数内第一次使用)
readconf.c:489: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
readconf.c:489: 错误:所在的函数内也只报告一次。)
readconf.c:489: 错误:‘LONG_MAX’未声明(在此函数内第一次使用)
make[1]: *** [readconf.o] 错误 1
make[1]: Leaving directory `/usr/local/drcom/drcom-1.4.5/drcomd'
make: *** [all] 错误 1
总之就是装不上,请高手指点,万分感谢!!
*******************************************************************
和这为仁兄一样的,请高手指点!
hebi 于 2008-08-28 20:03:37发表:
我也试一下!
airbone 于 2008-08-26 16:57:02发表:
谢谢了 总算找到解决方法了
kingfon 于 2008-07-09 14:47:10发表:
好哦,感激!
hobo2008 于 2008-07-04 15:42:26发表:
:0wszxc
kinemins 于 2008-07-02 11:31:08发表:
真是太好了,我也是fedora 9遇到了这个“make: *** /lib/modules/2.6.25-14.fc9.i686/build: 没有那个文件或目录。 停止。”问题。
然后找kernel-devel-2.6.25-14.fc9.i686.rpm又老找不到。
多谢楼上几位了。
后来试了试,还是不行。
先是drcom-1.4.7的出错信息:
解压drcom-1.4.7后
#make
make[1]: Entering directory `/usr/local/drcom/drcom-1.4.7/drcomc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/drcom/drcom-1.4.7/drcomc'
make[1]: Entering directory `/usr/local/drcom/drcom-1.4.7/drcomd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/drcom/drcom-1.4.7/drcomd'
make[1]: Entering directory `/usr/local/drcom/drcom-1.4.7/kmod'
make -C /lib/modules/2.6.25-14.fc9.i686/build M=/usr/local/drcom/drcom-1.4.7/kmo
d modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.25-14.fc9.i686/build: 没有那个文件或目录。 停止。
make: Leaving an unknown directory
make[1]: *** [default] 错误 2
make[1]: Leaving directory `/usr/local/drcom/drcom-1.4.7/kmod'
make: *** [all] 错误 1
这个是我在 /lib/modules/2.6.25-14.fc9.i686/文件夹下面的东西
build modules.dep modules.order updates
extra modules.ieee1394map modules.pcimap vdso
kernel modules.inputmap modules.seriomap weak-updates
modules.alias modules.isapnpmap modules.symbols
modules.block modules.networking modules.usbmap
modules.ccwmap modules.ofmap source
其中build和source是显示"已断"的链接文件。source指向build,而build指向
/usr/src/kernels/2.6.25-14.fc9.i686。
但是在/usr/src下面只有redhat这一个文件夹。所以一make就会出错。
网上说是因为缺少kernel-devel-2.6.25.3-18.fc9.i686.rpm,于是专门下载安装了以后还
是同样的出错信息。
试着装drcom-1.4.5也不行,drcom-1.4.5的出错信息:
# make
make[1]: Entering directory `/usr/local/drcom/drcom-1.4.5/drcomc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/drcom/drcom-1.4.5/drcomc'
make[1]: Entering directory `/usr/local/drcom/drcom-1.4.5/drcomd'
CC readconf.c
readconf.c: 在函数‘__parseopt’中:
readconf.c:489: 错误:‘LONG_MIN’未声明(在此函数内第一次使用)
readconf.c:489: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
readconf.c:489: 错误:所在的函数内也只报告一次。)
readconf.c:489: 错误:‘LONG_MAX’未声明(在此函数内第一次使用)
make[1]: *** [readconf.o] 错误 1
make[1]: Leaving directory `/usr/local/drcom/drcom-1.4.5/drcomd'
make: *** [all] 错误 1
总之就是装不上,请高手指点,万分感谢!!
[ 本帖最后由 kinemins 于 2008-7-2 15:29 编辑 ]
halalei 于 2008-06-02 14:38:52发表:
可我都装了 编译没问题
也改了drcom.conf保证没问题
怎么还是登录不上啊?
牛人指导啊
huzhongx 于 2008-05-25 20:51:28发表:
原来如此!
bigwario 于 2008-05-24 12:29:47发表:
关于内核的改变具体请见
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).
cloud19870922 于 2008-05-23 21:54:12发表:
谢谢楼上,手头没有打包工具,谢啦
bigwario 于 2008-05-23 21:30:31发表:
LONG_MIN的定义是确实是由kernel-devel包内包含的。
Fedora9采用了GCC4.3和新的内核,在编译时确实和以前有些不同。
帮楼主上devel包
cloud19870922 于 2008-05-23 14:11:26发表:
同感,希望能解决,虽然目前没觉得有很大影响,毕竟LINUX很多功能本来就是在文本界面才能用
逝去的信仰 于 2008-05-23 13:40:49发表:
经典`~~~非常感谢~~~对了`~那个rpm包在F9下只能用命令安装,双击没有用,貌似F9下rpm都这样。`~~这个问题我也遇到了`~没人能解决么?
cloud19870922 于 2008-05-23 12:51:31发表:
kernel-devel-2.6.25-14.fc9.i686.rpm我存在网盘了:
www.163disk.com/
帐号:cloud19870922
密码:111111
进去点“文件管理”就看到了,去掉rar安装
drcom-1.4.7是压缩包,解压出的文件夹拿来make就行了
cloud19870922 于 2008-05-23 09:56:20发表:
马上有课,回来再搞。。。