源码安装drcom,make不过去~(已解决)

重复贴和参考价值不大的帖子,版主维护
回复
头像
tlhl28
帖子: 474
注册时间: 2006-09-02 18:58
来自: 深圳
送出感谢: 0
接收感谢: 0

源码安装drcom,make不过去~(已解决)

#1

帖子 tlhl28 » 2007-11-22 18:59

系统:Hiweed 1.0

详情:

代码: 全选

:~/drcom-1.3.7$ make
make -C drcomc
make[1]: Entering directory `/home/tlhl/drcom-1.3.7/drcomc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/tlhl/drcom-1.3.7/drcomc'
make -C drcomd
make[1]: Entering directory `/home/tlhl/drcom-1.3.7/drcomd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/tlhl/drcom-1.3.7/drcomd'
make -C kmod
make[1]: Entering directory `/home/tlhl/drcom-1.3.7/kmod'
make -C /lib/modules/2.6.15-23-386/build M=/home/tlhl/drcom-1.3.7/kmod modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.15-23-386/build: No such file or directory。 停止。
make: Leaving an unknown directory
make[1]: *** [default] 错误 2
make[1]: Leaving directory `/home/tlhl/drcom-1.3.7/kmod'
make: *** [kmod] 错误 2
弄完上面的就接着弄
另一个版本

代码: 全选

~/drcom-1.3.5$ make
make -C drcomc
make[1]: Entering directory `/home/tlhl/drcom-1.3.5/drcomc'
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o drcomc.o drcomc.c
gcc   drcomc.o   -o drcomc
make[1]: Leaving directory `/home/tlhl/drcom-1.3.5/drcomc'
make -C drcomd
make[1]: Entering directory `/home/tlhl/drcom-1.3.5/drcomd'
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o drcomd.o drcomd.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o daemon.o daemon.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o cleanup.o cleanup.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o dialog.o dialog.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o handle.o handle.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o init.o init.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o keepalive.o keepalive.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o login.o login.c
login.c: 在函数 ‘drcom_login’ 中:
login.c:50: 警告: 未使用的形参 ‘timeout’
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o logout.o logout.c
logout.c: 在函数 ‘drcom_logout’ 中:
logout.c:34: 警告: 未使用的形参 ‘timeout’
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o md5.o md5.c
md5.c:131:36: warning: use of C99 long long integer constant
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o misc.o misc.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o passwd.o passwd.c
passwd.c: 在函数 ‘drcom_passwd’ 中:
passwd.c:32: 警告: 未使用的形参 ‘timeout’
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o readconf.o readconf.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o watchport.o watchport.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o getaddr.o getaddr.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/tlhl/drcom-1.3.5/include -O2   -c -o log.o log.c
log.c: 在函数 ‘dbg’ 中:
log.c:34: 警告: 未使用的形参 ‘format’
gcc -lm -lpthread  drcomd.o daemon.o cleanup.o dialog.o handle.o init.o keepalive.o login.o logout.o md5.o misc.o passwd.o readconf.o watchport.o getaddr.o log.o   -o drcomd
make[1]: Leaving directory `/home/tlhl/drcom-1.3.5/drcomd'
make -C kmod
make[1]: Entering directory `/home/tlhl/drcom-1.3.5/kmod'
make -C /lib/modules/2.6.15-23-386/build M=/home/tlhl/drcom-1.3.5/kmod modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.15-23-386/build: No such file or directory。 停止。
make: Leaving an unknown directory
make[1]: *** [default] 错误 2
make[1]: Leaving directory `/home/tlhl/drcom-1.3.5/kmod'
make: *** [kmod] 错误 2
请指教!
头像
tlhl28
帖子: 474
注册时间: 2006-09-02 18:58
来自: 深圳
送出感谢: 0
接收感谢: 0

#2

帖子 tlhl28 » 2007-11-23 12:37

发现错误了 ,是自己没 好好看教程。没有安装头文件:linux-header, 装libssl和zliblg文件是都是单独装的 ,所以老提示说不能满足依赖关系.......
回复

回到 “归档贴”