勾柏润 发表于 2006-11-3 12:14:18

菜鸟求助:fc6下drcom的安装

# make
gcc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -pedantic -Iinclude -O2 -D_REENTRANT -c -o src/init.o src/init.c
gcc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -pedantic -Iinclude -O2 -D_REENTRANT -c -o src/cleanup.o src/cleanup.c
gcc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -pedantic -Iinclude -O2 -D_REENTRANT -c -o src/handle.o src/handle.c
gcc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -pedantic -Iinclude -O2 -D_REENTRANT -c -o src/login.o src/login.c
src/login.c: 在函数 ‘drcom_login’ 中:
src/login.c:34: 警告:未使用的参数 ‘timeout’
gcc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -pedantic -Iinclude -O2 -D_REENTRANT -c -o src/logout.o src/logout.c
src/logout.c: 在函数 ‘drcom_logout’ 中:
src/logout.c:32: 警告:未使用的参数 ‘timeout’
gcc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -pedantic -Iinclude -O2 -D_REENTRANT -c -o src/passwd.o src/passwd.c
src/passwd.c: 在函数 ‘drcom_passwd’ 中:
src/passwd.c:32: 警告:未使用的参数 ‘timeout’
gcc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -pedantic -Iinclude -O2 -D_REENTRANT -c -o src/keepalive.o src/keepalive.c
gcc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -pedantic -Iinclude -O2 -D_REENTRANT -c -o src/watchport.o src/watchport.c
gcc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -pedantic -Iinclude -O2 -D_REENTRANT -c -o src/misc.o src/misc.c
gcc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -pedantic -Iinclude -O2 -D_REENTRANT -c -o lib/dialog.o lib/dialog.c
gcc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -pedantic -Iinclude -O2 -D_REENTRANT -c -o lib/readconf.o lib/readconf.c
gcc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -pedantic -Iinclude -O2 -D_REENTRANT -c -o lib/md5.o lib/md5.c
lib/md5.c:131:36: 警告:使用 C99 long long 整数常量
gcc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -pedantic -Iinclude -O2 -D_REENTRANT -c -o os/getaddr.o os/linux/getaddr.c
gcc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -pedantic -Iinclude -O2 -D_REENTRANT -fPIC -shared -o src/libdrcom.so src/init.o src/cleanup.o src/handle.o src/login.o src/logout.o src/passwd.o src/keepalive.o src/watchport.o src/misc.o lib/dialog.o lib/readconf.o lib/md5.o os/getaddr.o -lm



# make
make -C include
make: Entering directory `/usr/drcom/drcomsuite-0.1.12/include'
make: Nothing to be done for `all'.
make: Leaving directory `/usr/drcom/drcomsuite-0.1.12/include'
make -C drcomc
make: Entering directory `/usr/drcom/drcomsuite-0.1.12/drcomc'
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/usr/drcom/drcomsuite-0.1.12 -I/usr/drcom/drcomsuite-0.1.12/include -O2   -c -o drcomc.o drcomc.c
gcc   drcomc.o   -o drcomc
make: Leaving directory `/usr/drcom/drcomsuite-0.1.12/drcomc'
make -C drcomcd
make: Entering directory `/usr/drcom/drcomsuite-0.1.12/drcomcd'
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/usr/drcom/drcomsuite-0.1.12 -I/usr/drcom/drcomsuite-0.1.12/include -O2 -DREENTRANT   -c -o drcomcd.o drcomcd.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/usr/drcom/drcomsuite-0.1.12 -I/usr/drcom/drcomsuite-0.1.12/include -O2 -DREENTRANT   -c -o daemon.o daemon.c
gcc -ldrcom -lpthreaddrcomcd.o daemon.o   -o drcomcd
make: Leaving directory `/usr/drcom/drcomsuite-0.1.12/drcomcd'
make -C module
make: Entering directory `/usr/drcom/drcomsuite-0.1.12/module'
make -C Linux
make: Entering directory `/usr/drcom/drcomsuite-0.1.12/module/Linux'
make -C 2.6.x
make: Entering directory `/usr/drcom/drcomsuite-0.1.12/module/Linux/2.6.x'
make -C /lib/modules/2.6.18-1.2798.fc6xen/build M=/usr/drcom/drcomsuite-0.1.12/module/Linux/2.6.x modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.18-1.2798.fc6xen/build: 没有那个文件或目录。 停止。
make: Leaving an unknown directory
make: *** 错误 2
make: Leaving directory `/usr/drcom/drcomsuite-0.1.12/module/Linux/2.6.x'
make: *** 错误 2
make: Leaving directory `/usr/drcom/drcomsuite-0.1.12/module/Linux'
make: *** 错误 2
make: Leaving directory `/usr/drcom/drcomsuite-0.1.12/module'
make: *** 错误 2




# make install
make -C include install
make: Entering directory `/usr/drcom/drcomsuite-0.1.12/include'
make: Nothing to be done for `install'.
make: Leaving directory `/usr/drcom/drcomsuite-0.1.12/include'
make -C drcomc install
make: Entering directory `/usr/drcom/drcomsuite-0.1.12/drcomc'
mkdir -p /usr/bin
cp drcomc /usr/bin
make: Leaving directory `/usr/drcom/drcomsuite-0.1.12/drcomc'
make -C drcomcd install
make: Entering directory `/usr/drcom/drcomsuite-0.1.12/drcomcd'
mkdir -p /usr/sbin
install -m 700 drcomcd /usr/sbin
make: Leaving directory `/usr/drcom/drcomsuite-0.1.12/drcomcd'
make -C module install
make: Entering directory `/usr/drcom/drcomsuite-0.1.12/module'
make -C Linux install
make: Entering directory `/usr/drcom/drcomsuite-0.1.12/module/Linux'
make -C 2.6.x install
make: Entering directory `/usr/drcom/drcomsuite-0.1.12/module/Linux/2.6.x'
make -C /lib/modules/2.6.18-1.2798.fc6xen/build M=/usr/drcom/drcomsuite-0.1.12/module/Linux/2.6.x modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.18-1.2798.fc6xen/build: 没有那个文件或目录。 停止。
make: Leaving an unknown directory
make: *** 错误 2
make: Leaving directory `/usr/drcom/drcomsuite-0.1.12/module/Linux/2.6.x'
make: *** 错误 2
make: Leaving directory `/usr/drcom/drcomsuite-0.1.12/module/Linux'
make: *** 错误 2
make: Leaving directory `/usr/drcom/drcomsuite-0.1.12/module'
make: *** 错误 2


求高手指点指点,没有drcom我上不了网了,我感激不尽!!!!!!!!!!!:cry::cry::cry:

和尚娶媳妇 发表于 2006-11-3 22:34:30

/lib/modules/2.6.18-1.2798.fc6xen/build: 没有那个文件或目录。 停止。
请安装Linux 2.6.18-1.2798.fc6xen的源代码,并编译一次
将/lib/modules/2.6.18-1.2798.fc6xen/build链接到源代码的位置。

勾柏润 发表于 2006-11-3 23:17:24

谢谢仁兄!!!!!!!!!!!!!!

Apollo720 发表于 2006-11-7 22:11:00

能说的更具体一些吗?谢谢!

timonkun 发表于 2006-11-12 10:58:14

重新编译内核
源码包自己下载
详情见:http://fedora.linuxsir.org/main/?q=node/66(照着一步一步做就行了)
启动新内核 就可以正常安装了
我刚搞定 呵呵
页: [1]
查看完整版本: 菜鸟求助:fc6下drcom的安装