Probleme pour compiler proftpd serveur sous cygwin

Probleme pour compiler proftpd serveur sous cygwin - Installation - Linux et OS Alternatifs

Marsh Posté le 19-05-2003 à 22:29:29    

je n'arrive pas a compiler proftpd sous cygwin le ./configure se passe bien  fonctionne mais lorsque je fais le make il me donne des erreurs ds le module mod_auth.c

Code :
  1. echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
  2. cd lib/ && make lib
  3. make[1]: Entering directory `/tmp/proftpd-1.2.8/lib'
  4. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c pr_fnmatch.c
  5. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c strsep.c
  6. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c vsnprintf.c
  7. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c glibc-glob.c
  8. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c glibc-mkstemp.c
  9. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c pr-syslog.c
  10. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c pwgrent.c
  11. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c getopt.c
  12. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c getopt1.c
  13. ar rc libsupp.a pr_fnmatch.o strsep.o vsnprintf.o glibc-glob.o glibc-mkstemp.o p
  14. r-syslog.o pwgrent.o getopt.o getopt1.o
  15. ranlib libsupp.a
  16. make[1]: Leaving directory `/tmp/proftpd-1.2.8/lib'
  17. cd src/ && make src
  18. make[1]: Entering directory `/tmp/proftpd-1.2.8/src'
  19. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c main.c
  20. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c timers.c
  21. timers.c: In function `sig_alarm':
  22. timers.c:146: warning: implicit declaration of function `siginterrupt'
  23. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c sets.c
  24. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c pool.c
  25. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c regexp.c
  26. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c dirtree.c
  27. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c support.c
  28. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c inet.c
  29. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c log.c
  30. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c bindings.c
  31. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c scoreboard.c
  32. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c feat.c
  33. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c netio.c
  34. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c response.c
  35. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c ident.c
  36. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c data.c
  37. data.c: In function `pr_data_open':
  38. data.c:510: warning: implicit declaration of function `siginterrupt'
  39. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c modules.c
  40. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c auth.c
  41. auth.c: In function `auth_getpwuid':
  42. auth.c:244: warning: cast to pointer from integer of different size
  43. auth.c: In function `auth_getgrgid':
  44. auth.c:311: warning: cast to pointer from integer of different size
  45. auth.c: In function `auth_uid_name':
  46. auth.c:386: warning: cast to pointer from integer of different size
  47. auth.c: In function `auth_gid_name':
  48. auth.c:411: warning: cast to pointer from integer of different size
  49. auth.c: In function `auth_name_uid':
  50. auth.c:437: warning: cast from pointer to integer of different size
  51. auth.c: In function `auth_name_gid':
  52. auth.c:458: warning: cast from pointer to integer of different size
  53. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c fsio.c
  54. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c mkhome.c
  55. make[1]: Leaving directory `/tmp/proftpd-1.2.8/src'
  56. cd modules/ && make modules
  57. make[1]: Entering directory `/tmp/proftpd-1.2.8/modules'
  58. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c mod_core.c
  59. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c mod_xfer.c
  60. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c mod_auth_unix.c
  61. mod_auth_unix.c: In function `pw_setpwent':
  62. mod_auth_unix.c:305: warning: implicit declaration of function `setpassent'
  63. mod_auth_unix.c: In function `pw_getpwuid':
  64. mod_auth_unix.c:374: warning: cast from pointer to integer of different size
  65. mod_auth_unix.c: In function `pw_getgrgid':
  66. mod_auth_unix.c:425: warning: cast from pointer to integer of different size
  67. mod_auth_unix.c: In function `pw_check':
  68. mod_auth_unix.c:688: warning: implicit declaration of function `crypt'
  69. mod_auth_unix.c:688: warning: passing arg 1 of `strcmp' makes pointer from integ
  70. er without a cast
  71. mod_auth_unix.c: In function `pw_uid_name':
  72. mod_auth_unix.c:704: warning: cast from pointer to integer of different size
  73. mod_auth_unix.c: In function `pw_gid_name':
  74. mod_auth_unix.c:734: warning: cast from pointer to integer of different size
  75. mod_auth_unix.c: In function `pw_name_gid':
  76. mod_auth_unix.c:793: warning: cast to pointer from integer of different size
  77. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c mod_auth_file.c
  78. mod_auth_file.c: In function `authfile_getpwuid':
  79. mod_auth_file.c:624: warning: cast from pointer to integer of different size
  80. mod_auth_file.c: In function `authfile_uid2name':
  81. mod_auth_file.c:678: warning: cast from pointer to integer of different size
  82. mod_auth_file.c: In function `authfile_getgrgid':
  83. mod_auth_file.c:711: warning: cast from pointer to integer of different size
  84. mod_auth_file.c: In function `authfile_gid2name':
  85. mod_auth_file.c:823: warning: cast from pointer to integer of different size
  86. mod_auth_file.c: In function `authfile_name2gid':
  87. mod_auth_file.c:840: warning: cast to pointer from integer of different size
  88. mod_auth_file.c: In function `authfile_chkpass':
  89. mod_auth_file.c:896: warning: implicit declaration of function `crypt'
  90. mod_auth_file.c:896: warning: passing arg 1 of `strcmp' makes pointer from integ
  91. er without a cast
  92. gcc  -DCYGWIN  -I.. -I../include  -O2 -Wall -c mod_auth.c
  93. In file included from ../include/conf.h:325,
  94.                  from mod_auth.c:37:
  95. ../include/proftpd.h:47: conflicting types for `LPARAM'
  96. /usr/include/w32api/windef.h:249: previous declaration of `LPARAM'
  97. ../include/proftpd.h:60: warning: redefinition of `UCHAR'
  98. /usr/include/w32api/winnt.h:53: warning: `UCHAR' previously declared here
  99. ../include/proftpd.h:61: warning: redefinition of `UINT'
  100. /usr/include/w32api/windef.h:244: warning: `UINT' previously declared here
  101. ../include/proftpd.h:62: warning: redefinition of `ULONG'
  102. /usr/include/w32api/winnt.h:55: warning: `ULONG' previously declared here
  103. In file included from ../include/conf.h:330,
  104.                  from mod_auth.c:37:
  105. ../include/modules.h:78:1: warning: "ERROR" redefined
  106. In file included from /usr/include/w32api/windows.h:52,
  107.                  from mod_auth.c:33:
  108. /usr/include/w32api/wingdi.h:303:1: warning: this is the location of the previou
  109. s definition
  110. mod_auth.c: In function `auth_user':
  111. mod_auth.c:1701: warning: implicit declaration of function `cygwin_logon_user'
  112. mod_auth.c:1701: request for member `pw_passwd' in something not a structure or
  113. union
  114. mod_auth.c:1701: warning: assignment makes pointer from integer without a cast
  115. mod_auth.c:1702: label `auth_failure' used but not defined
  116. make[1]: *** [mod_auth.o] Error 1
  117. make[1]: Leaving directory `/tmp/proftpd-1.2.8/modules'
  118. make: *** [modules] Error 2


 
 g oublié quoi?
g installe cygwin avec Gcc+apache+la base

Reply

Marsh Posté le 19-05-2003 à 22:29:29   

Reply

Marsh Posté le 20-05-2003 à 08:43:54    

pure-ftpd se compile bien sous Cygwin :)

Reply

Marsh Posté le 20-05-2003 à 10:14:47    

axey a écrit :

pure-ftpd se compile bien sous Cygwin :)
 


c dommage j'aurais bien voulu voir ce que ca donnait sous cygwin  
je vais essayer pure ftp  Merci  :hello:

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed