program-tis-crypt.html

来自「学习linux的工具书」· HTML 代码 · 共 28 行

HTML
28
字号
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
   <meta name="Author" content="Edward Fu">
   <meta name="GENERATOR" content="Mozilla/4.05 [zh-CN] (X11; I; Linux 2.1.127 i686) [Netscape]">
   <title>Freesoft Linux FAQ -- 编译TIS时的一个问题(crypt)</title>
</head>
<body>
&nbsp;
<br>I got a copy of TIS firewall's src code, after made some changes
<br>followed the firewall howto, i compiled them by running make, and i
got
<br>the error message below, 哪位大哥能告诉我是怎么回事?真急死我了。
<br>(RedHat 5.0 kernel 2.0.31 )
<p>thank you very very much
<br>output of make:
<p>pass.o: In function `passverify':
<br>/usr/src/fwtk/fwtk/auth/pass.c:39: undefined reference to `crypt'
<br>pass.o: In function `passset':
<br>/usr/src/fwtk/fwtk/auth/pass.c:70: undefined reference to `crypt'
<br>make[1]: *** [authsrv] Error 1
<br>&nbsp;
<br>编译时应该加上 -lcrypt
<br>&nbsp;
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?