Mail Archives: cygwin/2004/04/21/00:42:44
Hi,
I installed cygwin_nt-5.0 , gcc version 3.3.1, and also installed win32api & mingw lib on win2000 env.
I met the complier error cause some function or type re-defined in another header file.
I can't get the proper answer from FAQ, please kindly tell me how to solve the compatible issue.
Error message as below:
----------------------------------------------------------------
/usr/include/w32api/winsock2.h:95:2: warning: #warning "fd_set and associated ma
cros have been defined in sys/types. This may cause runtime problems with W32 sockets"
../../src/jar_support.c: In function `ensure_tmpdir_exists':
../../src/jar_support.c:138: error: too few arguments to function `mkdir'
../../src/jar_support.c: In function `ReadFromZip':
../../src/jar_support.c:775: warning: implicit declaration of function `write'
---------------------------------------------------------------
I found mkdir function defined in /usr/include/sys/stat.h"int _EXEFUN( mkdir,(const, mode_t));" & in /usr/include/mingw/io.h "int mkdir(const);" was defined.
Please kindly tell me how to solve the compatible issue.
Best Regards
Chris
===========================================================================================The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original author of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such person, please kindly reply the sender indicating accordingly and delete all copies of it from your computer and network server immediately. We thank you for your cooperation. It is advisable that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email that does not relate to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.===========================================================================================If your computer is unable to decode Chinese font, please ignore the following message. They essentially repeat the English statement above.¥»«H¥ó¤º©Ò§tµØ¨¹¹q¤lªº°]²£©Ê¾÷±K©Ê¸ê°T, ¶È±ÂÅvìµo«H¤H«ü©w¤§¦¬«H¤H¨ú¾\¤§¥Î. °²¨Ï±z¨Ã«D³Q«ü©w¤§¦¬«H¤H©Î¦]¥ô¦óì¦]¦b¥¼¸g±ÂÅvªº±¡§Î¤§¤U¦¬¨ì¥»«H¥ó, ½Ð±z§iª¾ìµo«H¤H¨Ã¥ß§Y±N«H¥ó±q¹q¸£»Pºô¸ô¦øªA¾¹¤¤¤©¥H®ø°£. ¹ï©ó±zªº¦X§@, §ÚÌ¥ý¦¹PÁÂ. ¯S¦¹´£¿ô, ¥ô¦ó¥¼¸g±ÂÅv¾Õ¦Û¨Ï¥ÎµØ¨¹¹q¤lªº¾÷±K¸ê°Tªº¦æ¬°¬O³QÄY®æ¸T¤îªº. «H¥ó»PµØ¨¹¹q¤lÀç·~µLÃö¤§¤º®e,¤£±oµø¬°µØ¨¹¹q¤l¤§¥ß³õ©Î·N¨£.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -