Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

安装Proftpd不成功,错误代码是~

[复制链接]
netsky 发表于 2004-4-19 18:59:31 | 显示全部楼层 |阅读模式
按照这上面做的,http://freeunix.3322.org/docn/FreeBSD_04.html
一个步骤都没放过,在make 的时候出现了以下错误,怎么处理呀!?


  1. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  2. /usr/include/sys/socket.h:54: warning: empty declaration
  3. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c log.c
  4. In file included from ../include/conf.h:123,
  5.                  from log.c:31:
  6. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  7. /usr/include/sys/socket.h:54: warning: empty declaration
  8. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c bindings.c
  9. In file included from ../include/conf.h:123,
  10.                  from bindings.c:30:
  11. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  12. /usr/include/sys/socket.h:54: warning: empty declaration
  13. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c scoreboard.c
  14. In file included from ../include/conf.h:123,
  15.                  from scoreboard.c:31:
  16. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  17. /usr/include/sys/socket.h:54: warning: empty declaration
  18. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c feat.c
  19. In file included from ../include/conf.h:123,
  20.                  from feat.c:30:
  21. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  22. /usr/include/sys/socket.h:54: warning: empty declaration
  23. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c netio.c
  24. In file included from ../include/conf.h:123,
  25.                  from netio.c:29:
  26. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  27. /usr/include/sys/socket.h:54: warning: empty declaration
  28. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c response.c
  29. In file included from ../include/conf.h:123,
  30.                  from response.c:29:
  31. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  32. /usr/include/sys/socket.h:54: warning: empty declaration
  33. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c ident.c
  34. In file included from ../include/conf.h:123,
  35.                  from ident.c:31:
  36. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  37. /usr/include/sys/socket.h:54: warning: empty declaration
  38. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c data.c
  39. In file included from ../include/conf.h:123,
  40.                  from data.c:32:
  41. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  42. /usr/include/sys/socket.h:54: warning: empty declaration
  43. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c modules.c
  44. In file included from ../include/conf.h:123,
  45.                  from modules.c:31:
  46. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  47. /usr/include/sys/socket.h:54: warning: empty declaration
  48. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c auth.c
  49. In file included from ../include/conf.h:123,
  50.                  from auth.c:31:
  51. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  52. /usr/include/sys/socket.h:54: warning: empty declaration
  53. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c fsio.c
  54. In file included from ../include/conf.h:123,
  55.                  from fsio.c:31:
  56. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  57. /usr/include/sys/socket.h:54: warning: empty declaration
  58. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c mkhome.c
  59. In file included from ../include/conf.h:123,
  60.                  from mkhome.c:30:
  61. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  62. /usr/include/sys/socket.h:54: warning: empty declaration
  63. cd modules/ && make modules
  64. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c mod_core.c
  65. In file included from ../include/conf.h:123,
  66.                  from mod_core.c:31:
  67. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  68. /usr/include/sys/socket.h:54: warning: empty declaration
  69. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c mod_xfer.c
  70. In file included from ../include/conf.h:123,
  71.                  from mod_xfer.c:32:
  72. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  73. /usr/include/sys/socket.h:54: warning: empty declaration
  74. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c mod_auth_unix.c
  75. In file included from ../include/conf.h:123,
  76.                  from mod_auth_unix.c:31:
  77. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  78. /usr/include/sys/socket.h:54: warning: empty declaration
  79. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c mod_auth_file.c
  80. In file included from ../include/conf.h:123,
  81.                  from mod_auth_file.c:29:
  82. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  83. /usr/include/sys/socket.h:54: warning: empty declaration
  84. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c mod_auth.c
  85. In file included from ../include/conf.h:123,
  86.                  from mod_auth.c:32:
  87. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  88. /usr/include/sys/socket.h:54: warning: empty declaration
  89. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c mod_ls.c
  90. In file included from ../include/conf.h:123,
  91.                  from mod_ls.c:31:
  92. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  93. /usr/include/sys/socket.h:54: warning: empty declaration
  94. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c mod_log.c
  95. In file included from ../include/conf.h:123,
  96.                  from mod_log.c:31:
  97. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  98. /usr/include/sys/socket.h:54: warning: empty declaration
  99. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c mod_site.c
  100. In file included from ../include/conf.h:123,
  101.                  from mod_site.c:31:
  102. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  103. /usr/include/sys/socket.h:54: warning: empty declaration
  104. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c mod_auth_pam.c
  105. In file included from ../include/conf.h:123,
  106.                  from mod_auth_pam.c:41:
  107. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  108. /usr/include/sys/socket.h:54: warning: empty declaration
  109. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c mod_sql.c
  110. In file included from ../include/conf.h:123,
  111.                  from mod_sql.c:28:
  112. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  113. /usr/include/sys/socket.h:54: warning: empty declaration
  114. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c mod_sql_mysql.c
  115. In file included from ../include/conf.h:123,
  116.                  from mod_sql_mysql.c:138:
  117. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  118. /usr/include/sys/socket.h:54: warning: empty declaration
  119. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c mod_quotatab.c
  120. In file included from ../include/conf.h:123,
  121.                  from mod_quotatab.h:38,
  122.                  from mod_quotatab.c:34:
  123. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  124. /usr/include/sys/socket.h:54: warning: empty declaration
  125. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c mod_quotatab_sql.c
  126. In file included from ../include/conf.h:123,
  127.                  from mod_quotatab.h:38,
  128.                  from mod_quotatab_sql.c:34:
  129. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  130. /usr/include/sys/socket.h:54: warning: empty declaration
  131. mod_quotatab_sql.c: In function `sqltab_create':
  132. mod_quotatab_sql.c:135: warning: implicit declaration of function `call_module_cmd'
  133. mod_quotatab_sql.c:135: warning: assignment makes pointer from integer without a cast
  134. mod_quotatab_sql.c: In function `sqltab_lookup':
  135. mod_quotatab_sql.c:183: warning: assignment makes pointer from integer without a cast
  136. mod_quotatab_sql.c: In function `sqltab_write':
  137. mod_quotatab_sql.c:418: warning: assignment makes pointer from integer without a cast
  138. srcdir=. ./glue.sh mod_core.o mod_xfer.o mod_auth_unix.o mod_auth_file.o mod_auth.o mod_ls.o mod_log.o mod_site.o mod_auth_pam.o mod_sql.o mod_sql_mysql.o mod_quotatab.o mod_quotatab_sql.o
  139. gcc  -DFREEBSD4_9 -DFREEBSD4 -I.. -I../include -I/usr/local/include/mysql -O2 -Wall -c module_glue.c
  140. In file included from ../include/conf.h:123,
  141.                  from module_glue.c:5:
  142. /usr/include/sys/socket.h:54: warning: useless keyword or type name in empty declaration
  143. /usr/include/sys/socket.h:54: warning: empty declaration
  144. gcc -Llib -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/regexp.o  src/dirtree.o src/support.o src/netaddr.o src/inet.o src/log.o  src/bindings.o src/scoreboard.o src/feat.o src/netio.o  src/response.o src/ident.o src/data.o src/modules.o src/auth.o  src/fsio.o src/mkhome.o modules/mod_core.o modules/mod_xfer.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_auth_pam.o modules/mod_quotatab_sql.o modules/mod_quotatab.o modules/mod_sql_mysql.o modules/mod_sql.o  modules/module_glue.o -lsupp -lcrypt  -lutil -lm -lz -lmysqlclient  -lpam -L/usr/local/lib/mysql
  145. modules/mod_quotatab_sql.o: In function `sqltab_create':
  146. modules/mod_quotatab_sql.o(.text+0x283): undefined reference to `call_module_cmd'
  147. modules/mod_quotatab_sql.o: In function `sqltab_lookup':
  148. modules/mod_quotatab_sql.o(.text+0x3a6): undefined reference to `call_module_cmd'
  149. modules/mod_quotatab_sql.o: In function `sqltab_write':
  150. modules/mod_quotatab_sql.o(.text+0x96f): undefined reference to `call_module_cmd'
  151. *** Error code 1

  152. Stop in /home/proftpd.
复制代码
cqfanli 发表于 2004-4-20 10:23:20 | 显示全部楼层
可能您没有完全按上面的要求做吧
回复

使用道具 举报

blogcool 发表于 2004-4-20 13:28:58 | 显示全部楼层
可能是你的库文件路径不对或版本不兼容
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-12-23 01:46 , Processed in 0.025488 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表