You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by fr...@converteam.com on 2008/01/03 17:22:39 UTC

MinGW / BinHTTPURLImputStream.cpp missing LPFN_WSASTARTUP

Hello all !

I am not able to compile Xerces using MinGW.

I followed the instructions on the site.
I also tried different suggestions I found in this mailing list.
In all the cases, the system is missing LPFN_WSASTARTUP, LPFN_WSACLEANUP,
... for the file BinHTTPURLImputStream.cpp

Does someone know what might have gone wrong ?


Thanks in advance for your support,

François Vandewalle


Here is the make output:

   ---(everything before worked fine)---
    (C++) BinHTTPURLInputStream.o
   BinHTTPURLInputStream.cpp:77: error: syntax error before `=' token
   BinHTTPURLInputStream.cpp:78: error: syntax error before `=' token
   BinHTTPURLInputStream.cpp:79: error: syntax error before `=' token
   BinHTTPURLInputStream.cpp:80: error: syntax error before `=' token
   BinHTTPURLInputStream.cpp:81: error: syntax error before `=' token
   BinHTTPURLInputStream.cpp:82: error: syntax error before `=' token
   BinHTTPURLInputStream.cpp:83: error: syntax error before `=' token
   BinHTTPURLInputStream.cpp:84: error: syntax error before `=' token
   BinHTTPURLInputStream.cpp:85: error: syntax error before `=' token
   BinHTTPURLInputStream.cpp:86: error: syntax error before `=' token
   BinHTTPURLInputStream.cpp:87: error: syntax error before `=' token
   BinHTTPURLInputStream.cpp: In static member function `static void

   xercesc_2_8::BinHTTPURLInputStream::Initialize(xercesc_2_8::MemoryManager*)
      ':
   BinHTTPURLInputStream.cpp:99: error: `LPFN_WSASTARTUP' undeclared (first
   use
      this function)
   BinHTTPURLInputStream.cpp:99: error: (Each undeclared identifier is
   reported
      only once for each function it appears in.)
   BinHTTPURLInputStream.cpp:99: error: syntax error before `=' token
   BinHTTPURLInputStream.cpp:106: error: `startup' undeclared (first use
   this
      function)
   BinHTTPURLInputStream.cpp:106: error: syntax error before `(' token
   BinHTTPURLInputStream.cpp:107: error: `gWSACleanup' undeclared (first
   use this
      function)
   BinHTTPURLInputStream.cpp:107: error: `LPFN_WSACLEANUP' undeclared
   (first use
      this function)
   BinHTTPURLInputStream.cpp:107: error: syntax error before `(' token
   BinHTTPURLInputStream.cpp:108: error: `gWSgethostbyname' undeclared
   (first use
      this function)
   BinHTTPURLInputStream.cpp:108: error: `LPFN_GETHOSTBYNAME' undeclared
   (first
      use this function)
   BinHTTPURLInputStream.cpp:108: error: syntax error before `(' token
   BinHTTPURLInputStream.cpp:109: error: `gWSinet_addr' undeclared (first
   use this
      function)
   BinHTTPURLInputStream.cpp:109: error: `LPFN_INET_ADDR' undeclared (first
   use
      this function)
   BinHTTPURLInputStream.cpp:109: error: syntax error before `(' token
   BinHTTPURLInputStream.cpp:110: error: `gWSgethostbyaddr' undeclared
   (first use
      this function)
   BinHTTPURLInputStream.cpp:110: error: `LPFN_GETHOSTBYADDR' undeclared
   (first
      use this function)
   BinHTTPURLInputStream.cpp:110: error: syntax error before `(' token
   BinHTTPURLInputStream.cpp:111: error: `gWShtons' undeclared (first use
   this
      function)
   BinHTTPURLInputStream.cpp:111: error: `LPFN_HTONS' undeclared (first use
   this
      function)
   BinHTTPURLInputStream.cpp:111: error: syntax error before `(' token
   BinHTTPURLInputStream.cpp:112: error: `gWSsocket' undeclared (first use
   this
      function)
   BinHTTPURLInputStream.cpp:112: error: `LPFN_SOCKET' undeclared (first
   use this
      function)
   BinHTTPURLInputStream.cpp:112: error: syntax error before `(' token
   BinHTTPURLInputStream.cpp:113: error: `gWSconnect' undeclared (first use
   this
      function)
   BinHTTPURLInputStream.cpp:113: error: `LPFN_CONNECT' undeclared (first
   use this
      function)
   BinHTTPURLInputStream.cpp:113: error: syntax error before `(' token
   BinHTTPURLInputStream.cpp:114: error: `gWSsend' undeclared (first use
   this
      function)
   BinHTTPURLInputStream.cpp:114: error: `LPFN_SEND' undeclared (first use
   this
      function)
   BinHTTPURLInputStream.cpp:114: error: syntax error before `(' token
   BinHTTPURLInputStream.cpp:115: error: `gWSrecv' undeclared (first use
   this
      function)
   BinHTTPURLInputStream.cpp:115: error: `LPFN_RECV' undeclared (first use
   this
      function)
   BinHTTPURLInputStream.cpp:115: error: syntax error before `(' token
   BinHTTPURLInputStream.cpp:116: error: `gWSshutdown' undeclared (first
   use this
      function)
   BinHTTPURLInputStream.cpp:116: error: `LPFN_SHUTDOWN' undeclared (first
   use
      this function)
   BinHTTPURLInputStream.cpp:116: error: syntax error before `(' token
   BinHTTPURLInputStream.cpp:117: error: `gWSclosesocket' undeclared (first
   use
      this function)
   BinHTTPURLInputStream.cpp:117: error: `LPFN_CLOSESOCKET' undeclared
   (first use
      this function)
   BinHTTPURLInputStream.cpp:117: error: syntax error before `(' token
   make[2]: *** [BinHTTPURLInputStream.o] Error 1
   make[1]: *** [netaccessors] Error 2
   make: *** [Util] Error 2