[转帖]安装Proftp+Mysql报错_MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 1824 | 回复: 0   主题: [转帖]安装Proftp+Mysql报错        下一篇 
ab19890824
注册用户
等级:少尉
经验:351
发帖:92
精华:0
注册:2011-11-21
状态:离线
发送短消息息给ab19890824 加好友    发送短消息息给ab19890824 发消息
发表于: IP:您无权察看 2014-12-17 10:09:10 | [全部帖] [楼主帖] 楼主

我执行完./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/include --with-libraries=/usr/lib/mysql 后 make 报错 如下显示:

 cd lib/ && make lib
make[1]: Entering directory `/home/zhaoshan/software/proftpd-1.2.9/lib'
make[1]: Nothing to be done for `lib'.
make[1]: Leaving directory `/home/zhaoshan/software/proftpd-1.2.9/lib'
cd src/ && make src
make[1]: Entering directory `/home/zhaoshan/software/proftpd-1.2.9/src'
make[1]: Nothing to be done for `src'.
make[1]: Leaving directory `/home/zhaoshan/software/proftpd-1.2.9/src'
cd modules/ && make modules
make[1]: Entering directory `/home/zhaoshan/software/proftpd-1.2.9/modules'
gcc -DLINUX -I.. -I../include -I/usr/include -O2 -Wall -c mod_sql.c
mod_sql.c:47:16: fs.h: No such file or directory
mod_sql.c:106: parse error before '*' token
mod_sql.c:106: warning: type defaults to `int' in declaration of `resp_list'
mod_sql.c:106: warning: type defaults to `int' in declaration of `resp_err_list'
mod_sql.c:106: warning: data definition has no type or storage class
mod_sql.c: In function `_sql_make_cmd':
mod_sql.c:320: structure has no member named `symtable_index'
mod_sql.c: In function `_sql_dispatch':
mod_sql.c:377: warning: implicit declaration of function `block_signals'
mod_sql.c:379: warning: implicit declaration of function `unblock_signals'
mod_sql.c: In function `check_auth_crypt':
mod_sql.c:424: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c:424: (Each undeclared identifier is reported only once
mod_sql.c:424: for each function it appears in.)
mod_sql.c: In function `check_auth_plaintext':
mod_sql.c:436: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `check_auth_empty':
mod_sql.c:450: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `check_auth_backend':
mod_sql.c:458: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `build_homedir':
mod_sql.c:810: warning: implicit declaration of function `fs_stat'
mod_sql.c:852: warning: implicit declaration of function `fs_chown'
mod_sql.c: In function `resolve_tag':
mod_sql.c:1273: warning: long unsigned int format, different type arg (arg 4)
mod_sql.c:1273: warning: long unsigned int format, different type arg (arg 4)
mod_sql.c:1314: structure has no member named `remote_ipaddr'
mod_sql.c:1357: `response_t' undeclared (first use in this function)
mod_sql.c:1357: `r' undeclared (first use in this function)
mod_sql.c: In function `_process_named_query':
mod_sql.c:1455: warning: comparison between pointer and integer
mod_sql.c: In function `info_master':
mod_sql.c:1759: warning: implicit declaration of function `add_response'
mod_sql.c: In function `errinfo_master':
mod_sql.c:1925: warning: implicit declaration of function `add_response_err'
mod_sql.c: In function `cmd_auth':
mod_sql.c:2561: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `sql_getconf':
mod_sql.c:3687: warning: too many arguments for format
mod_sql.c:3690: warning: too many arguments for format
make[1]: *** [mod_sql.o] Error 1
make[1]: Leaving directory `/home/zhaoshan/software/proftpd-1.2.9/modules'
make: *** [modules] Error 2


--转自 北京联动北方科技有限公司




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论