详情:
代码: 全选
:~/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